Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled motion sensors triggers anyway? #273

Closed
seydx opened this issue Jan 23, 2018 · 4 comments
Closed

Disabled motion sensors triggers anyway? #273

seydx opened this issue Jan 23, 2018 · 4 comments
Labels

Comments

@seydx
Copy link

seydx commented Jan 23, 2018

Issue

Hey everyone,

i am using the aqara motion sensor with deconz and hue plugin. It works very well.
Now, i created new automation with my camera running with homebridge-camera-ffmpeg.

The camera captures a snapshot und upload it to google drive if the aqara motion sensors detects a motion.

My problem is, i want to activate the sensor ONLY if i am not at home, i tried already with disabling the motion sensor but it triggers anyway. What i am doing wrong?

Log Messages

Sensor:

{
-"config": {
"duration": 15,
"on": false,
"reachable": true
},
"ep": 1,
"etag": "7d68302d92b7ea5bd59bc017ba897357",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_motion.aq2",
"name": "Presence 2",
-"state": {
"lastupdated": "2018-01-23T00:11:42",
"presence": false
},
"type": "ZHAPresence",
"uniqueid": "00:15:8d:00:01:e1:61:e3-01-0406"
}
@ebaauw
Copy link
Owner

ebaauw commented Jan 23, 2018

This is an issue with deCONZ, see dresden-elektronik/deconz-rest-plugin#90.

@seydx
Copy link
Author

seydx commented Jan 23, 2018

oh okay thanks for the info, is there maybe any workaround for the problem ? :/

@ebaauw
Copy link
Owner

ebaauw commented Jan 23, 2018

There’s two:

  1. As @manup indicated you could temporarily disable the rules. homebridge-hue can expose them to HomeKit, so you can enable/disable gateway rules from a HomeKit scene. You need to create these HomeKit scenes in Eve, because Apple’s Home app doesn’t support custom attributes. Also you might want to whitelist the motion sensor rules instead of exposing all gateway rules.
  2. Use a CLIP sensor as virtual switch to enable the motion sensor and change you gateway rules to check for the CLIP sensor’s state in addition to the ZHAPresence state. This is actually what I do at home.

@seydx
Copy link
Author

seydx commented Jan 26, 2018

So i finally got it ^^ thanks for all :)

@seydx seydx closed this as completed Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants