Metainformationen zur Seite
Silvercrest Lichterkette
Config:
Template:
Konstante 1 bei der RGB Lichtszene ist nur für die Darstellung der Simulation
Doku: Lichterkette
Controls the 16 build-in effects of the LED string. An effect expects 3 parameters: speed
, colors
and effect
. To trigger an effect send a message to zigbee2mqtt/FRIENDLY_NAME/set
with payload {"effect": {"effect": EFFECT, "speed": SPEED, "colors": COLORS}}
. Description:
-
SPEED
should be a number between 1 and 100. -
COLORS
is an array of JSON objects containingr
,g
,b
. Note: some effects support multiple colors EFFECT
is a string, below is a list of possible values and the amount of colors it supports| effect | # colors | |------------------------|-----------------| | steady | 1 | | snow | 1 | | rainbow | 0 | | snake | 6 | | twinkle | 2 | | firework | 2 | | horizontal_flag | 3 | | waves | 3 | | updown | 2 | | vintage | 1 | | fading | 1 | | collide | 1 | | strobe | 5 | | sparkles | 3 | | carnaval | 6 | | glow | 6 |
Example message payload #
{ "effect": { "effect": "snake", "speed": 100, "colors": [ { "r": 255, "g": 0, "b": 0 }, { "r": 0, "g": 255, "b": 0 }, { "r": 0, "g": 0, "b": 255 } ] } }