diy solar

diy solar

Turn on/off Deye/Sunsynk hybrid inverter via modbus protocol

Eduard Zozulya

Software developer
Joined
Jan 20, 2023
Messages
24
Location
Ukraine
I have two questions, I will be sincerely grateful for your help.

The first question:
Can I turn off/on or put the inverter to "sleep" mode by sending a modbus command to it?

The second question:
What does register 043 of the modbus protocol mean. They named it as: "Switch on and off enable"

Thank you!
 
Have you figured out what the register 043 means?
I'm also looking the ways to turn off inverter remotely
Something is happening, but what it is is unknown.
When I sent a command to the slave inverter, the slave and the master stopped generating to the load.
The master issued an error about the loss of communication with the slave.
Both inverters continued to be powered by the battery.
Master error: F41
Slave error: F08
 
Last edited:
For info: I tried modbus ON/Off on a 12kW 3 phase SunSynk inverter. The registers are different.
In python using minimalmodbus the instructions were:
sunsynk_I.write_register(80, 0, 0, 16, False) # turns the inverter OFF
sunsynk_I.write_register(80, 1, 0, 16, False) # turns the inverter ON
worked really well. No current from battery (confirmed using Victron Smartshunt) and ~1W to inverter from grid - a reduction of ~100W.
see attached file - change from ~.txt to ~.py
 

Attachments

  • writeOFF.txt
    916 bytes · Views: 35
For info: I tried modbus ON/Off on a 12kW 3 phase SunSynk inverter. The registers are different.
In python using minimalmodbus the instructions were:
sunsynk_I.write_register(80, 0, 0, 16, False) # turns the inverter OFF
sunsynk_I.write_register(80, 1, 0, 16, False) # turns the inverter ON
worked really well. No current from battery (confirmed using Victron Smartshunt) and ~1W to inverter from grid - a reduction of ~100W.
see attached file - change from ~.txt to ~.py
Thank you for the answer.
I think the Deye would also turn off without problems.
The problem is that I have a parallel system of two inverters, one of which I turn off.

I do not have a description of modbus commands for three-phase inverters.
Could you please share this description with me?
Thanks!
 
Hey, do you know if there are any additional steps required to write to registers 43/80? I tried to modify reg 43 and observed that it changes, but after a couple of seconds, it reverts to the previous value. Any thoughts?
 
Back
Top