
Open media
If you did not configure Wi-Fi during the initial firmware upload, or if you need to update the device's current Wi-Fi credentials, you can quickly make these changes by returning to the firmware upload page.
Simply enter the new network details in the form, check the Initialize only box, and click "Create device." The device configuration will update immediately without reinstalling the firmware.
If you cannot use the Web Installer, or if you require advanced configuration, you can use one of the following methods to configure and control your HomeGenie Mini device:
This guide walks you through each configuration workflow.
In the latest firmware versions, fresh or unconfigured devices remain quietly in offline mode without automatic rapid blinking, allowing immediate standalone or off-grid operation.
To connect the device to your local network, you must explicitly activate Setup Mode using the device's "BOOT" button (labeled "BOOT", "B", or "IO0" on most ESP boards) or via the serial terminal.
If WPS pairing fails or times out, the device will automatically retry until the connection succeeds or power is cycled.
If your router lacks WPS, or if you prefer manual configuration via smartphone:
Note: In current firmware releases, the initial rapid flashing shown in the video no longer occurs automatically on first boot, ensuring full offline capability out of the box. The WPS button-press sequence remains identical.
The onboard status LED provides real-time diagnostic feedback:
| LED Indicator | Meaning |
|---|---|
| Brief flash every 2 seconds | Connected to Wi-Fi. (On Smart Light, stops after 20 seconds). |
| Continuous slow flash | In WPS Setup Mode (ready to pair with router). |
| Two quick flashes (repeating) | In Bluetooth Setup Mode (ready to pair with HomeGenie Panel). |
| Fast continuous flash | Attempting to connect or reconnect to saved Wi-Fi network. |
You can also apply network credentials directly over USB without pressing physical buttons:
This writes the configuration directly to the non-volatile memory without re-flashing the firmware binary.
Once connected to your network, the device will appear in the discovery list within the HomeGenie Panel app. Simply select it and tap "Done" to add it to your dashboard.

The modules and controls available on your dashboard will depend on the specific firmware version installed. For example, the smart-sensor-d1-mini firmware provides access to temperature and light sensors, along with 2 configurable GPIO switches.

HomeGenie Mini devices integrate natively into a HomeGenie Server instance in just a few steps. The video below demonstrates connecting a HomeGenie Mini Smart Camera, but the procedure is identical for all HG-Mini device types and firmware flavors:
Connecting your HG-Mini to a HomeGenie Server unlocks powerful capabilities:

For advanced users, HomeGenie Mini can be configured directly through a serial terminal over USB. The command-line interface accepts two types of instructions:
# prefix: System-level control and configuration commands (e.g., #RESET, #CONFIG)./api/ prefix: Standard HTTP/REST API endpoints (see the Device API reference).Connect to the virtual COM port using any serial terminal emulator (PuTTY, screen, minicom, or Arduino Serial Monitor) set to 115200 baud.
To trigger the non-destructive Wi-Fi Setup Mode without using the physical button:
#CONFIG:wifi-setupTo assign credentials directly in a single step, send:
#CONFIG:wifi-ssid MyHomeNetwork
#CONFIG:wifi-password MySecretPassword
#RESET| System Command | Description |
|---|---|
#RESET | Restarts the microcontroller. Required to apply certain parameters. |
#CONFIG:wifi-setup | Enters temporary Wi-Fi Setup Mode (non-destructive; preserves saved settings). |
#WPS | Legacy WPS trigger: clears saved Wi-Fi credentials and initiates pairing. |
#UPTIME | Displays device uptime since last boot. |
#VERSION | Returns the active firmware build version and compilation details. |
#CONFIG:device-name <name>Sets the friendly name used for HomeGenie Panel discovery and network hostname. Spaces are supported without quotes. Example:
#CONFIG:device-name Living Room Gateway#CONFIG:wifi-ssid <ssid>Sets the target Wi-Fi network SSID (case-sensitive). Spaces inside the SSID are supported without quotation marks. Example:
#CONFIG:wifi-ssid My Home Wi-Fi#CONFIG:wifi-password <passwd>Sets the WPA/WPA2/WPA3 network password. All characters following the space after the command are treated as part of the secret. Example:
#CONFIG:wifi-password My_S3cur3/P@ssw0rd!#CONFIG:system-ntp-server <server_address>Configures a custom NTP server hostname or IP address for network time synchronization. Example:
#CONFIG:system-ntp-server pool.ntp.org#CONFIG:system-time <epoch_milliseconds>Sets the internal real-time clock manually using a 64-bit Unix timestamp in milliseconds (UTC). Example (2026-01-01 00:00:00 UTC):
#CONFIG:system-time 1767225600000#CONFIG:system-zone-id <zone_id>Sets the timezone using a standard IANA/Olson identifier. This enables automatic Daylight Saving Time (DST) calculations. Example:
#CONFIG:system-zone-id Europe/Rome#CONFIG:system-zone-offset <tz_offset_minutes>Sets a static UTC time offset in minutes (e.g., 60 for UTC+1, 120 for UTC+2, -300 for UTC-5). Note: Static offsets do not adjust for daylight saving time. Example:
#CONFIG:system-zone-offset 60| Parameter Name | Description | Default Value |
|---|---|---|
sys-rb-n | GPIO pin number assigned to the "BOOT" / Setup button. | -1 (not used) |
sys-sl-n | GPIO pin number assigned to the system status LED. | -1 (not used) |
io-typ01 | Channel 1 Type (Switch, Light, or Dimmer). | (empty) |
io-pin01 | Channel 1 GPIO pin assignment. | -1 (not used) |
io-typ02 | Channel 2 Type. | (empty) |
io-pin02 | Channel 2 GPIO pin assignment. | -1 (not used) |
| ... | (Channels 3 through 8 follow the identical pattern) | ... |
Configuring hardware pins: Assign GPIO 10 to the status LED, GPIO 0 to the "BOOT" button, and reboot:
#SET:sys-sl-n 10
#SET:sys-rb-n 0
#RESETReading current values: Query the active GPIO assigned to the status LED:
#GET:sys-sl-nResponse:
#GET:sys-sl-n=10