question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ONVIF (motion) events not working

See original GitHub issue

The problem

ONVIF integration does not receive events from my onvif camera.

Environment

  • Home Assistant Core release with the issue: 0.112.2
  • Last working Home Assistant Core release (if known): n/a
  • Operating environment (OS/Container/Supervised/Core): Container
  • Integration causing this issue: ONVIF
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/onvif

Problem-relevant configuration.yaml


Traceback/Error logs


Additional information

Onvif manager is receiving motion detection and alarm events from my camera but binary sensors created in home assistant do not change state. In debug logging I also see no trace of the events:

2020-07-06 07:57:46 INFO (MainThread) [homeassistant.setup] Setup of domain onvif took 0.2 seconds.
2020-07-06 07:57:51 DEBUG (MainThread) [homeassistant.components.onvif] Setting up the ONVIF device management service
2020-07-06 07:57:51 DEBUG (MainThread) [homeassistant.components.onvif] Retrieving current device date/time
2020-07-06 07:57:51 DEBUG (MainThread) [homeassistant.components.onvif] Setting up the ONVIF device management service
2020-07-06 07:57:51 DEBUG (MainThread) [homeassistant.components.onvif] Retrieving current device date/time
2020-07-06 07:57:52 DEBUG (MainThread) [homeassistant.components.onvif] Device date/time: 2020-07-06 05:57:52+00:00 | System date/time: 2020-07-06 05:57:51.328419+00:00
2020-07-06 07:57:52 DEBUG (MainThread) [homeassistant.components.onvif] Device date/time: 2020-07-06 05:57:51+00:00 | System date/time: 2020-07-06 05:57:51.488747+00:00
2020-07-06 07:58:01 INFO (MainThread) [homeassistant.components.camera] Setting up camera.onvif
2020-07-06 07:58:01 INFO (MainThread) [homeassistant.components.camera] Setting up camera.onvif
2020-07-06 07:58:01 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.onvif
2020-07-06 07:58:01 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.onvif

image

image

reboot event is also not coming in.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:33 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
geisericommented, Dec 29, 2021

bump

1reaction
geisericommented, Sep 22, 2021

Still an issue with core-2021.9.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-Hikvision ONVIF Camera not triggering motion detection ...
Hello, I have some Hikvision cameras connected to my DS-7716NI-SP that work great and trigger motion events just fine, but I purchased ...
Read more >
ONVIF IP camera motion detection not working with SS - Reddit
r/synology - ONVIF IP camera motion detection not working with SS. Is there anything I can do to make Surveillance Station see these...
Read more >
Motion Detection & Notification Not Working – Reasons & How ...
How To Fix Motion Detection Not Working? · 1. Activate & Reconfigure Motion Detection · 2. Update Firmware · 3. Update Monitoring Software...
Read more >
Hikvision NVR and Onvif Motion detect - Use-IP
Under Event playback you can select the ONVIF camera and then search for the event you ... Hikvision NVR and Onvif Motion detect...
Read more >
Article : How to use ONVIF Event Triggering in Shinobi
How to enable ONVIF Events · 1. Open the Monitor Settings for the Camera. · 2. Scroll down to the Connection section. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found