HomeGenie
MINI 1.2 — Documentation

Smart Camera + Edge A.I.

Bring intelligent vision to your projects with HomeGenie Mini firmware for ESP32 Camera. This open-source firmware transforms your ESP32 Camera module into a powerful, adaptable smart camera, seamlessly integrating with HomeGenie's advanced A.I. capabilities for unparalleled automation across diverse applications.

Features

With HomeGenie Mini firmware, your ESP32 smart camera gains the following superpowers:

Tested hardware

The following hardware configurations have been tested with HomeGenie Mini Smart Camera firmware. Tests were performed using maximum picture quality settings and JPEG output. Both tested boards utilized the same camera module, an OV3660 (3MP).
Test results are shown in the tables below.

ESP32-CAM

This board embed a ESP32S single core 160MHz chip with 4MB of PSRAM, enough to handle up to 5MP resolutions.

Image SizeMax FPSVideo Format
480x32014HVGA
640x48012VGA
800x60010SVGA
1024x7689XGA
1280x7208HD
1280x10247SXGA
1600x12005UXGA
2048x15364QXGA

Given these performance characteristics, the ESP32-CAM is now better suited for applications where moderate frame rates are acceptable. While smooth, real-time video is still limited, it's capable of event-triggered image capture, periodic video updates, and monitoring moderately dynamic environments. The ESP32-CAM remains an excellent choice for budget-constrained projects.

Specific application examples for ESP32-CAM

ESP32-S3-CAM

This board embeds an ESP32-S3 dual-core 240MHz chip with 8MB of PSRAM. At almost the same cost as the ESP32S-based model, this ESP32-S3-based board represents a significant upgrade in terms of processing power (dual-core vs single-core) and PSRAM (8MB vs 4MB).

Image SizeMax FPSVideo Format
480x32022HVGA
640x48020VGA
800x60018SVGA
1024x76815XGA
1280x72015HD
1280x102412SXGA
1600x120010UXGA
2048x15367QXGA

The ESP32-S3-CAM, with its significantly improved performance, opens up a wider range of possibilities.

Specific application examples for ESP32-S3-CAM

In short, the ESP32-CAM is suitable for simple, low-bandwidth tasks, while the ESP32-S3-CAM is suitable for advanced use-cases that require better quality images or real-time analysis.

Like other ESP SoCs, both ESP CAM includes 2.4GHz Wi-Fi connectivity and also Bluetooth though only Wi-Fi is enabled in this firmware.

Unleash the power of AI vision

The HomeGenie Mini firmware leverages the ESP32 Camera's capabilities and unlocks its potential with HomeGenie's cutting-edge A.I. engine. By combining the camera's visual input with the processing power of HomeGenie, you can create truly intelligent solutions. This integration uses the latest advancements in A.I. and Machine Learning, including:

These A.I. functionalities are seamlessly integrated into HomeGenie's familiar control panel, allowing you to create complex automation rules with simple drag-and-drop interfaces, readily adaptable for any project.

Getting started

Uploading the firmware

To upload the HomeGenie firmware to your ESP camera, connect the board to your computer via USB.

Configuration & Wi-Fi Setup:

  1. Select your camera model in the installer form below and customize any hardware settings (Output Modules, GPIO pins).
  2. In the Wi-Fi Connection section, enter your target SSID and Password.
  1. Click "Create device", then click "Continue" on the next screen, select the camera's virtual COM port, and confirm.
  2. Wait for the upload process to complete.
  3. Click "Initialize firmware" to finalize and write the configuration to flash memory.

After initialization, the device will restart:

Connecting to Wi-Fi (Alternative Methods)

If you did not configure Wi-Fi during the initial upload, or if you need to update existing network credentials, you can explicitly activate Setup Mode using the device's onboard BOOT / IO0 button:

1. WPS Pairing (Quickest)

  1. Press and hold the BOOT / IO0 button for 4 seconds, then release it.
  2. The status LED will begin a continuous slow pulse, indicating WPS pairing mode is active. (Existing saved settings are preserved).
  3. Press the WPS button on your Wi-Fi router. The camera will automatically save credentials, reboot, and connect.

2. Bluetooth Setup via HomeGenie Panel
If your router does not support WPS, or if you prefer smartphone onboarding:

  1. Put the camera into WPS mode (press and hold the BOOT / IO0 button for 4 seconds and release).
  2. Press and hold the BOOT / IO0 button again for 4 seconds, then release it.
  3. The camera clears its stored Wi-Fi credentials, reboots, and enters Bluetooth discovery mode, indicated by two quick flashes, repeated.
  4. Open the HomeGenie Panel app on your mobile device, search for new devices, and follow the setup wizard to assign a name and configure your Wi-Fi network.

(Note: Bluetooth onboarding is supported on ESP32-S3-CAM boards. Standard ESP32-CAM boards do not support Bluetooth setup due to hardware memory constraints and should be configured via WPS, the Web Installer, or USB Serial).

For complete configuration details, LED status diagnostic charts, and serial terminal commands, see the Device setup guide.

Using with HomeGenie Panel app

HomeGenie Panel app allows you to control the smart camera from your smartphone. To get started, open the HomeGenie Panel app, start the device discovery and then find and select your smart camera device from the list of available devices. Confirm device location and time settings and select all modules. The smart camera is now added to the panel dashboard.
By clicking the camera widget preview will open the full screen view of the smart camera. From there you can control the integrated RGB LED or take pictures. The widget also allows you to change video resolution and control various image settings including brightness, contrast, saturation and basic effects.

Clicking the status button on the toolbar allows you to check connected devices and enable MQTT Network for remote control and monitoring of the smart camera and other devices, giving you freedom to choose to use your own MQTT service or one of the public MQTT services, some of which are free and require no registration.
End-to-end encryption with offline key exchange is enabled by default for enhanced privacy and security of your data including video streams.

Using with HomeGenie Server

HomeGenie Server allows you to unlock the power of machine learning and AI on your ESP32 smart camera. With support for YOLO versions 8 through 26, HomeGenie Server delivers state-of-the-art, real-time object detection, even on resource-constrained ARM64 SBCs like the Raspberry Pi.
These versatile models enable a wide range of computer vision tasks, including object detection (identifying and locating objects), instance segmentation (detecting object boundaries), image classification (categorizing images), pose estimation (detecting and tracking keypoints on human bodies), and oriented object detection (OBB).
Best of all, HomeGenie Server includes the latest YOLOv26 pre-trained models for object detection and pose estimation, so you can start experimenting immediately!

Application scenarios

Create this device now! 🪄

Connect your ESP32/ESP8266 microcontroller to your computer via USB, select your firmware version, and click "Create device" to upload the HomeGenie Mini firmware.

1. Select device type

2. Select firmware flavor

VERSION  

3. Let the magic happen!

Installing firmware directly from this page works only in browsers with Web Serial API enabled.

⚠️ Having trouble uploading the firmware?

First, ensure that you do not have multiple ESP devices connected to your USB ports. Please connect only one device at a time.

If only one device is connected and the firmware uploader still fails to connect (or gets stuck at "Connecting..."), your device might need to be put into Boot Mode manually. (This is often required with development boards such as the classic ESP32-CAM).

START THIS PROCEDURE AFTER THE PORT SELECTION WINDOW APPEARS.
  1. Unplug the device from the USB port.
  2. Press and hold the RST and IO0 buttons.
  3. Plug the device back into the USB port (while still pressing the buttons).
  4. Release the buttons, then select the serial port from the list and confirm the upload.

See the Device setup page for further information about configuring a HomeGenie Mini device.

menu_open Browse Content

Modules and API

In addition to the common Device API, this device implements the following modules and API.

CAM module

Controls the camera sensor module.

Domain / Address

HomeAutomation.HomeGenie/CAM

Properties

Parameters

Commands

API usage examples

HTTP API call (GET) to get current image:

GET /api/HomeAutomation.HomeGenie/CAM/Camera.GetPicture

HTTP API call (PUT or POST) to set camera parameters:

PUT /api/HomeAutomation.HomeGenie/Config/Modules.ParameterSet/HomeAutomation.HomeGenie/CAM/
{
  "Image.Resolution": 8,         # 8 = 680x480
  "Image.Quality": 10,           # 10 = max quality
  "Controls.HMirror": "true"
}

The Image.Resolution parameter can be one of the following values:

2MP

ID.ResolutionSize W x H
2QCIF176x144
3HQVGA240x176
5QVGA320x240
7HVGA480x320
8VGA640x480
9SVGA800x600
10XGA1024x768
11HD1280x720
12SXGA1280x1024
13UXGA1600x1200

3MP

ID.ResolutionSize W x H
14FHD1920x1080
15P_HD720x1280
16P_3MP864x1536
17QXGA2048x1536

5MP

ID.ResolutionSize W x H
18QHD2560x1440
19WQXGA2560x1600
20P_FHD1080x1920
21QSXGA2560x1920

More topics

Setup

Create!

Programming

📖

🕵🏻 Explore Mini DeepWiki

Technical Docs & Interactive Wiki

Ask the AI 🧠
menu_open Browse Content