Skip to content

A simple script to monitor a Y&H "hubrid" solar inverter via RS232 and submit results to MQTT

Notifications You must be signed in to change notification settings

lukolszewski/yhinvertermonitor

Repository files navigation

A simple script that fetches data from a Y&H invereter every second or so (via RS232 and modbus RTU) and pushes to a MQTT queue.

It makes recording stats and control of the inverter with Home Assistant possible. Autodiscovery makes setup relatively simple.

Some things are defined in the config.yaml, others in the code.

This is an early testing version.

Register data was used from here: https://github.com/odya/esphome-powmr-hybrid-inverter/blob/main/docs/registers-map.md

As well as extras defined in the docs folder.

Few screenshots below:

Device as autodiscovered in MQTT section of Homeassistant: MQTT device

Controls added to a dashboard with single click from autodiscovery page: MQTT controls Adding additional controls is also possible.

An example dashboard showing history (dashboard included in docs/dashboards folder): MQTT device

About

A simple script to monitor a Y&H "hubrid" solar inverter via RS232 and submit results to MQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages