Trying the new stream service, but have error

Below config and log error

  - platform: generic
    name: West
    still_image_url: http://xxx:[email protected]/ISAPI/Streaming/channels/101/picture


camera.west does not support play stream service
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
    connection.context(msg))
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1138, in async_call
    self._execute_service(handler, service_call))
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1160, in _execute_service
    await handler.func(service_call)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 188, in handle_service
    self._platforms.values(), func, call, service_name
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 314, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 330, in _handle_service_platform_call
    await func(entity, data)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/camera/__init__.py", line 560, in async_handle_play_stream_service
    .format(camera.entity_id))
homeassistant.exceptions.HomeAssistantError: camera.west does not support play stream service

Getting the same, doesnt work for me either.

homeassistant.exceptions.HomeAssistantError: camera.frontdoor does not support play stream service

The generic camera config you pasted doesn’t have a stream_source attribute on it so I don’t believe the component knows what to stream.

1 Like

this is the correct answer, stream_source is required for the new player and service: Generic Camera - Home Assistant

In case the generic camera is based on motioneye, what is the stream_source ?

maybe something here will be of help? https://github.com/ccrisan/motioneyeos/issues/1259

1 Like

i have the same error with the mjpeg platform.