Page 1 of 1
Simple event not working
Posted: Sunday 07 November 2021 9:34
by Sway06
Hi!
I created my first event and it is not working. I am using the Xiaomi gateway with motion sensors and 433 mhz switches via a RFXtrx433 transceiver.
Could you please have a look and let me know what I am doing wrong?
The idea is to have a light on for 5 minutes anytime there is motion in the room.

- Capture.JPG (57.49 KiB) Viewed 1000 times
Thanks in advance for helping out!
Re: Simple event not working
Posted: Tuesday 09 November 2021 8:55
by Dave21w
Try changing the detected state from motion to On
Re: Simple event not working
Posted: Tuesday 09 November 2021 18:38
by Sway06
Dave21w wrote: ↑Tuesday 09 November 2021 8:55
Try changing the detected state from motion to On
Hi Dave,
Thanks for your reply.
I just tried changing the state from Motion to On but it didn't work. Looks like Xiaomi sensors need to have "Motion" state to work in Domoticz.
Re: Simple event not working
Posted: Wednesday 10 November 2021 9:48
by Dave21w
Strange, I have the Aqara sensor with the built in Lux level sensor and that definitely uses "on" for it's detected state - this is my blockly.

- lux-motion.jpg (19.75 KiB) Viewed 918 times
Regards
Dave
Re: Simple event not working
Posted: Wednesday 10 November 2021 23:32
by besix
Nothing weird here. Time format. It must be in 5 minutes, not 00:05 because it's been 5 minutes past midnight
Re: Simple event not working
Posted: Thursday 11 November 2021 8:49
by Dave21w
Well spotted !
Re: Simple event not working
Posted: Thursday 11 November 2021 9:28
by solarboy
Just to add to the discussion, I have had blockly events turn themselves no a state of neither on or off before. I am not sure why it happens but I have not noticed right away. Something to always check before troubleshooting a non-functioning event.