Sonoff IP Camera

Good Day

Can anyone assist me with how to add a sonoff IP camera into home assistant

for sonoff you need to add it via HACS using this mods GitHub - AlexxIT/SonoffLAN: Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant

And there is a whole thread for their cameras:

Thanks for the reply. I have Sonoff intergrated and already have a few sonoff devices linked. The sonoff IP camera is in my entities, but no streaming. That’s why I thought to ad the IP Cameras separately

I add this to my camera

camera:
  - platform: generic
    name: Front Porch Cam
    still_image_url: !secret ewelink_cam1_picture
    stream_source: !secret ewelink_cam1_url

For the lovelace

  - type: picture-entity
    camera_view: live
    camera_image: camera.front_porch_cam
    entity: camera.front_porch_cam

I hope this will help

Thanks will try this

This is the error I get when adding this code

Invalid config for [camera.generic]: template value is None for dictionary value @ data[‘still_image_url’]. Got None. (See ?, line ?).

you need to find your image url and stream source since its not being paste here… I use secret

you can follow this guide Generic Camera - Home Assistant

It seems like something is working now. Only there are a error in the streaming

This entity (‘camera.maingate_view’) does not have a unique ID, therefore its settings cannot be managed from the UI.