Solution: Reading Solax SK-SU5000(E) inverters & SDM630V2 Modbus Power Meters

Batteries still fighting with each other

You should not use sudo with pip3. It can cause unexpected issues.

A post was split to a new topic: Solax Hybrid Gen 2 (SK-SU5000E) export control not working

Hi deece.

I am new here to learn how to get data from my Solax Su-5000 via modbus. This works, however, the connection is very unstable and I was thinking about a firmware update. Unfortunately I do not find a version to download.

Can you share Solax_SI_CH_2nd_20160912_DE02 with me?

Greetings from Germany,

Jan

Just replying to an old thread, Thanks to @deece my setup has been working ok for a few years now.

I did try a new emonpi image but could not get the dependences correct. is they any plans on updating the code to support newer version?

Also to report the EPROM as not died yet!

Huh, I thought I had added a requirements.txt, but it looks like I missed it.

The troublesome one you want is:
pymodbus==2.5.3

2 Likes

Also returning to this old thread. I have it working for my SK-SU5000 and only with the intention of writing realtime data from the inverter into InfluxDB on HA.
The data shows in Influxdb but there are no entity_ids created for the data values so by default it gives me a query like:

SELECT mean("Battery Power") AS "mean_Battery Power" FROM "powersNtemps"."autogen"."solax" WHERE time > :dashboardTime: AND time < :upperDashboardTime: GROUP BY time(:interval:) FILL(null)

instead one that should look like

SELECT mean("value") AS "mean_value" FROM "powersNtemps"."autogen" WHERE time > :dashboardTime: AND time < :upperDashboardTime: AND "entity_id"='Battery Power' GROUP BY time(:interval:) FILL(null)

Consequently the influxdb data doesn’t come across to Home Assistant as entities. Unfortunately this is beyond my python skills to navigate.


Any tips on how to fix this?
TIA.

Any pointers on this error. I have just loaded the latest EmonPI image.

I can run ./powershaper.py

I have installed the service, but when I try to start i get this error


pi@emonpi:~/PowerScraper $ sudo systemctl status PowerScraper.service
Ɨ PowerScraper.service - Power Scraper
     Loaded: loaded (/etc/systemd/system/PowerScraper.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sat 2024-11-16 17:10:59 GMT; 3s ago
   Duration: 9ms
    Process: 2503 ExecStart=/usr/local/PowerScraper/power_scraper.py (code=exited, status=203/EXEC)
   Main PID: 2503 (code=exited, status=203/EXEC)
        CPU: 2ms

Nov 16 17:10:59 emonpi systemd[1]: Started PowerScraper.service - Power Scraper.
Nov 16 17:10:59 emonpi systemd[1]: PowerScraper.service: Main process exited, code=exited, status=203/EXEC
Nov 16 17:10:59 emonpi systemd[1]: PowerScraper.service: Failed with result 'exit-code'.

Does /usr/local/PowerScraper/power_scraper.py exist and is executable?

Thats the fault :wink:

It was in /home/pi/PowerScraper.

Whats strange is it was in the home folder on the old image and it worked.

1 Like

Try looking at the system logs -

In one window run;

journalctl -f

And restart the service in a different window.

Does this run from the command line? Are all dependencies installed?

Hi @borpin

Yes I can load it manually without any errors. the problem is where I stored the program.

Yes I Did :cry:

I bricked my SK-SU5000E during Firmware upgrade process …
I could only send the manager firmware with the software found here, the inverter asked me on the screen to reboot, So I did, and now it’s bricked with 2 black lines, no response via Ethernet.
I can only connect by Wifi, It shows ā€œInverter type: X3_20K_30Kā€ instead of ā€œInverter type: Hybrid_2thā€. (Wrong firmware surely)
I can access the system page, and could send a firmware package, but can’t find one on the net.
Ver: Solax_SI_CH_2nd_20160912_DE02
Idem via the JTAG port, which firmware should I push @deece
Help !

Thanks,

Regards,

–
Veance

Pm me your email address, and I’ll see what I can do

1 Like

Were you able to restore the firmware? I’ve done something similar :frowning:

I have the SK-SU300E - On the basic webinterface it’s showing that it’s running Ver: Solax_SI_CH_2nd_20150211_DE01, but using the SOLAX_upgrade_V1.2.exe app, I was able to upgrade the Manger and the Charger, but not the Inverter. Kept on getting the DSP not ready! error.

Using the same tool, it’s now showing the Manager and Charger with the upgraded firmware, but on the web interface it’s showing Ver: Solax_SI_CH_2nd_20150211_DE01, and in the Inverters local interface, the old versions are showing.

Searched everywhere and can’t find a copy of the Ver: Solax_SI_CH_2nd_20160912_DE02 firmware, would be grateful if anyone could share it.

Thanks!