Help me set up the camera, I can’t
camera:
- platform: ffmpeg
#input: -rtsp_transport tcp -i rtsp://192.168.0.107:554/onvif1
#input: -rtsp_transport tcp -i rtsp://192.168.0.107
input: rtsp://192.168.0.107:554/onvif1
name: baby_monitor
ui-lovelace
- type: picture-entity
entity: camera.camera
camera_view: live
error
2020-09-08 22:34:30 WARNING (MainThread) [homeassistant.config] Key whitelist_external_dirs has been replaced with allowlist_external_dirs. Please update your config
2020-09-08 22:34:41 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2020-09-08 22:35:12 ERROR (stream_worker) [libav.rtsp] Nonmatching transport in server reply
2020-09-08 22:35:12 ERROR (stream_worker) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 49, in stream_worker
container = av.open(stream.source, options=stream.options)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: 'rtsp://192.168.0.107:554/onvif1'; last error log: [rtsp] Nonmatching transport in server reply
2020-09-08 22:35:15 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Последний удачный бэкап - , the state is unknown
2020-09-08 22:35:15 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Снапшотов на Googe Drive - , the state is unknown
2020-09-08 22:35:15 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Снапшотов в Наssio - , the state is unknown
2020-09-08 22:36:38 ERROR (stream_worker) [libav.rtsp] Nonmatching transport in server reply
2020-09-08 22:36:38 ERROR (stream_worker) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 49, in stream_worker
container = av.open(stream.source, options=stream.options)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: 'rtsp://192.168.0.107:554/onvif1'; last error log: [rtsp] Nonmatching transport in server reply
2020-09-08 22:36:39 ERROR (stream_worker) [libav.rtsp] Nonmatching transport in server reply
2020-09-08 22:36:39 ERROR (stream_worker) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 49, in stream_worker
container = av.open(stream.source, options=stream.options)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: 'rtsp://192.168.0.107:554/onvif1'; last error log: [rtsp] Nonmatching transport in server reply