Page 11 of 14

Re: ESP32-CAM as doorbell with camera

Posted: Tuesday 09 March 2021 19:38
by Loekie63
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

Re: ESP32-CAM as doorbell with camera

Posted: Wednesday 10 March 2021 18:22
by hoeby
@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.

Re: ESP32-CAM as doorbell with camera

Posted: Wednesday 10 March 2021 18:29
by Loekie63
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

Re: ESP32-CAM as doorbell with camera

Posted: Thursday 11 March 2021 9:44
by hoeby
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?

Re: ESP32-CAM as doorbell with camera

Posted: Thursday 11 March 2021 14:41
by Loekie63
hi,
I took below project as a start for motion detection:
https://eloquentarduino.github.io/2020/ ... #more-1110
Loekie63

Re: ESP32-CAM as doorbell with camera

Posted: Thursday 11 March 2021 17:41
by jvdz
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
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.
.... but have a go and let us know how you make out. ;)

Jos

Re: ESP32-CAM as doorbell with camera

Posted: Friday 12 March 2021 22:49
by Ivo1986
I can't get the Bin created, not through windows and not through a Pi. exit 01 :(

Re: ESP32-CAM as doorbell with camera

Posted: Friday 12 March 2021 22:57
by jvdz
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. ;)

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 13 March 2021 19:04
by EddyG
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
Or you could this pir (AM312) for short distances: https://nl.aliexpress.com/item/10050022 ... web201603_

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 03 April 2021 11:59
by hoeby
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

Re: ESP32-CAM as doorbell with camera

Posted: Sunday 04 April 2021 14:38
by Frobeltech
funky wrote: Saturday 16 January 2021 14:07 Thnx a lot have installed the code via the good instructions in the github of hoeby. Did this is on a Mac via visual studio fine! Tommorow trying to connect it with domoticz and the push button. Keep up the good work!
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?

Re: ESP32-CAM as doorbell with camera

Posted: Tuesday 06 April 2021 11:58
by hoeby
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.

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 17:18
by akamming
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:

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?

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 17:47
by Ivo1986
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. :shock:

whats possible the problem? i changed the camera with an other one and is the same black screen...

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 18:16
by jvdz
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?
Guess you missed the part where the Wiki explains to upload:
6). After a SUCCESS upload, click on "Upload Filesystem Image"
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.

Jos

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 18:18
by jvdz
Ivo1986 wrote: Saturday 10 April 2021 17:47 whats possible the problem? i changed the camera with an other one and is the same black screen...
Did you check the Cam settings for on the WebPage of the ESPCAM for any "strange" values?

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 18:35
by Ivo1986
jvdz wrote: Saturday 10 April 2021 18:18
Ivo1986 wrote: Saturday 10 April 2021 17:47 whats possible the problem? i changed the camera with an other one and is the same black screen...
Did you check the Cam settings for on the WebPage of the ESPCAM for any "strange" values?
yes, i see nothing strange?
Image

Re: ESP32-CAM as doorbell with camera

Posted: Saturday 10 April 2021 20:12
by akamming
jvdz wrote: Saturday 10 April 2021 18:16 Guess you missed the part where the Wiki explains to upload:
6). After a SUCCESS upload, click on "Upload Filesystem Image"
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.
Ah...tx! That's probably it. Will try again tomorrow!

Re: ESP32-CAM as doorbell with camera

Posted: Sunday 11 April 2021 7:52
by akamming
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. :shock:

whats possible the problem? i changed the camera with an other one and is the same black screen...
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:
espcamtoodark.jpg
espcamtoodark.jpg (56.22 KiB) Viewed 3522 times
these are my current settings (some changed from default, with everything at 0, all is even darker ):
espcamsettings.jpg
espcamsettings.jpg (106.65 KiB) Viewed 3522 times

Re: ESP32-CAM as doorbell with camera

Posted: Sunday 11 April 2021 13:37
by hoeby
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.
esp-settings.JPG
esp-settings.JPG (53.54 KiB) Viewed 3503 times