This repo enables access to Deye Hybrid Inverters & Deye branded inverters like Sunsynk through a Python 3 library. It also provides an Add-On that can be installed in the Home Assistant OS.
This code was developed on a Sunsynk 5.5 kWh inverter.
DISCLAIMER: Use at your own risk! Especially when writing any settings.
Refer to https://sunsynk.wectrl.net/
For the Add-On you require Home Assistant OS and a RS-485 adaptor to connect to your Sunsynk inverter. Sensors are read using the Modbus protocol and sent to a MQTT server. See deployment options for examples of tested hardware.
-
Add this repository to your HA Supervisor
https://github.com/maslyankov/sunsynk
-
Install the Sunsynk Add-On from the Add-On Store and configure through the UI
Below an example of the HomeAssistant Energy management dashboard using sensors from the Sunsynk.
The Python library is available through pip: pip install sunsynk
Special thanks to Johann Kellerman (kellerza) for creating and maintaining the original Sunsynk library and Home Assistant integration. His work laid the foundation for this project and has been instrumental in helping many users monitor and control their Deye/Sunsynk inverters.
Thanks also to all the contributors who have helped improve this project through:
- Code contributions
- Bug reports and testing
- Documentation improvements
- Hardware compatibility testing
- Community support and knowledge sharing
Your contributions have helped make this project better for everyone in the community.
For a complete list of contributors, please see the GitHub contributors page.
Apache 2.0 | Copyright © 2021-2025