{"ZbReceived":{"0xE588":{"0005!07":"01010D00","ArrowClick":1,"Endpoint":1,"Group":58076,"LinkQuality":34}}}
{"ZbReceived":{"0xE588":{"0005!07":"00010D00","ArrowClick":0,"Endpoint":1,"Group":58076,"LinkQuality":57}}}
I'm not sure why you are using break anyway. Those rules don't need it - break stops processing of following rules but these are mutually exclusive anyway.
Try it with Endon instead of break and see what happens.
You don't need Endon if you've used break.so that’s a red herring.
However you’re missing an ‘=’ sign in the rule
I THINK it should be
ON ZbReceived#0x030E=0006!00 DO publish %topic%/ikeaonoff {"click":"off"} Endon
Regards
Phil K
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Reimer Prochnow <heim...@gmail.com>
Sent: Thursday, June 11, 2020 9:24:48 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Rule Trigger for a Zigbee (JSON Message)
Hi Stephan,
I tried ENDON, but it is still not working.
BTW I used BREAK in a similar context for the simpler IKEA On/Off switch. The rules are working there, because there is a simlpler JSON Structure: All Buttons have distinct JSON Keys which are empty and therefor no need to be inspected
Button ON: {"ZbReceived":{"0x030E":{"0006!01":"","Power":1,"Endpoint":1,"LinkQuality":63}}}
Button OFF: {"ZbReceived":{"0x030E":{"0006!00":"","Power":0,"Endpoint":1,"LinkQuality":26}}}
This is working: (from the Documentation -- but with BREAK)
Rule1
ON ZbReceived#0x030E#0006!00 DO publish %topic%/ikeaonoff {"click":"off"} BREAK
ON ZbReceived#0x030E#0006!01 DO publish %topic%/ikeaonoff {"click":"on"} BREAK
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/c0cddfea-5c18-4b8b-9c6f-8117399abfbbo%40googlegroups.com.
However you’re missing an ‘=’ sign in the rule
I THINK it should be
ON ZbReceived#0x030E=0006!00 DO publish %topic%/ikeaonoff {"click":"off"} Endon