ESP32-CAM

Moderator: leecollings

Post Reply
cvgmrz
Posts: 4
Joined: Tuesday 15 March 2022 20:47
Target OS: Linux
Domoticz version:
Contact:

ESP32-CAM

Post by cvgmrz »

i am trying to add a camera in Domoticz. My camera is ESP32-CAM with Tasmota firmware (last version). When I set parameters into the camera form it doesn't work. If I connect the camera by browser (http://192.168.112.84:81/stream) I see streaming correctly. Is there somebody that can help me to solve this problem? Thank you so much!
Attachments
Camera.png
Camera.png (50.89 KiB) Viewed 4311 times
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: ESP32-CAM

Post by waltervl »

Delete the IP adress from the url ( so /stream ) should do the trick if the stream format is recognized by Domoticz.

But I think you need to use the /capture URL for correct functionality.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
cvgmrz
Posts: 4
Joined: Tuesday 15 March 2022 20:47
Target OS: Linux
Domoticz version:
Contact:

Re: ESP32-CAM

Post by cvgmrz »

I tried both /stream and /capture but it doesn't work.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: ESP32-CAM

Post by waltervl »

According the following thread it should be
capture
So without the /

viewtopic.php?t=28458
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
cvgmrz
Posts: 4
Joined: Tuesday 15 March 2022 20:47
Target OS: Linux
Domoticz version:
Contact:

Re: ESP32-CAM

Post by cvgmrz »

I had tried it before but it doesn't work, see attached file.
Can I check log file to understand what happens when I set parameters into the form and where can I found the log file?
Thank you
Attachments
cattura02.png
cattura02.png (60.71 KiB) Viewed 4258 times
cattura01.png
cattura01.png (20.19 KiB) Viewed 4258 times
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: ESP32-CAM

Post by waltervl »

The log file can be viewed in Domoticz with menu Setup - Log
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
cvgmrz
Posts: 4
Joined: Tuesday 15 March 2022 20:47
Target OS: Linux
Domoticz version:
Contact:

Re: ESP32-CAM

Post by cvgmrz »

inside this log I can't view what happen when I change setting inside the form, the only things that I can view is that:
2022-03-16 14:37:09.057 Status: Camera: settings (re)loaded
2022-03-16 14:40:51.650 Status: Camera: settings (re)loaded
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: ESP32-CAM

Post by waltervl »

Is the capture link http://192.168.112.84:81/capture working outside Domoticz? Do you see a screenshot?

Edit: else program your Cam with the sketch mentioned here: viewtopic.php?t=32536
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
adtechknow
Posts: 1
Joined: Wednesday 07 September 2022 11:28
Target OS: Windows
Domoticz version:
Contact:

Re: ESP32-CAM

Post by adtechknow »

Yes, Domoticz works with ESP32-Cam when Flashed with Arduino ESPCAMServer code or Tasmota Code. Visit this blogpost to check this out
https://techknowsurf.blogspot.com/2022/ ... o-Ide.html or can visit this video https://www.youtube.com/watch?v=43W_yVTZJfM

Thanks

Untitled1.jpg
Untitled1.jpg (43.63 KiB) Viewed 3544 times
Quest24
Posts: 7
Joined: Tuesday 17 November 2020 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024-2
Contact:

Re: ESP32-CAM

Post by Quest24 »

You can check out this site for information for esp32 with tasmota

https://cgomesu.com/blog/Esp32cam-tasmo ... am-server/

Then configure in domoticz camera setting

protocol http
ip adres your ip
port 80 // so not port 81 which works for the stream, but not for the snapshot interface
url snapshot.jpg

That works for me.
sylvled
Posts: 7
Joined: Thursday 01 January 2015 0:15
Target OS: Linux
Domoticz version:
Contact:

Re: ESP32-CAM

Post by sylvled »

Hi.
Here are the parameters that I filled into Domoticz 2022.2 to obtain stream from my ESP32Cam with TasmotaCam32 12.3.1 :
activated : yes
Form factor : 4:3
Protocole : HTTP
Ip adresse : ip of cam
port : 81
id : <empty>
password : <empty>
url of picture : cam.mjpeg

And this is working fine !

I first tried to put http://192.168.1.244:81/ to a web browser and the adress was automatically modified to
http://192.168.1.244:81/cam.mjpeg

Hope it will help
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest