@ZkiiFreak wrote:
Hi there
I’ve been struggling with my Ubiquiti Unifi cameras. I’m trying to stream to my LG WebOS TV.
But it seems like thecamera.play_stream
servce won’t work for me. The cameras work just dandy and I get a preview in the Lovelace UI that streams lve from the cams.
Calling the service with the following data:entity_id: camera.baghave media_player: media_player.stue_lg_oled
Gets me the following error:
camera.baghave does not support play stream service
In the logs are the following:
2019-12-29 22:07:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140694875211728] camera.baghave does not support play stream service Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call await asyncio.shield(self._execute_service(handler, service_call)) File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service self._platforms.values(), func, call, service_name, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 360, in _handle_service_platform_call await func(entity, data) File "/usr/src/homeassistant/homeassistant/components/camera/__init__.py", line 671, in async_handle_play_stream_service f"{camera.entity_id} does not support play stream service" homeassistant.exceptions.HomeAssistantError: camera.baghave does not support play stream service
I’ve enabled RTSP and RTMPS for the cameras in the Unifi Video interface. The [RTSP] URL’s from the Unifi Video interface works fine in VLC Media Player.
Any takes on what might be wrong?
Thanks in advance!
BTW, FWIW - the config or UVC:
# Unifi Video camera: - platform: uvc nvr: 172.1X.1.Y key: !secret camera_key password: !secret camera_password # ssl: true
Posts: 3
Participants: 2