Dzień dobry,
Mam podłączone 2 czujniki PIR1 i PIR2 w Tasmota 9.3.1(sensors)
jak wykonuję komendy:
rule1 on switch1#state do publish stat/%topic%/PIR1 %value% endon SwitchMode1 1 rule1 1 rule2 on switch2#state do publish stat/%topic%/PIR2 %value% endon SwitchMode2 1 rule2 1 rule3 on system#boot do publish homeassistant/binary_sensor/%deviceid%_motion/config {"name":"PIR1","state_topic":"stat/%topic%/PIR1","payload_on":1,"availability_topic":"tele/%topic%/LWT","payload_available":"Online","payload_not_available":"Offline","device_class":"motion","force_update":true,"off_delay":30,"unique_id":"%deviceid%_motion","device":{"identifiers":["%deviceid%"]}} endon rule3 1
to tego momentu jest ok, ale wykonując rule4
rule4 on system#boot do publish homeassistant/binary_sensor/%deviceid%_motion/config {"name":"PIR2","state_topic":"stat/%topic%/PIR2","payload_on":1,"availability_topic":"tele/%topic%/LWT","payload_available":"Online","payload_not_available":"Offline","device_class":"motion","force_update":true,"off_delay":30,"unique_id":"%deviceid%_motion","device":{"identifiers":["%deviceid%"]}} endon
dostaję błąd:
20:51:49.641 MQT: stat/szafa_7992DC/RESULT = {"Command":"Error"}
każda rule4 i kolejna wyświetla taki komunikat
W czym może być problem?
ESP Chip Id | 7967452 |
---|---|
Flash Chip Id | 0x164068 |
Flash Size | 4096 kB |
Program Flash Size | 1024 kB |
Program Size | 645 kB |
Free Program Space | 356 kB |
Free Memory | 21.7 kB |
@rostman w tasmota można utworzyć tylko trzy reguły , bez analizy trzeciej i czwartej napiszę że pierwsze dwie można zrobić jako jedną bez najmniejszego problemu
PS
Po analizie napiszę że wszystko można zamknąć w dwóch regułach
Dzięki za info 🙂
There are three separate rule sets called Rule1
, Rule2
and Rule3
. Each rule set can contain many rules.