Blockly - Xiaomi motion sensors behave opposite to config

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
raeymeister
Posts: 5
Joined: Sunday 18 February 2018 20:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blockly - Xiaomi motion sensors behave opposite to config

Post by raeymeister »

Hi, I run raspberry pi 3 with domoticz 3.8923 (beta). Behaviour is same on stable release (2017/09/20).

Domoticz is linked to the Xiaomi gateway. Xiaomi Human body motion sensors are recognised as well.
Alerts are seen in domoticz log when motion detected:

2018-02-18 20:10:23.957 {"cmd":"report","model":"motion","sid":"158d0881bb5169","short_id":38887,"data":"{\"status\":\"motion\"}"}

for an event in blockly to work, I have to indicate if "xiaomisensor" doesnotequal "Motion"
Then the event works (see attached screenshot). I don't understand why i can't use the = , this is completely opposite behaviour as what I expected.

It is not blocking for me, but maybe you have a similar experience.

Thanks for your advice.
Attachments
xiaomi_motion_event_blockly.png
xiaomi_motion_event_blockly.png (11.39 KiB) Viewed 489 times
Sway06
Posts: 12
Joined: Thursday 09 August 2018 5:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Sweden
Contact:

Re: Blockly - Xiaomi motion sensors behave opposite to config

Post by Sway06 »

raeymeister wrote: Sunday 18 February 2018 20:21 Hi, I run raspberry pi 3 with domoticz 3.8923 (beta). Behaviour is same on stable release (2017/09/20).

Domoticz is linked to the Xiaomi gateway. Xiaomi Human body motion sensors are recognised as well.
Alerts are seen in domoticz log when motion detected:

2018-02-18 20:10:23.957 {"cmd":"report","model":"motion","sid":"158d0881bb5169","short_id":38887,"data":"{\"status\":\"motion\"}"}

for an event in blockly to work, I have to indicate if "xiaomisensor" doesnotequal "Motion"
Then the event works (see attached screenshot). I don't understand why i can't use the = , this is completely opposite behaviour as what I expected.

It is not blocking for me, but maybe you have a similar experience.

Thanks for your advice.
Hi! I am having exactly the same issue where equals to doesn't work but not equals to does.
Any suggestion?

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest