28.06.2023, 15:55
(25.06.2023, 12:42)123einerlei Wrote:(28.03.2023, 18:32)fleeceable Wrote: You need dongle to communicate with Modbus TCP.
I have integrated two SUN2000. First unit communication is not the best (sometimes it gonna show wrong values or zero but controlling commands work). Haven't diagnosed that if problem is in the network, dongle or inverter. With other one all works like a charm. Make sure that dongle FW is latest.
Here is register list for SUN2000.
https://javierin.com/wp-content/uploads/...itions.pdf
Hello fleeceable,
Can you please share your modbus.json for the Huawei Sun2000 and battery system?
I will receive my PV system in a few weeks and would like to integrate it into my Schneider Homeylink.
Unfortunately I have never worked with Modbus.
Hi!
First I tried to use modbus template but it didn't worked out. I moved to scripting with special delays for reading and writing. On second project delays was not needed (maybe dongle firmware update has solved these problems) so you can try to use that template what I created.
I add two files template and esf file (please change "Huawei Sun2000 Group Addresses.json" to "Huawei Sun2000 Group Addresses.esf" - can't upload esf file in here) so you can import file in Utilities -> import ESF file. Then variables is created automatically. Change group address as you need...
Also you can try to edit/remove "read_delay": 1 in json file so maybe it's not needed now.
If you have any problems, let me know.