ESP32-CAM as doorbell with camera Topic is solved
Moderator: leecollings
-
- Posts: 9
- Joined: Thursday 28 January 2021 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
Hi. I tested and all is working as expected. It seems to be something in the Domoticz camera page that shows the same picture over and over again.
Really love this project. Great to see hoe it evolved and matured. It inspired me and all I need now is a housing for my project with the esp-32 Cam, but I am not using the 160 degree cam. Is it possible for you to publish/share the 3d drawing so I can adapt it to my needs? Thanks jn advance and keep up the good work.
Loekie63
Really love this project. Great to see hoe it evolved and matured. It inspired me and all I need now is a housing for my project with the esp-32 Cam, but I am not using the 160 degree cam. Is it possible for you to publish/share the 3d drawing so I can adapt it to my needs? Thanks jn advance and keep up the good work.
Loekie63
-
- Posts: 530
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
@Loekie, what kind of lens are you using?
The v2 housing is for a 120 degree lens.
At this moment, somebody is testing the 160 degree lens housing when this test goes OK, i share it.
The v2 housing is for a 120 degree lens.
At this moment, somebody is testing the 160 degree lens housing when this test goes OK, i share it.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 9
- Joined: Thursday 28 January 2021 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
Hi I am using the standard lens and don't use the hutton in the housing, therefore i wondered if you would possibly be willing to share the V1 3d drawing with alu front design so I can change things where needed. Further I am testing with movement detection but for now it's to slow for live use.
Thanks Loekie63
Thanks Loekie63
-
- Posts: 530
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
I will look if i can put the V1 drawing on github.
Extension .stl will work?
Where are you doing movement detection?
Did you modify the code, or using third party software for this?
Extension .stl will work?
Where are you doing movement detection?
Did you modify the code, or using third party software for this?
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 9
- Joined: Thursday 28 January 2021 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
hi,
I took below project as a start for motion detection:
https://eloquentarduino.github.io/2020/ ... #more-1110
Loekie63
I took below project as a start for motion detection:
https://eloquentarduino.github.io/2020/ ... #more-1110
Loekie63
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
That is a known one and I have played with that a bit, got some detecting working, but it wasn't stable when constantly capturing images and processing them when a doorbel was pushed or an Image/Stream was requested via the WebFrontend, So I left it at the time as we wanted to finish the basic functionality.Loekie63 wrote: ↑Thursday 11 March 2021 14:41 hi,
I took below project as a start for motion detection:
https://eloquentarduino.github.io/2020/ ... #more-1110
Loekie63
.... but have a go and let us know how you make out.

Jos
Last edited by jvdz on Saturday 13 March 2021 19:07, edited 1 time in total.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 16
- Joined: Tuesday 07 January 2020 10:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Urmond - Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
I can't get the Bin created, not through windows and not through a Pi. exit 01 

- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
We need way more details than that to be able to assist. For starters would have to see the full buildlog generated by vscode. I assume you did follow the wiki steps for building the bin?
We can also take this offline by sending it to my email.
We can also take this offline by sending it to my email.

