Ledstate 1: 指示灯作为电源指示。PowerOnState 0: 开关通电时断开。PowerOnState 1: 开关通电时闭合...
Ledstate 1: 指示灯作为电源指示。 PowerOnState 0: 开关通电时断开。 PowerOnState 1: 开关通电时闭合。 PowerOnState 2: 开关通电时状态与断电前相反。 PowerOnState 3: 开关通电时保持断电前状态。 PowerRetain 0(默认): 不启用MQTT电源状态保持。 PowerRetain 1: 启用MQTT电源状态保持。 注意:当不启用状态...
使用PowerOnState参数控制,控制台中输入PowerOnState 1,之后模块重新上电时就会接通继电器。其他参数值 ...
STATUS 0 output here: {"Status":{"Module":0,"DeviceName":"SmartPool","FriendlyName":["SmartPool"],"Topic":"SmartPool","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0...
13:12:16 MQT: PintuGerbang/stat/STATUS = {"Status":{"Module":18,"FriendlyName":["Pintu Gerbang","Sonoff2","Sonoff3","Sonoff4"],"Topic":"PintuGerbang","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0...
mqttname:"light1"state_topic:"stat/S1/POWER"command_topic:"cmnd/S1/POWER"qos:1payload_on:"ON...
Rule2 ON System#boot DO Publish2 homeassistant/binary_sensor/%macaddr%_pir/config {"name":"Master Bedroom PIR","state_topic":"stat/%topic%/POWER","device_class":"motion","force_update":true,"off_delay":30,"availability_topic":"tele/%topic%/LWT","payload_available":"Online","payload...
Fix iFan02 power on state (#3412, #3530) Fix some Pow R2 and S31 checksum errors using optimized re-sync (#3425) Fix SDM120 reporting wrong negative values to Domoticz (#3521) Fix MQTT reconnection detection when using TasmotaMqtt library (#3558) Fix OtaMagic when file path contains a ...
cmnd,表示执行一个命令,这样可以远程控制一个 tasmota 设备,比如一个 switch 通过 cmnd/%topic%/POWER 命令加上 payload(如 toggle)就可以实现开关 stat 往往是表示执行命令的返回信息,我们这里实际上模拟了一个响应事件(检测到运动)的回应 tele 表示的是一定周期(可以用 TelePeriod 获得或者设置)读取状态返回的信息...
Hi Guys, in tasmota I wanted to get event switch state and then run a command but i couldn’t do that in rule, what am i missing? Rule1 on power1#state=1 do event chkswitch=%sw[1]% endon on event#chkswitch=1 do power1 0 endon ...