suletom / EASUN-ISOLAR-SMX-II-CONTROL

Documentation collection about controlling an EASUN-ISOLAR-SMX-II chinese off-grid solar inverter
GNU General Public License v3.0
37 stars 12 forks source link

protocol #14

Open bkw2023 opened 5 days ago

bkw2023 commented 5 days ago

PS_RS232_Protokol.pdf

hi, cable RJ45 to WiFi plug pro 05 has only 4 wires connected. this are for the RS232. eason was so kind to send me this pdf. may it helps you. I work on the RS232 side. actually I prepare may hardware connection, so I have not tested this protocol. on WiFi side I only got response on ping. now I will check out UDP. but I am not very familiar with this. first I have to find a tool on windows or a example in delphi6. regards

suletom commented 4 days ago

Hi!

This protocol is not relevant here, because "SMX II" inverter is originates from SRNE 3KW -> HF2430S60 5KW -> HF4850S80 and uses MODBUS protocol. What you linked is for inverters that originates from VOLTRONIC, for example Easun SMG series, i think.

To sum up, this is relevant document for these SRNE (MODBUS protocol) inverters, if you want to implement cable serial communication: https://www.midnitesolar.com/pdfs/Solar_inverter_charger_communication_protocol.pdf

The manufacturer of the "plug pro" devices makes custom integrations for various inverter protocols, so there exists "WiFi plug pro 05" for various kinds of inverters, for example the Easun SMG series also has plug pro but with different software.

If you are not interested in SRNE inverter, you can probably still use this script to handle plug pro related commands. I successfully tested the following on other inverters:

{"name": "get_wifi_device_id","cmd": "{SEQ}0001000aff01160b0a16102d012c"}, {"name": "set_wifi_ssid","cmd": "{SEQ}0001{LEN}ff0329{ARG2}"}, {"name": "set_wifi_pw","cmd": "{SEQ}0001{LEN}ff032b{ARG3}"}, {"name": "restart_wifi","cmd": "{SEQ}00010004ff031d31"}, {"name": "factory_reset_wifi","cmd": "{SEQ}00010004ff031d32"}, {"name": "get_wifi_device_info","cmd": "{SEQ}00010003ff0205"}, {"name": "get_wifi_device_id","cmd": "{SEQ}0001000aff01160b0a16102d012c"},

For example on a "PowMr 6.2 HWM" that also uses MODBUS protocol the script worked well (also modbus parameter query worked after specifying the needed registers)

BTW i haven't tried the script on any plug pro that doesn't uses MODBUS, but i would be interested in trying.