-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
Axis integration, motion sensors randomly stops reporting #56129
Comments
axis documentation |
Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration ( |
Can you enable debug logging for axis integration per integration documentation and share logs from startup to when the connection drops? |
Sorry, if i'm doing something wrong. This is my 1st time. |
Your log show there are still events reported Motion detected Motion detection timer ended you can see by the value: 1 or 0 what is reported |
Also something happened with the connection at 21:38 2021-09-12 21:38:27 DEBUG (MainThread) [axis.rtsp] Received data ['RTSP/1.0 454 Session Not Found', 'CSeq: 4', 'Server: GStreamer RTSP server', 'Date: Sun, 12 Sep 2021 18:38:26 GMT', ''] from 192.168.1.220 Do you observe the "454 Session Not Found" message at other times when sensors stop reporting? Are messages such as [axis.rtsp] OPTIONS rtsp://192.168.1.220 repeatng after the 21:12 timestamp? |
Sorry, i edited this log by hand, may be missed something. Here is the full new log with axis lines. On the same time, it's working fine on second HA. |
Thanks! I guess its related to this Kane610/axis#18 the M7011 is also running 6.50 so I guess its a 6.50 firmware issue. IIRC there has only been two reports of this issue, I don't know if its related to system clock drifting between the camera and hass. You could double check that you're router is handing out proper NTP addresses. Regardless I will need to look into properly manage this 454 session not found error I can't promise when I will get to it though |
In Kane610/axis#18 i see "HA would never contact the camera again no matter how many times I restarted HA or the camera." On the same time, my second test HA works fine(connected to the same axis camera). I did not restart it for month. No problems with axis intergration and same axis camera. |
@klim123123 as I can't promise when exactly I would fix this I suggest you report this issue to Axis customer support to attack this issue from two sides. Even though I will add support to handle the 454 error the error shouldn't happen in the devices in the first place. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I have added AXIS M7011 camera with 3x motion sensors using AXIS integration.
Randomly 1-12h, all 3x motion sensors stopping reporting any motion. On the same time, camera stream works fine.
If i make Reload of integration, motion sensors works again for 1-12 hours.
Later i installed second test HA on another machine and connected AXIS M7011. Motion sensors works for weeks without any problems (same camera).
Please help, how to debug this?
What is version of Home Assistant Core has the issue?
core-2021.9.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Axis
Link to integration documentation on our website
https://www.home-assistant.io/integrations/axis
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: