[App][Cloud & Pro]Sofar / Solarman (Release 1.1.7, Test 1.1.9)

I have created a new app for the Sofar Hybrid inverters.
The app connects locally to the inverter provided it is on the same LAN connection. It can also connect via the cloud with the Solarman API.
The local connection provides more information and updates every few seconds whereas the cloud connection updates every 5 minutes or so.

I have tested the app with the Sofar HYD3500ES inverter. Also supports G3hyd inverter, test by a user.

The local Grid device also has settings for one or two import unit costs and the time at which the cheap rate starts / finishes, plus an export cost. If this information is entered you can see the daily costs. Note, export cost shows as a negative value so it is subtracted from the total cost.

Any feedback welcome.

Change log

Version 0.0.6

  • Added support for lsw inverters.

Version 0.0.7

  • Fix Total Power for lsw inverters.
  • Added extra data to Summary / Inverter (Status, Fault code, Internal Temperature and Heatsink temperature).

Version 0.0.8

  • Prevent sending real-time update on Homey cloud.

Version 0.0.9

  • Fixed update issue for cloud history data.

Version 0.0.10

  • Check for API limit and back off to allow recovery.

Version 0.0.11

  • Fetch history once per hour but no longer on the hour to prevent all Homeys call the API at the same time.

Version 1.0.0

  • Fix OAuth so it is no longer dependent on the Athom Node modules.

Version 1.0.1

  • Fix path issue.

Version 1.0.2

  • Fix Today and Yesterday data on Cloud station.

Version 1.1.0

  • Updated to new Solarman server URL.
  • Fixed Repair option to allow authentication on the new server.

Version 1.1.1

  • Added support for displaying costs, with optional dual tariff support.
  • Added PV data to cloud station (NOTE: the old station will need to be delete and added again to get the new data).
  • Added map for G3hyd inverters.

Version 1.1.2

  • Added temperature data to cloud station.
  • Fixed bug introduced in 1.1.1 where the new data was being access on old devices that didn’t have the data.

Version 1.1.3

  • Fixed bug introduced in 1.1.2 when removing capabilities that are not available.

Version 1.1.4

  • Fixed issue caused by missing data from API.

Version 1.1.5

  • Added diagnostics message for checking local connection.

Version 1.1.6

  • Fix up map for G3hyd inverters.

Version 1.1.7

  • Fix time check for low rate.

Version 1.1.8

  • Not published

Version 1.1.9

  • Fix refresh token.
  • Fix export, standard rate import and cost today during low rate period.
4 Likes

are you still active with this app?? Installed it, could add the inverter !

SOFAR SOLAR 3000TLM-5000TLM G2 but get no data.

Cloud station gives an error.

Could you open the Configure App screen and select the Diagnostics Log tab, then enable the log (blue tick). Then restart the app and add the cloud station. Once you get as far as you can, go back to the Log and tap on Send Log.
The local connection might not work as it is a different model so I will need to look into that.

Been waiting for an app to use with my INVT inverter. INVT also use Solarman. Works fine from version 0.03 :smiley: Add inverter via Cloud Station

1 Like

Thanks for making this App! It seems to be doing great with my Omnik inverter via Solarman. I will check it out tommorow no sun production anymore. Total production passed true via the API. Could you also production of the day and from yesterday?

1 Like

Yes, it looks like I can.
I have submitted the app for publishing which could take a while and I can’t submit another test version until that has been accepted or rejected. As soon as it goes either way I will add a new test version with that information.

1 Like

Submission was rejected due to images not being up to standard. I have requested new icons from Athom and selected new store pictures. Once I have them I will publish a new test version with the history items and resubmit the app.

Really thanks I see you even got it working already ! Great!

I added the sofar tl-g3 invertier via „sofar panel“. In the Log the App found my datalogger with ip and serial number. But the device shows no data.

Is the App compatible to the sofar tl-inverters?

It’s likely that the MODBUS data addresses are different.
I will try to find out more details to see if I can add a map for it.

I have found some information but I need some conformation that it is correct.
Could you go to Homey Developer Tools
Select the Sofar / Solarman app and then the “Send Command” tab.
Next type in the number 1156 in the 'READ REGISTER" edit field and then click on send
image

Make a note of the response from the large box (where it shows 4992 in the image)
Then repeat that with the following numbers in the READ REGISTER field:
1165
1176
1187
1414

Finally report back the response to each register.

Everytime it shows „invalid Modbus Packet“

OK, so obviously not the correct address. I will keep looking.

Could you try registers:
10
11
14

By Sending 10 it logs 15 in the under field.
11 → 0
14 → 5000

OK, that looks promising. So in theory register:
10 should be the PV1 Power / 10 = 150W,
11 is PV2 Power / 10 = 0W
14 is the grid frequency / 100 = 50Hz

Does that sound about right?

Yes! That sounds Right.

Great, so it looks like I have found a good table for your inverter, so ‘all’ I have to do now is convert that into a compatible JSON structure that the app can use and then work out how to select it :wink:
I’m not sure how long it will take but I’m on the case.

Thank u much for the fast Support!
Thats Great!

I have published a new test version that will hopefully support your inverter through the LAN. Could you try that and let me know how it goes. I have no way to test it so it might not work.