fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
842 stars 73 forks source link

Webrtc Integration has no devices in its list and webrtc card cant get camera url #1105

Closed akhilkumarco007 closed 4 months ago

akhilkumarco007 commented 4 months ago

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)

If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.

Describe the bug

I followed the guide to setup the integrations and the add ons. When I installed the webrtc integration, it does not detect any devices. Not sure if this is normal. I tried to setup the webrtc card in the dashboard and its stuck at "cant get the url for camera.north".

To reproduce

Steps to reproduce the behavior:

  1. Go to dashboards in settings
  2. Click on edit in one of the list dashboards and click on add card
  3. Scroll down to manual card and click on it
  4. Then enter the configuration
    entity: camera.north
    poster: image.north_event_image
    ui: true
    shortcuts:
    - name: Play
    icon: mdi:play
    service: camera.turn_on
    service_data:
      entity_id: camera.north
    - name: Stop
    icon: mdi:stop
    service: camera.turn_off
    service_data:
      entity_id: camera.north
  5. See the error on the top of the black camera feed card that says "cant get the url for camera.front"
  6. Click done and save the dashboard. The error still exists
  7. If I hit play icon, then it gives the error: Failed to call service camera/turn_on. {'type': 'result', 'success': False, 'messageId': 'device.start_livestream.ca1cf55e533349b68586a44a85284788', 'errorCode': 'device_livestream_already_running'}

Expected behavior

Card to show the live feed from the camera

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Hardware Information;

eufy_debug.txt

Additional context

Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

Few things I am not sure if went well during setup.

  1. When I installed Webrtc integration, it asked for url. I left it empty and clicked submit so not sure if thats what I should do.
  2. In the step 7 of the integration guide at: https://github.com/fuatakgun/eufy_security?tab=readme-ov-file#3-installing-eufy-security-integration , which integration should the rtsp simple server add on ip needs to be used to configure? How do I get the rtsp simpler server addon ip? I checked the add on logs but did not find any ip address.
  3. I used 0.0.0.0:3000 for the configuring the eufy integration as thats the ip address that my eufy securty ws addon is running on.
  4. Do I need to change anything in the go2rtc.yaml file?
akhilkumarco007 commented 4 months ago

Looks like I had to manually press start P2P stream attribute and then click on the error text on the stream card for it to start live streaming. This worked! Thank you for all the work on the integration.