Xiaomi Motion Sensors and Blockly... activating the lights does not work
Posted: Saturday 29 July 2017 14:19
Hi guys,
I'm trying to set up some Xiaomi "Human Body" Sensors. They register movement just fine in Domoticz but with a 2 second delay.
I've created a blockly script to start up some of my lights when movement is detected. The grouped lights work fine when I switch them on myself in Domoticz.
When using the motion sensor with Blockly, nothing happens:

I also tried:

Both scripts do not work as expected.. Should I use a different selector than "on" or "motion"?
I'm hoping someone can maybe give some suggestions on how to make this work..
Thanks
I'm trying to set up some Xiaomi "Human Body" Sensors. They register movement just fine in Domoticz but with a 2 second delay.
I've created a blockly script to start up some of my lights when movement is detected. The grouped lights work fine when I switch them on myself in Domoticz.
When using the motion sensor with Blockly, nothing happens:

I also tried:

Both scripts do not work as expected.. Should I use a different selector than "on" or "motion"?
I'm hoping someone can maybe give some suggestions on how to make this work..
Thanks
