[App][Pro] Sofar (Release 1.1.24, Test 1.1.29)

I have submitted a new app to the store that supports some model of Sofar inverters.

The app is currently limited to a few inverter models as the information is not always stored in the same registers. If anyone can find the register details of other inverters I will gladly add support for them in the app.

1 Like

Hi @Adrian_Rockall

I have a Sofar converter and a battery connected to it.
Can you help me a bit on how to add these to homey? (In dutch is also ok :slight_smile: )

I guess I have to add some settings before i can add a device?

If the device is supported by the app, it will be found when you add it to Homey.
Could you open the app settings page and send the Diagnostics log.

Hi Adrian,

your App was working great over the last 6 month - just perfect. I could see the data refresh rate in seconds (realtime) much better than the official sofarman app itself. But since a few weeks (beginning of December) the app is freezing. I dont know why this happens. If I restart the app it works again for est. 3 min. than its freezing again? So I created a flow thats restart the sofar app every 10 min., but of course that not so much reliable and it works not every time. And what I saw as well, is that one (or more) criterias (e.g. “Grid Export”) is gone?

Hmm, that’s strange, my worry is that your Homey is having memory issues.
Could you enable the log in the app settings page and after it freezes send the log. Maybe send a normal diagnostics log when it freezes as well.

I sent you the log data yesterday. I don’t know if you already recognize the problem from this. But the two screenshots also look suspicious…


@Adrian_Rockall Im trying to add my inverter in the log o see he is found but message is returning null

What is the make and model?

The app is not getting a valid response from any of the known grid frequency registers, so it doesn’t have a valid map.

Sometimes there is a document with the firmware download that specifies the registers.

Hi, first of all I wann say thank you for the app. It’s ist working almost perfekt expect the current consumption for the inverter ist not working. It always says 0 and last checked 2 days ago. All other stats are in realtime. Do you have an idea what the problem might be?
It’s a HYD 20KTL-3PH

Could you open the app settings page and select the Diagnostics Log and enable it. Then wait for the list to update and then tap on Send Log.

The app is reading register 048A hex (1162 decimal) ApparentPower_PCC_Total, and the log shows that 0 is being returned form that location.

So I have checked the other values and register 0485 hex (1157 decimal) ActivePower_Output_Total might be better as that is showing a value of 9.35 kW. Does that sound as if it could have been correct?

All the other power registers are unlikely:

Address		Dec. data		Hex data	Dec value
1156 0x484   19,139,		0x13, 0x88 = 50.00 HZ
1157 0x485   3,167,			0x03, 0xA7 = 9.35 kW
1158 0x486   0,10,			0x00, 0x0A = 0.10 kW
1159 0x487   0,0,			0x00, 0x00 = 0.00 kW
1160 0x488   255,255,		0xFF, 0xFF = 65535 kW
1161 0x489   0,0,
1162 0x48A   0,0,
1163 0x48B   0,0,
1164 0x48C   0,0,
1165 0x48D   9,2,			0x09, 0x02 = 230.6 V

I have published a test version that has a Power Flow widget:

If there are any arty users out that would like to provide better images / suggestions to make it look nicer, please feel free to contribute :wink:

1 Like

I have updated the widget to include energy values:

1 Like

@Adrian_Rockall what does this mean ?

Found the inverter but can’t add it
Send you an log

The inverter is not reporting the grid frequency via any of the known registers.

Do you have access to the MODBUS register document?

What is the model?

Ah omnik/solarman I thought it worked with your app in the past that’s why I installed it

My previous app supported Solarman, but they imposed strict rate limits on their API, so I had to withdraw it.

So sad because there is an omnik app but the developer is gone and have some wishes so it is possible to implement

Hi @Adrian_Rockall, thank you for your job.
Is the sofar app for Homey compatible with Sofar Solar HYD6000-EP ?
How can i add this inverter to homey app ?
I have added the sofar app to homey Pro ant she recognised the inverter.

  • 2025-04-17T19:22:05.989Z
    ************** App has initialised. ***************

  • 2025-04-17T19:22:06.004Z
    2025-04-17T19:22:06.004Z [log] [ManagerDrivers] [Driver:battery] BatteryDriver has been initialized

  • 2025-04-17T19:22:06.009Z
    2025-04-17T19:22:06.009Z [log] [ManagerDrivers] [Driver:grid] GridDriver has been initialized

  • 2025-04-17T19:22:06.013Z
    2025-04-17T19:22:06.013Z [log] [ManagerDrivers] [Driver:solar_panel] SolarPanelDriver has been initialized

  • 2025-04-17T19:22:06.017Z
    2025-04-17T19:22:06.017Z [log] [ManagerDrivers] [Driver:summary] InverterDriver has been initialized

  • 2025-04-17T19:22:11.175Z
    Found Inverter: IP: 192.168.0.38, S.No: 2768796139

  • 2025-04-17T19:22:11.179Z
    Checking register 14 for grid frequency:

  • 2025-04-17T19:22:11.184Z
    send_request: start = 14, end = 14, fc = 3

  • 2025-04-17T19:22:11.290Z
    No MODBUS data to process data

  • 2025-04-17T19:22:11.295Z
    Returned null.

Checking register 1156 for grid frequency:

  • 2025-04-17T19:22:11.298Z
    send_request: start = 1156, end = 1156, fc = 3

  • 2025-04-17T19:22:11.446Z
    Data received: {
    “type”: “Buffer”,
    “data”: [
    23,
    118
    ]
    }

  • 2025-04-17T19:22:11.453Z
    Frequency 60.06 is not valid

  • 2025-04-17T19:22:11.454Z
    Returned null.

Checking register 524 for grid frequency:

  • 2025-04-17T19:22:11.456Z
    send_request: start = 524, end = 524, fc = 3

  • 2025-04-17T19:22:11.585Z
    No MODBUS data to process data

  • 2025-04-17T19:22:11.587Z
    Returned null.

Checking register 33282 for grid frequency:

  • 2025-04-17T19:22:11.589Z
    send_request: start = 33282, end = 33282, fc = 3

  • 2025-04-17T19:22:11.694Z
    No MODBUS data to process data

  • 2025-04-17T19:22:11.698Z
    Returned null.

Checking register 33282 for grid frequency:

  • 2025-04-17T19:22:11.701Z
    send_request: start = 609, end = 609, fc = 3

  • 2025-04-17T19:22:11.804Z
    No MODBUS data to process data

  • 2025-04-17T19:22:11.808Z
    Returned null.

No suitable inverters found

What frequency is your power supply?

If it is 60hz then I need to tweak the check value.

1 Like