mirror of https://github.com/arendst/Tasmota.git
Updated Scripting Language (markdown)
parent
c82b1120b6
commit
c41fe9badf
|
@ -139,6 +139,16 @@ The lines in this section are published via MQTT in a JSON payload on [TelePerio
|
|||
>`>M`
|
||||
[Smart Meter Interface](smart-meter-interface)
|
||||
|
||||
>`>H`
|
||||
Alexa Hue interface (up to 32 virtual hue devices)
|
||||
example:
|
||||
lamp1,E,on=pwr1,hue=hue1,sat=sat1,bri=bri1,ct=ct1
|
||||
|
||||
>1. Name of device
|
||||
>2. type of device, E=extended color, S=switch
|
||||
>3. on=var1 assigns the Hue "on" variable to a scripter var (hue,sat,bri,ct) may be assigned also comma separated (for extended color)
|
||||
remark on hue: hue has a range from 0-65535, simply divide it by 182 to assign it to HSBcolors hue.
|
||||
|
||||
If a variable does not exist, `???` is displayed for commands
|
||||
|
||||
If a Tasmota `SENSOR` or `STATUS` or `RESULT` message is not generated or a `Var` does not exist the destination variable is NOT updated.
|
||||
|
|
Loading…
Reference in New Issue