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
(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
Hi, interesting, maybe it is time to retry..... How do you set the dongle in the app? can you share the screen shot? Another info, do you lose the cloud if you connect the modbus?
Thanks for the feedback
BR Cristian
No, You don't lose fusionsolar connection when controlling and monitoring inverter over modbus TCP.
I made system what I'm offering to my clients. When electricity price is low then sending command to inverter that it's time to buy from grid and charge battery. If price is high then sending command that it's time to sell.
So far have integrated SUN2000 over dongle and SmartLogger3000.
Same system works on SolarEdge and Goodwe inverters (if they have battery packs)
Let me know if you have any additional questions about connection...
No, You don't lose fusionsolar connection when controlling and monitoring inverter over modbus TCP.
I made system what I'm offering to my clients. When electricity price is low then sending command to inverter that it's time to buy from grid and charge battery. If price is high then sending command that it's time to sell.
So far have integrated SUN2000 over dongle and SmartLogger3000.
Same system works on SolarEdge and Goodwe inverters (if they have battery packs)
Let me know if you have any additional questions about connection...
Hi, well done, as fast as possible I go from client with Huawei I will try.
Thank for sharing with us your experience.
BR Cristian
(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.
(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.
(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.
Hi Fleecable,
i think there is something wrong in your profile as you did not specify the bus_datatype, just the datatype
further i see you mis also some datapoints of the list from Huawei, i would add all and just map the ones you need
further you get for example grid voltage in as 5000 but this must be devided to 50.00 Hz
(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.
Hi Fleecable,
i think there is something wrong in your profile as you did not specify the bus_datatype, just the datatype
further i see you mis also some datapoints of the list from Huawei, i would add all and just map the ones you need
further you get for example grid voltage in as 5000 but this must be devided to 50.00 Hz
Hi,
May I ask you how have you read the modbus? RTU or TCP? Which is the dongle or inverter firmaware version?
So I can help you to write a correct json.
Best regards Cristian