Good Day
Can anyone assist me with how to add a sonoff IP camera into home assistant
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.
Yah, the SONOFF CAM Slim is not supported system say
If you have SONOFF Cam Slim Gen2 , you can flash custom firmware https://thingino.com/ as the model is pretty much a copy of Galayou G7 . I recently did and works fine with RTSP and ONVIF.
Just received my SONOFF Cam Slim Gen2 with the intention to flash thingino.com. Did you find any good teardown instructions on how to get into this thing without totally destroying the casing?
How you were able to do that? With SD card method?
I also hope there is an easy way to get a custom firmware on it.
This is what I did: (Custom firmware thingino - Sonoff Slim Cam Gen2)
download:
https://github.com/wltechblog/thingino-installers/archive/refs/heads/main.zip
once the zip is extracted and in Linux:
run the file: âmake_installers.shâ
sh make_installers.sh sonoff_slim_gen2
Two folders are created: (temp) with the last firmware and (sdcard ?Âż donât remember right now if this was the name, I think so.) with 3 files: âautoupdate-full.binâ, âsfproducttestâ, âstart_sfproducttest.shâ
Push these 3 files on a formatted fat32 sdcard, put the card in the cam, turned on the cam and waited 1 minute or less.
Then from the phone, I did a search for networks. connected to the cam network just set up and thatâs all.
Once finished, on the sdcard, there is a folder with a backup of the original firmware, and two more files: âautoupdate-full.doneâ and âuboot.binâ
I have the ch341a programmer, but it is not necessary.
Just did it like this and done. Thank you very much