fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Motion sensors not working in HA #458

Open drlauridsen opened 2 years ago

drlauridsen commented 2 years ago

Describe the bug Camera Motion sensors do not work in HA, but works fine in Reolink app. Cam thumbnail is generated correctly in HA, and all entities including sensors are added correctly in integration, but all motion sensors continuously report "(motion) not registered".

Have tried redownloading integration, deleting cameras and reinstalled, updated cameras to latest fw, nothing solves it.

Environment: Please provide useful information about your environment, like:

Additional context Problem has existed some time now, hoped that either HA, integration or camera updates would solve it. Just changed from python venv to docker install today, but same issue. Two errors in log reoccurring frequently: `Denne fejl stammer fra en brugerdefineret integration.

Logger: custom_components.reolink_dev.base Source: custom_components/reolink_dev/base.py:390 Integration: Reolink IP camera (documentation, issues) First occurred: 20.01.08 (33 occurrences) Last logged: 20.33.09

Host x.x.x.x error renewing the Reolink subscription`

and

`Denne fejl stammer fra en brugerdefineret integration.

Logger: custom_components.reolink_dev.base Source: custom_components/reolink_dev/base.py:362 Integration: Reolink IP camera (documentation, issues) First occurred: 20.01.08 (2 occurrences) Last logged: 20.33.09

Host x.x.x.x subscription failed to its webhook, base object state will be set to NotAvailable`

I assume the missing motion sensor activation in HA is related to the errors.. Any advice to the cause of the errors?

cpainchaud commented 2 years ago

Hi,

Please upgrade to latest version and follow this doc:

https://github.com/fwestenberg/reolink_dev/blob/master/TSHOOT.md , chapter: Motion sensors remains unavailable or never trigger or lags/misses events