Open-source firmware that turns a small ESP32-S3 board into a reader for your solar inverter.
Why I built it #
When I moved into my house, the inverter was already there: a Zeversolar. I spent months looking for a decent way to read it out. The one project I found ran on a Raspberry Pi, and its documentation only covered a Raspbian version that was long out of date. I updated part of those docs myself and opened a pull request. It’s still waiting for a response.
Then I came across Waveshare’s ESP32-S3 boards with RS485 built in, and an idea started nagging at me. This could be a much lighter way to read the inverter, and in my view a more stable one. I started with my own inverter and kept building from there.
What it does #
Heliograph reads your inverter over RS485 and makes the data available wherever you want it: MQTT with Home Assistant auto-discovery, Modbus TCP, a REST/JSON API and Prometheus metrics. It runs on the Waveshare ESP32-S3-RS485-CAN board.
It isn’t tied to one brand. Inverter support is defined in profiles, and you can add your own as a TOML file. If your inverter has an RS485 port, there’s a good chance you can get it working.
Status #
The Zeversolar and EverSolar TL series is where this started, and that part is stable: a TL3000-20 on my own roof and a TL1500 at its owner’s. The TLC series is in beta, on a contributor’s TLC8000 that runs in production at their place. Everything else is experimental. Fourteen Modbus maps ship, for Deye, GoodWe, Growatt, Huawei, LuxPower, Sofar, Solis and Sungrow, and not one of them has met a real inverter yet. The same goes for SunSpec and SolarMax. SolaX X1 has had a single attempt in the field and got nothing back. Heliograph can control your inverter too, but only if you want it to: out of the box it only reads, and you switch control on yourself with “Allow control”.
Looking for testers #
The hardest part so far is finding hardware to test on. I only have one inverter. If you have a Growatt, a SolaX or anything else with RS485 and want to help, open an issue on GitHub.
MIT licensed · github.com/Timdebruijn/heliograph
