HexaOS

What is HexaOS

HexaOS is an embedded operating platform for ESP32-class microcontrollers. It gives serious firmware products a clean, long-term maintainable architecture without turning the project into a bloated framework.

Architecture

HexaOS is organized around clear layer ownership rather than deep inheritance trees. Each responsibility belongs to one layer:

  • Core — supervisor, registry, RTOS/memory, config, state, logging, time, command engine.
  • Adapters — bridges to ESP-IDF, buses, storage, external APIs.
  • Handlers — internal domain owners with stable APIs and policy.
  • Protocols — stateless framing/PDU codecs (Modbus RTU, PACE).
  • Services — composed runtime behavior with lifecycle via the supervisor.
  • Commands — frontend-agnostic command execution.
  • Interlibs — small shared helpers that own no domain.

What it runs

A built-in web UI for configuration and diagnostics, live telemetry and a recorder, sensor acquisition and protocol polling (I²C, UART, Modbus), MQTT publishing, display and touch subsystems, OTA updates, and recoverable boot with safe mode and panic handling.

Who it's for

Automation and smart-home devices, industrial and energy-monitoring gateways, local control panels, protocol bridges, and long-lived custom firmware platforms.