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

Motion Sensor not updating in Homekit #28

Closed
CerberusVelvet opened this issue May 18, 2018 · 5 comments
Closed

Motion Sensor not updating in Homekit #28

CerberusVelvet opened this issue May 18, 2018 · 5 comments

Comments

@CerberusVelvet
Copy link

I have created a motion sensor. Using curl, I set it status to 'true'. I can see that it changes in the homebridge. But the status does not update in the homekit app. If I exit the app and reload, status updates to show 'true'. If I then set it to 'false' it again changes in homebridge but not homekit. Again a restart of the homekit app will update the status of the sensor correctly.

@benzman81
Copy link
Owner

Could you please post the logfile and your config? Make sure to anonymize your data.

@CerberusVelvet
Copy link
Author

Config -
"platforms": [
{
"platform": "HttpWebHooks",
"webhook_port": "51828",
"cache_directory": "./.node-persist/storage",
"sensors": [
{
"id": "DrivewayMotion",
"name": "Webcam Motion Detect",
"type": "motion"
}
]
},

@CerberusVelvet
Copy link
Author

There is nothing at all in the syslog. Last from webhooks is:
[2018-5-18 21:07:29] [HttpWebHooks] Getting current state for 'DrivewayMotion'...

@CerberusVelvet
Copy link
Author

ok... well... I just tested it again. Same way as I tested last time. Sending http://:51828/?accessoryId=DrivewayMotion&state=false

and now it works. The homekit app updates straight away, no restart needed!

I have no explanation for this!

@benzman81
Copy link
Owner

no problem, thanks for feedback as I couldn't explain this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants