
Open media
The smart-sensor-display
is a specialized version of the HomeGenie Mini firmware, transforming your ESP32 or ESP32-S3 device with a connected TFT touch display into a powerful, local interface. It provides an interactive dashboard experience for real-time sensor data visualization, direct device control, system monitoring, and even live camera feeds, all as part of the HomeGenie Mini ecosystem.
This firmware is designed to be highly configurable, leveraging different UI technologies based on your hardware's capabilities:
A core strength is its deep integration with HomeGenie Mini's powerful automation Scheduler. All user interactions on the display can emit events, allowing these to trigger custom programs and control a wide range of connected devices.
The Smart Display firmware offers a versatile dashboard, allowing you to intuitively swipe between "Activities" for various functionalities. The Sensor Values Activity instantly shows current date, time, and live readings from sensors like DHT22 (temperature/humidity). For system diagnostics, the System Information Activity provides an overview of vital statistics and network information, plus on-screen buttons for display rotation or reinitiating device configuration.
Device control is a central aspect. On ESP32-S3 devices with PSRAM, the Level Control Activity uses LVGL for a sleek interface to manage devices like dimmable lights, fans, or shutters. It features a dynamic icon adapting to the module's type (e.g., lightbulb, fan), a clear LED status indicator, a responsive slider (0-100%), and On/Off buttons. The device name (auto-scrolling if long) and type are configurable via HomeGenie Panel for a personalized touch. Standard ESP32 (non-PSRAM) devices utilize a resource-friendly LGFX-based Switch Control Activity with similar On/Off and +/- buttons for level control, also displaying the configurable device name.
PSRAM-enabled builds also unlock the Camera Display Activity. This supports viewing JPEG camera feeds from remote HTTP URLs (like IP webcams). For specific ESP32-S3 boards, it enables direct video streaming from a locally connected ESP32-CAM module, complete with an on-screen FPS counter and device name. Fun additions like a retro-inspired "Pac-Man" Digital Clock Activity and, if LGFX examples are enabled, a classic Analog Clock and a Gauge Example further enrich the UI on these more capable devices.
A cornerstone of this firmware is its programmability and configurability. All UI interactions, such as button presses or slider changes, emit events. These can be seamlessly captured by HomeGenie Mini's built-in Scheduler for sophisticated event-driven automation, detailed further below. Module properties like name and type, which influence UI elements like icons and titles, are easily configured through the HomeGenie Panel application.
The firmware is also optimized for different hardware:
The true power of the Smart Display firmware is unlocked through its seamless integration with HomeGenie Mini's onboard Scheduler. Every significant user interaction on the display—such as pressing a button in the LevelControlActivity
or adjusting the slider—emits a distinct event.
For instance:
Sensor.Button
with the value "on".Sensor.Level
with the new percentage value (internally normalized to 0.00 - 1.00).These events become powerful triggers within the Scheduler. You can easily create programs that:
This architecture allows you to build highly customized and responsive automations that react instantly to local UI interactions. All scheduler programs are configured conveniently from the HomeGenie Panel app. For comprehensive details on creating and managing these automations, please refer to the Scheduler documentation.
Setting up and customizing your Smart Display device is done through the HomeGenie Panel app.
This firmware can be easily flashed onto your device using the Firmware Upload form found at the bottom of this page. After flashing, connect your HomeGenie Mini to your Wi-Fi network using either WPS or Bluetooth discovery via the Panel app. Once connected, your device will appear in the discovery list; select it and add it to your dashboard. For detailed steps, see the Device Setup guide.
LevelControlActivity
and SwitchControlActivity
are associated with specific module addresses (e.g., "M1", "D1"). Within HomeGenie Panel, you can access the 'Module details' for these addresses to configure their Name and Type (such as Light, Dimmer, Switch, Motor, Sensor).LevelControlActivity
based on the module type you've selected.CameraDisplayActivity
, HomeGenie Panel simplifies video source selection. You can choose from a list of available cameras (like a discovered IP camera or a locally connected ESP32-CAM). The Panel then automatically configures the necessary 'RemoteCamera.EndPoint' or camera type parameters.As described in the "Built-in powerful automation" section, use the Scheduler interface in HomeGenie Panel to create programs that listen for and react to events emitted by this firmware.
Connect your ESP32/ESP8266 microcontroller to your computer via USB, select your firmware version, and click "Create device" to upload the HomeGenie Mini firmware.
Installing firmware directly from this page works only in browsers with Web Serial API enabled.
See the Device setup page for further information about configuring a HomeGenie Mini device.
This firmware pre-compiled binaries and source code are available on GitHub:
folder_open smart-sensor-display
In addition to the common Device API, the following modules and API are implemented by this device.
mini
moduleBuilt-in sensor module.
HomeAutomation.HomeGenie/mini
Sensor.Orientation
Sensor.Humidity
Sensor.Temperature
System.BytesFree
D1
moduleThis module is associated with the SwitchControl
activity.
HomeAutomation.HomeGenie/D1
Sensor.Button
Sensor.Level
M1
moduleThis module is associated with the LevelControl
activity.
HomeAutomation.HomeGenie/M1
Sensor.Button
Sensor.Level
V1
moduleThis module is associated with the CameraDisplay
activity.
HomeAutomation.HomeGenie/V1
RemoteCamera.EndPoint