$ show davidrapan/ha-solarman
This repository is a Home Assistant custom integration for communicating with Solarman Stick Loggers to monitor and control solar inverters. It uses Modbus TCP/RTU to read/write inverter registers, exposing the data as Home Assistant entities (sensors, switches, etc.). The integration includes a device discovery mechanism via UDP broadcast, a configuration flow for setup, and a coordinator for periodic data updates. It also provides services for arbitrary Modbus register operations. The inverter definitions are stored in YAML files that specify the register mappings and sensor configurations for various inverter models.
The LLM identified 1 files worth highlighting for reuse:
A vendored Modbus TCP/RTU client/server library (based on umodbus) that provides a self-contained implementation for Modbus communication. It is isolated from the Home Assistant integration and can be used in any project requiring Modbus.