Xiaomi Motion Sensors and Blockly... activating the lights does not work

Moderator: leecollings

Post Reply
martijnm
Posts: 26
Joined: Thursday 04 February 2016 13:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.530
Location: Emmen, Drenthe
Contact:

Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by martijnm »

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:
Image

I also tried:
Image

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 :)
jjnj

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by jjnj »

Set group should be on instead of active I believe
martijnm
Posts: 26
Joined: Thursday 04 February 2016 13:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.530
Location: Emmen, Drenthe
Contact:

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by martijnm »

Sorry never mind. I feel stupid.... Fixed this by setting group to On instead of Active.
Schorschi
Posts: 25
Joined: Thursday 30 November 2017 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by Schorschi »

Hello,

i also try to implement an motion sensor. I use an aquara motion sensor.
But this sensor is not listed inside the device list.

Maybe only the stock xiaomi motion sensor is suported by domoticz??
Any one with more informations?

thx.
Andree
Posts: 74
Joined: Wednesday 07 June 2017 11:19
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by Andree »

Schorschi wrote:Hello,

i also try to implement an motion sensor. I use an aquara motion sensor.
But this sensor is not listed inside the device list.

Maybe only the stock xiaomi motion sensor is suported by domoticz??
Any one with more informations?

thx.
Yes but do you have a Xiaomi Gateway.
All the Xiaomi sensor need the gateway.
Schorschi
Posts: 25
Joined: Thursday 30 November 2017 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by Schorschi »

Hi,

yes i have. Now i tested current beta version which support the aquara motion sensor.
compile
Posts: 2
Joined: Wednesday 10 January 2018 10:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Xiaomi Motion Sensors and Blockly... activating the lights does not work

Post by compile »

I have version v3.8796 but I don't get any switches. I added the motion sensor but it only appears as a utlity.
In Blockly I can't add it from switches.

Any idea?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest