Smart Display & Control

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.

Round Display (GC9A01)

ESP32-S3 + Motion + Temperature + Humidity sensors


Open media

Smart Display Casing

3d-printed smart display enclosure


Open media

Smart Display Casing

3d-printed smart display enclosure (inside view)


Open media

Smart Display wannabe Thermostat

Wall mounting the smart display and connecting it to a switch relay


Open media

Smart Display and Thermostat

And it finally became a smart thermostat! =)


Open media

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:

Built-in powerful automation

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:

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.

Configuration

Setting up and customizing your Smart Display device is done through the HomeGenie Panel app.

Initial device setup

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.

Module configuration (Name, Type, and UI)

Camera configuration

Scheduler programs

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.

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

3. Let the magic happen!

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.

menu_open Content index
forum Q & A discussion forum

Source code

This firmware pre-compiled binaries and source code are available on GitHub:

folder_open smart-sensor-display

Modules and API

In addition to the common Device API, the following modules and API are implemented by this device.

mini module

Built-in sensor module.

Domain / Address

HomeAutomation.HomeGenie/mini

Properties

D1 module

This module is associated with the SwitchControl activity.

Domain / Address

HomeAutomation.HomeGenie/D1

Properties

M1 module

This module is associated with the LevelControl activity.

Domain / Address

HomeAutomation.HomeGenie/M1

Properties

V1 module

This module is associated with the CameraDisplay activity.

Domain / Address

HomeAutomation.HomeGenie/V1

Properties

menu_open Content index
forum Q & A discussion forum
HomeGenie
MINI 1.2 — Documentation