boas…
o modulo está configurado em generic 18.
as rules sao:
17:23:28 CMD: rule1
17:23:28 MQT: stat/alarme/RESULT = {"Rule1":"ON","Once":"OFF","StopOnError":"OFF","Free":401,"Rules":"on switch1#state=1 do publish stat/alarm/PIR1 ON endon on switch1#state=0 do publish stat/alarm/PIR1 OFF endon"}
17:23:35 CMD: rule2
17:23:35 MQT: stat/alarme/RESULT = {"Rule2":"ON","Once":"OFF","StopOnError":"OFF","Free":401,"Rules":"on switch2#state=1 do publish stat/alarm/PIR2 ON endon on switch2#state=0 do publish stat/alarm/PIR2 OFF endon"}
17:23:39 CMD: rule3
17:23:39 MQT: stat/alarme/RESULT = {"Rule3":"ON","Once":"OFF","StopOnError":"OFF","Free":401,"Rules":"on switch3#state=1 do publish stat/alarm/PIR3 ON endon on switch3#state=0 do publish stat/alarm/PIR3 OFF endon"}
17:24:51 CMD: status
17:24:51 MQT: stat/alarme/STATUS = {"Status":{"Module":18,"FriendlyName":["Tasmota"],"Topic":"alarme","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[1,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}}