-
Notifications
You must be signed in to change notification settings - Fork 373
Description
I have a Sonoff Cam PT2 camera, which works with both RTSP and ONVIF.
I use Home Assistant and opted for the RTSP protocol because I only wanted a simple replication of the stream.
Before installing the WebRTC add-on, I had an error that occurred every 5 minutes when the camera was turned off. It seems to be related to a check event to see if the camera (stream) is available or not.
With the WebRTC add-on, this error now occurs every 1 minute. That is, it occurs 1440 times a day.
Wouldn't it be possible to report this situation as a simple "warning"? Or better yet, create an attribute in the integration so that we can report the camera being turned off, and in this way, the integration would stop trying to connect? This would allow us to create more efficient automations, since not all cameras need to be on 24/7.
The message:
Registrador: homeassistant.components.stream.stream.camera.camera_sonoffpt2_sala
Fonte: components/stream/init.py:491
integração: Stream (documentação, problemas)
Ocorreu pela primeira vez: 15:15:18 (18 ocorrências )
Último registro: 15:41:45
Error from stream worker: Error demuxing stream (ERRORTYPE_110, Operation timed out, rtsp://:@192.168.0.110:554/av_stream/ch0)
Error from stream worker: Error opening stream (ERRORTYPE_110, Operation timed out, rtsp://:@192.168.0.110:554/av_stream/ch0)
Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable, rtsp://:@192.168.0.110:554/av_stream/ch0)
Thank you for your attention.