Currently, I am working on multiple features:
- Push data via rest to extern Application here
- Implement Logic to add and Monitor Deye Sun,Bosswerk Inverters, here
- Both combined, here
- manuel startupdate (So opendtu works without npt and manuel setting date after boot,date and time obviously not correct)here
- servo engine that views solar power (looks like this) here
This feature Branch is intended to read out Deye Sun Micro PV Inverters and make use of the original project UI and features
The esp will connect via Network(udp) to the configured ip/hostname and port of the Inverter. It will read all data every 5 minutes (more is not supported by device) Reachable check will be done more often.
Original implementation for Hoymiles inverts will work in parallel
Tested with model: SUN300G3-EU-230
- Reading data
- Configuring via UI
- Tun on and off (also "resetting" if led permanent red)
- Setting limit
- Showing logs
- Logs show hardware inverter errors
- restart inverter
This feature branch is intended to read out Hoymiles W-Series PV Inverters and make use of the original project UI and features.
The esp will connect via Network(tcp) to the configured ip/hostname and port of the Inverter.
The DTU-Connection code is mostly based on the code of DTU-Gateway. I just mapped it to OpenDTU project. So all problems described there with setting limit also exist here.
Original implementation for Hoymiles inverts will work in parallel.
Tested with model: HMS-800W-2T
The only real supported inverter by Serial is currently the 'HMS-800W-2T' because i dont know the other serials-number prefix to recognize them. So every other W-Series inverter will be shown as 4-PV input inverter.
Support for 6T invertes not done yet
- Reading data
- Configuring via UI
- Setting limit
- restart inverter
- Logs show hardware inverter errors
I have implemented an application that monitors solar systems on a server with graphs, statistics and all the cool stuff!
For getting data on this application this fork has a new feature that sends the current inverter data via rest to the application.
If you are interested in the application or the rest definition for your own application check out the project.
Check out precompiled builds for dev32 board here
If you are upgrading from a version before 15.03.2023 you have to upgrade the partition table of the ESP32. Please follow the this documentation!
This project was started from this discussion (Mikrocontroller.net). It was the goal to replace the original Hoymiles DTU (Telemetry Gateway) with their cloud access. With a lot of reverse engineering the Hoymiles protocol was decrypted and analyzed.
The documentation can be found here. Please feel free to support and create a PR in this repository to make the documentation even better.
Generated using: git log --date=short --pretty=format:"* %h%x09%ad%x09%s" | grep BREAKING
* 1b637f08 2024-01-30 BREAKING CHANGE: Web API Endpoint /api/livedata/status and /api/prometheus/metrics
* e1564780 2024-01-30 BREAKING CHANGE: Web API Endpoint /api/livedata/status and /api/prometheus/metrics
* f0b5542c 2024-01-30 BREAKING CHANGE: Web API Endpoint /api/livedata/status and /api/prometheus/metrics
* c27ecc36 2024-01-29 BREAKING CHANGE: Web API Endpoint /api/livedata/status
* 71d1b3b 2023-11-07 BREAKING CHANGE: Home Assistant Auto Discovery to new naming scheme
* 04f62e0 2023-04-20 BREAKING CHANGE: Web API Endpoint /api/eventlog/status no nested serial object
* 59f43a8 2023-04-17 BREAKING CHANGE: Web API Endpoint /api/devinfo/status requires GET parameter inv=
* 318136d 2023-03-15 BREAKING CHANGE: Updated partition table: Make sure you have a configuration backup and completly reflash the device!
* 3b7aef6 2023-02-13 BREAKING CHANGE: Web API!
* d4c838a 2023-02-06 BREAKING CHANGE: Prometheus API!
* daf847e 2022-11-14 BREAKING CHANGE: Removed deprecated config parsing method
* 69b675b 2022-11-01 BREAKING CHANGE: Structure WebAPI /api/livedata/status changed
* 27ed4e3 2022-10-31 BREAKING: Change power factor from percent value to value between 0 and 1
A list of all currently supported inverters can be found here