[APP][Pro] SolarEdge + Growatt TCP modbus

Your battery has a Homey app and is connected in Homey?

In advanced setting:

Theb you see your battery in the energy tab:

Have anyone successfully managed to create a virtual home battery device compatible with the Energy tab?

I have a Sigenergy system (hybrid inverter) and can’t seem to get it to work…

1 Like

@Edwin_Biemond this looks like a great app with great support. Right now I am unclear whether or not it will support my SOLAX setup. I have searched through this forum and found only two references to SOLAX. Looking at the change log and the git repository, I can only see references to Solax Ultra. I have a Solax X1-Hybrid G4, with 5kW battery attached and supported with solar PV too.

I currently use this app on my Homey that serves very well to provide the data that I use to monitor performance over Modbus. That app does not allow me to change the operation mode or other operational parameters (basically “read only”).

The app supported so actively here seems to provide the control capability I am seeking alongside similar levels of data insight. If my configuration is supported then I will invest the time and effort in moving over. I will not be able to run the two apps in parallel since the other app locks Modbus for it’s sole use.

If the Solax X1HG4 is not currently supported, then I am happy for my home to become a testbed.

hey,

you can send me diagnostic report and can take a look. Also I have this doc Hybrid-X1X3-G4-ModbusTCPRTU-V3.21-English_0622-public-version

I have solax with battery and solax ulta with batt.

I added this in may solax ultra · biemond/solaredge.modbus@9b55e1b · GitHub

There are by the way modbus proxies to solve your multi connection problem, some docker and python I think.

1 Like

Hi Edwin. Thanks for getting back so quickly. As so many others have commented, the level of support you provide is exceptional. Right now I am not in a position to test things out - in particular I don’t want to to make changes to my setup while I am not around. Once I get back I will install the SolarEdge app and try things out. I guess I can disable the app I am using now - hopefully that will avoid any conflict through locking Modbus.

In the meantime, I have received the Modbus document that relates to my Inverter (identified by SN :wink:). Here is a link… so you can compare this with the doc you already have. I note it’s a later version but its not clear that the changes are significant - though they do include all the new TOU features. I am unsure how my beast differs from the Ultra, but from comments in other forums it seems that the Modbus stuff for each model is different enough to make problems.

Thanks again and I will get back to you with diagnostics.

Hi Edwin. Further to my previous reply, I went through the GIT repository as carefully as I could (given I am unfamiliar with the architecture of the app) and compared it with the new Modbus document. I came up with a few comments, but do not believe any of them to be material:

File: drivers/solax.ts (device module)

inputRegisters - no observed differences except minor textual changes in some descriptions

inputRegistersUltra - items from 0x0122 are described as “REV for VPP” - mostly affects “battery2” fields

holdingRegisters - SolarChargeUseMode has new values 4=Peak Shaving; 5=TOU

holdingRegistersUltra - items labelled Battery_*_1 and Battery_*_2 are defined differently

But… I guess that the …Ultra objects will not be relevant.

File: solaxwithbatt/device.ts

I don’t fully understand the architecture or the logic (lack of experience) but nothing jumped out here.

File: solaxwithbatt/driver.ts

Just Homey stuff.

Based on this I see no reason why the app should not work for my inverter and battery. Will let you know the outcome of my tests…

1 Like

Hi everyone. I’ve just had SolarEdge system with battery installed and trying this app and the API based SolarEdge app to get all the data I need for the Homey Energy tab. I think I’ve pretty much got it all working except that for the battery I currently only have instantaneous charge / discharge power (in W) but not cumulative energy (in kWh) for charge and discharge. I’m happy enough creating a virtual device for the battery to get these in if only I can get my hands on the data points.

Does anyone know the easiest way to do this? Preference would be if there’s a way to get that data direct from the SolarEdge system via this app. If that’s not possible, I guess perhaps there’s some way to calculate the cumulative values using the instantaneous values over time?

