Cannot get ESP32-CAM stream

Moderator: leecollings

Post Reply
averter
Posts: 45
Joined: Thursday 24 February 2022 8:32
Target OS: Linux
Domoticz version: 2024.4
Contact:

Cannot get ESP32-CAM stream

Post by averter »

Hello,

I am struggling to get the live stream of an ESP32-cam into domoticz. I've installed the application ESP32-CAM_MJPEG2SD into the board, and according with the documentation the url ESP32-camIPADDRESS:80//sustain?video=1 returns a live stream, which I have confirmed to work in my web browser, but when set up in domoticz I get only a blue screen :?
Screenshot from 2025-01-30 16-40-08.png
Screenshot from 2025-01-30 16-40-08.png (56.94 KiB) Viewed 1195 times
This is how it is set up
Screenshot from 2025-01-30 16-50-57.png
Screenshot from 2025-01-30 16-50-57.png (117.06 KiB) Viewed 1195 times
Thanks in advance for any help.
User avatar
waltervl
Posts: 5847
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Cannot get ESP32-CAM stream

Post by waltervl »

You do not need to enter the url of the stream but the url of the screenshot file (eg jpeg, png)
https://wiki.domoticz.com/Camera_Setup# ... o_Domoticz

Edit: according https://github.com/s60sc/ESP32-CAM_MJPEG2SD/issues/449 the snapshot link is
app_ip/control?still=1
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
averter
Posts: 45
Joined: Thursday 24 February 2022 8:32
Target OS: Linux
Domoticz version: 2024.4
Contact:

Re: Cannot get ESP32-CAM stream

Post by averter »

Thanks for the help, @waltervl. It works! :D
Actually there was another issue, in that the IP address was missing a .1. between the 168 and 191. :shock:
User avatar
waltervl
Posts: 5847
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Cannot get ESP32-CAM stream

Post by waltervl »

So it was only the IP adress that was wrong or also the imageURL had to be changed?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
averter
Posts: 45
Joined: Thursday 24 February 2022 8:32
Target OS: Linux
Domoticz version: 2024.4
Contact:

Re: Cannot get ESP32-CAM stream

Post by averter »

Both the IP address and the imageURL were wrong/had to be changed.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest