Tuesday, January 6, 2026

OHS_2 Gateway Release 1.5.5

Release 1.5.5 brings significant updates centered around ChibiOS migration and new communication features.

ChibiOS 21.11.x Migration

The gateway has been migrated from ChibiOS 20.3.x to the latest stable version 21.11.x, which is now the primary RTOS version for OHS_2. This major update required extensive work including migration to kernel 7, backporting custom Ethernet and RS485 changes, and updating the modem component to the new UART API. A float number display bug in the web interface was identified and fixed shortly after the initial migration.

SMS Command System

A new SMS command feature enables remote control through text messages using a hierarchical command dispatcher library. The system parses incoming SMS messages and routes them to specific handler functions that can execute actions and respond back to the requester. Security is enforced through phone number verification against stored contacts. The implementation includes a built-in help system that leverages the static command structure for user guidance.

MQTT Improvements

MQTT processing received several enhancements focused on reliability and functionality. A dedicated worker thread now handles incoming subscribe events, moving processing out of the data callback to follow lwIP best practices for ISR-like callback handling. A new /OHS/set/zone/refresh and /OHS/set/group/refresh subscribe topic was added, allowing all enabled zone or group states to be republished to MQTT on demand without requiring a payload.

Home Assistant Integration

Home Assistant auto-discovery support was added for sensors, enabling automatic configuration of OHS sensors that are directly supported by both platforms.

The release is available for download with the OHS_F437.bin firmware binary.