@Edwin_Biemond Following up on the above, I read through the SolarEdge docs at the link you gave in post 1 (https://www.photovoltaikforum.com/core/file-download/85275/) and found on page 19 to these two battery statuses being available:

  • Battery Lifetime Export Energy counter
  • Battery Lifetime Import Energy counter

Which are exactly what I need. Are they the two values that appear as “Total Export” and “Total Import”? I had previously assumed that referred to import and export from/to the grid but perhaps not?

hey need to check those 2 and see if it works for me.

Hello everyone,

I want to keep the excessive amount of energy production by my solar panels within certain limits. I am using this SolarEdge TCP modbus application to set the Active_Power_Limit to a specific value (per month). The values I am using ensure good/very good ‘self consumption’ and assure that at the end of the year I produced exactly enough to be kWh neutral over the whole year (in Dutch: ‘salderen’).

Noticed that sometimes the Active_Power_Limit is set back to 100% at moments where it still should be a reduced value (unclear what triggered this). Initially I thought that setting the Active_Power_Limit when “It is daytime” and after the inverters started producing (> 0.2 A) would do the job, but still sometimes even during daytime ‘something happens?!? (still not clear what, because production does not drop to zero which I checked).

Unfortunately there is no “When” Active_Power_Limit changes chart, because that would make life easy. I also do not want to check e.g. every 5 minutes if the value is still correct. Currently I am using “Status Changed” in combination with a few minutes delay which works well (but there are more changes that could trigger this then only inverter becomes active). So I have the impression that too many messages are send to the inverters.

Question: is there maybe a smarter more elegant way then the last option to check if the Active_Power_Limit changed e.g. no longer 23% and only when the value changed (during daytime) set the value back to 23%?

Thanks in advance for your ideas and suggestions.

Best regards, Jean

hey

you can do dynamic prices , I heard, it was a great summer for this. but it can be after 6 hours , it will be auto reverted to the default. see the same on remote control.

Can be solaredge is doing that because you did something on the solaredge mobile app.

but if I were you I would install meters after that you can define some export limit and solaredge will adjust every x sec its active power to match your defined limits.

1 Like

Hello Edwin,

Do you think it would be possible to add a new flow card for when “Consumed power changes” for Sigenergy?

Normally I’d use my Tibber Pulse for this, but due to it’s placement the connection drops multiple times per hour, which is not ideal for load balancing my EV :sweat_smile:

Sigenergy on the other hand is rock solid, so by adding this flow card I could use this reading instead.

Thank you in advance and for the awesome app that’s already in place!

Hi @Edwin_Biemond could you direct me which register you use to read the PV input of the Sigenergy?

And did you use SunSpec to get the modbus registers from Sigenergy?

let me check, I can add the trigger and hope homey works on that out the box. sometimes I see I need to push those events.

1 Like

here we go solaredge.modbus/drivers/sigenergy.ts at main · biemond/solaredge.modbus · GitHub

Hi Everyone. I use this integration to get my sigenergy systems data into Homey Pro (works well!). However id like to get the battery and grid data showing in the homey energy tab. Any ideas how to do this? I’ve tried with virtual devices mapped to the sigenergy device but nothing every shows in the energy tab. I see some references to this issue above but no posted solutions. Help greatly appreciated. Thanks.

still hoping, homey comes with a solution for this, data is all there even for P1 , they are aware of this but keep on asking for it , more requests increases the priority

From the app side, if I do it there are some challenges , not all inverters can handle multiple modbus connections, offcourse you can solve this with some modbus proxy in front or connection handling on my side.

plus I need a total batt charge /discharge not every has it , saw on signenergy I added the daily ones.

Also with inverter & battery measure power is PV - charge + discharge so energy is correct again. I guess in this case you want PV only, so all matches again.

2 Likes

Hello i am wondering what settings you use whit Emma?, i cant get it working whit my homey.

Kind regards Crister from Sweden

First, you need to switch to Modbus in the installer menu and then enter your Homey’s IP address there. Emma can only have one Modbus connection at a time. If you have DHCP in your network you should give the homey and Emma a fixed address.

1 Like