Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update README.md with a new service description - set_random_effect.
  • Loading branch information
anatolyk82 authored Nov 26, 2021
1 parent 1742ffe commit 05819fc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ data:
```


### Service pixie.set_random_effect

This service runs a random animation effect on the LED strip.

|Service data attribute | Optional | Description |
|--------------------------|-----------|------------------------------------|
| **entity_id** | No | Entity Id of a pixie device. |
| **parameter1** | Yes | The parameter1 defines a speed of the effect. If the value is not specified a random number is generated between 0 and 255. |
| **parameter2** | Yes | The parameter2 defines an intensity of the effect. If the value is not specified a random number is generated between 0 and 255. |
| **color** | Yes | A list containing three integers between 0 and 255 representing the RGB (red, green, blue) color for the effect. If the color is not specified a random color is generated instead. |
| **brightness** | Yes | The brightness value to set (1..255). |


### Service pixie.set_picture

This service runs a static effect on the LED strip.
Expand Down

0 comments on commit 05819fc

Please sign in to comment.