New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Re: ESP32-CAM as doorbell with camera
Or you could this pir (AM312) for short distances: https://nl.aliexpress.com/item/10050022 ... web201603_Loekie63 wrote: ↑Thursday 11 March 2021 14:41 hi,
I took below project as a start for motion detection:
https://eloquentarduino.github.io/2020/ ... #more-1110
Loekie63
-
- Posts: 530
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
There is a V2 housing for a 160 degree lens.
Tested by Eddy. It is a tight fit.
Eddy tested it and has given me some advice.
But i didn't notice the things on my printer, which Eddy noticed.
Try it and please reply your experiance.
https://www.thingiverse.com/thing:4786884
Tested by Eddy. It is a tight fit.
Eddy tested it and has given me some advice.
But i didn't notice the things on my printer, which Eddy noticed.
Try it and please reply your experiance.
https://www.thingiverse.com/thing:4786884
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 1
- Joined: Sunday 04 April 2021 14:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: ESP32-CAM as doorbell with camera
Hi, I tried to install the code to the M5stack, unfortunately it stops it waits for a package.... I checked the unit and I can upload the software from M5stack but not this code from GitHub. I followed the instructions from hoeby..... anyone any ideas?
-
- Posts: 530
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
FrobelTech was helped.
The baudrate for the M5stack is different.
This needed to be changed, after that uploading the files works.
To enable the M5stack, the src/setup.htm file needs to be changed.
FrobelTech changed this and uploaded the file. For the start it all works, now it needs testing to see if all works like it is intended.
The baudrate for the M5stack is different.
This needed to be changed, after that uploading the files works.
To enable the M5stack, the src/setup.htm file needs to be changed.
FrobelTech changed this and uploaded the file. For the start it all works, now it needs testing to see if all works like it is intended.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 343
- Joined: Friday 17 August 2018 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
Hi,
i am a newbie at ESP. But this looks like an interesting project, so I order as ESP32cam, installed VS Studio Code with the proper plugins for ESP (including platformIO)
I was happy to see compiling and uploading the code to the ESP32Cam was easy. When starting up the ESP doorbell, i got an Access point "ESP Doorbell" as expected, configured my WIFI according to the docs and using network explorer i indeed can now see a device with the name "ESP Doorbell".
When i click on it, an browser opens, but gives an error:
with some buttons on how to upload a file.
Since i am new to ESP, i have no clue to fix, can someone give me a hint on where to start?
i am a newbie at ESP. But this looks like an interesting project, so I order as ESP32cam, installed VS Studio Code with the proper plugins for ESP (including platformIO)
I was happy to see compiling and uploading the code to the ESP32Cam was easy. When starting up the ESP doorbell, i got an Access point "ESP Doorbell" as expected, configured my WIFI according to the docs and using network explorer i indeed can now see a device with the name "ESP Doorbell".
When i click on it, an browser opens, but gives an error:
Code: Select all
ESP Doorbell
File missing in SPIFFS:/www/index.htm.
Please upload the correct version of spiffs.bin or this file.
with some buttons on how to upload a file.
Since i am new to ESP, i have no clue to fix, can someone give me a hint on where to start?
-
- Posts: 16
- Joined: Tuesday 07 January 2020 10:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Urmond - Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
I have a new problem...
I have 2 esp32 cams with the software, dit noting change about the camera settings (exept the framesize)
the view is nice and clear.
now after a few weeks of turn off I powered one up and the camera fives a black screen, it is on, when I turn on the flash led on my phone the light is visible but rest is really dark...
The 2nd esp32-cam (turn on the first time after flasing) has the same problem.
whats possible the problem? i changed the camera with an other one and is the same black screen...
I have 2 esp32 cams with the software, dit noting change about the camera settings (exept the framesize)
the view is nice and clear.
now after a few weeks of turn off I powered one up and the camera fives a black screen, it is on, when I turn on the flash led on my phone the light is visible but rest is really dark...
The 2nd esp32-cam (turn on the first time after flasing) has the same problem.

whats possible the problem? i changed the camera with an other one and is the same black screen...
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
Guess you missed the part where the Wiki explains to upload:akamming wrote: ↑Saturday 10 April 2021 17:18 When i click on it, an browser opens, but gives an error:Code: Select all
ESP Doorbell File missing in SPIFFS:/www/index.htm. Please upload the correct version of spiffs.bin or this file.
with some buttons on how to upload a file.
Since i am new to ESP, i have no clue to fix, can someone give me a hint on where to start?
This can also be done OTA by selecting the SPIFFS.BIN file which you can find in the ".pio\build\ESP_4096" subdirectory of your project, where you also can find the FIRMWARE.BIN to upload new version OTA.6). After a SUCCESS upload, click on "Upload Filesystem Image"
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
Did you check the Cam settings for on the WebPage of the ESPCAM for any "strange" values?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 16
- Joined: Tuesday 07 January 2020 10:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Urmond - Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
yes, i see nothing strange?

-
- Posts: 343
- Joined: Friday 17 August 2018 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
Ah...tx! That's probably it. Will try again tomorrow!jvdz wrote: ↑Saturday 10 April 2021 18:16 Guess you missed the part where the Wiki explains to upload:This can also be done OTA by selecting the SPIFFS.BIN file which you can find in the ".pio\build\ESP_4096" subdirectory of your project, where you also can find the FIRMWARE.BIN to upload new version OTA.6). After a SUCCESS upload, click on "Upload Filesystem Image"
-
- Posts: 343
- Joined: Friday 17 August 2018 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: ESP32-CAM as doorbell with camera
I seem to have the exact same issue. I just got the espdoorcam working with the instructions of @jvdz only to find out i had a black picture. I could adjust the settings a bit and indeed where the light is very bright i see it vaguely visible: these are my current settings (some changed from default, with everything at 0, all is even darker ):Ivo1986 wrote: ↑Saturday 10 April 2021 17:47 I have a new problem...
I have 2 esp32 cams with the software, dit noting change about the camera settings (exept the framesize)
the view is nice and clear.
now after a few weeks of turn off I powered one up and the camera fives a black screen, it is on, when I turn on the flash led on my phone the light is visible but rest is really dark...
The 2nd esp32-cam (turn on the first time after flasing) has the same problem.![]()
whats possible the problem? i changed the camera with an other one and is the same black screen...
-
- Posts: 530
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: ESP32-CAM as doorbell with camera
Tested it on my ESP32
When i set it up like your settings, then i also have a black image.
These settings work for me.
The quality setting is from the development code, it is not in de master code.
Depends which version you use, it could be that you can't see this line.
When i set it up like your settings, then i also have a black image.
These settings work for me.
The quality setting is from the development code, it is not in de master code.
Depends which version you use, it could be that you can't see this line.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Who is online
Users browsing this forum: No registered users and 0 guests