core: Canary Camera Video Stream Not Working
The problem
When using the Canary integration, the camera image thumbnail will load, but the video will not play in the Home Assistant UI or in HomeKit.
Environment
- Home Assistant Core release with the issue: 2021.1.0b2
- Last working Home Assistant Core release (if known): N/A
- Operating environment (OS/Container/Supervised/Core): Docker on 5.4.0-58-generic
- Integration causing this issue: Canary
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/canary/
Problem-relevant configuration.yaml
canary:
username: !secret canary_username
password: !secret canary_password
Traceback/Error logs
2021-01-04 16:26:57 ERROR (MainThread) [homeassistant.components.homekit.type_cameras] Camera has no stream source
2021-01-04 16:26:57 ERROR (MainThread) [pyhap.camera] [ae24c0e6-744f-4480-9ea7-acfad45d393d] Failed to start/reconfigure stream, deleting session.
2021-01-04 16:27:07 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:07 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:17 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:17 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:27 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:27 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue for canary doing I/O at homeassistant/components/canary/camera.py, line 134: self._live_stream_session.live_stream_url,
2021-01-04 16:27:27 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pyhap/camera.py", line 600, in _stop_stream
stream_idx = session_info['stream_idx']
TypeError: 'NoneType' object is not subscriptable
Additional information
There is a fairly large delay for the camera thumbnail to update when viewing in the Home Assistant UI even though the UI indicates that it’s fewer than 10 seconds delayed
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 50 (16 by maintainers)
Commits related to this issue
- Update py-canary to 0.5.2 Update py-canary from 0.5.1 to 0.5.2 Github issue #71052 Github Issue #44830 — committed to 0bmay/home-assistant-core by 0bmay 2 years ago
- Update py-canary to 0.5.2 (#71489) Update py-canary from 0.5.1 to 0.5.2 Github issue #71052 Github Issue #44830 — committed to home-assistant/core by 0bmay 2 years ago
- Update py-canary to 0.5.2 (#71489) Update py-canary from 0.5.1 to 0.5.2 Github issue #71052 Github Issue #44830 — committed to home-assistant/core by 0bmay 2 years ago
This is tagged for 2022.5.3 release which is still in build, I don’t like this kind of tone
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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.