Got a simple snapshot camera working. Takes a picture, connects to wifi and sends it via HTTP-Post to a fastapi based server on my homelab. Goes into deepsleep for 8 seconds ... rinse and repeat.

The esp32 runs stable for the last 6 hours. Server side needs more attention.

Added a script that compares the images and deletes them if they have less than 5% difference.

The images are stores by cam-ip/date/time.jpg with a quick ffmpeg command and I get a mp4 of the day.

Nice 🙂

#esp32 #esp32s3

Switched to a dotnet based server implementation as I am more familiar with it.

Also added the SSIM difference detection directly to the file saving part. Now only images get saved that have more than 5% difference to the previous image of that camera.

Installed it on my homelab and squashed some bugs. Works great so far.

Need to let it run for a couple of days to see about stability.

#esp32 #esp32s3

Woho!

Added a quick reconnect for the wifi. Storing the wifi information like DHCP lease and IP in the RTC memory. Now it takes only 100ms to reconnect the wifi after deepsleep. Before it was 1200ms.

Nice 😃

#esp32 #esp32s3