Version 5.2.0
New Features
- Uses Webhooks for motion detection. This is a lot more efficient and faster way to get events. Check FAQ if you are encountering issues with motion sensor being stuck in Detected state, you probably need to set your internal HA IP properly.
- Now can expose more than 1 motion sensor. It exposes everything that camera sends. It now also uses name provided by camera.
Fixes
- Fix #332: Motion detection stops getting events after a long period of time
- Fix #312: ONVIF Motion Events / Binary sensor not appearing on recent firmwares
Breaking Changes
- Motion sensors now use name provided by camera. Because of this, your entity id might change. If you see an unavailable sensor after updating, you can safely remove it (do not disable!). Sensor will be recreated on first motion. You can change entity_id back to what you used to have.
Notes
Thank you @bdraco for implementing all the required changes in onvif and helping me debug the issue on affected cameras.