[APP][Pro] SolarEdge + Growatt TCP modbus

Actually I did---- nothing is happening…which could be the right IP Address??

It is really strange…the solaredge inverter app works perfect… on HA…works perfect…only this app does not work :slight_smile:

1 Like

ip adress you can see on your router dhcp I guess. maybe they show this on your invertor menu.

else you can install python3 and do pip3 install solaredge_modbus

download this script solaredge_modbus/example.py at 64b604487982c38a9af96b3513733497731a7c60 · nmakel/solaredge_modbus · GitHub

python3 example.py --timeout 5 --unit 1 --json yourip 1502

Guess the problem is that our PV runs via Sonnen. I can see right IP address in router but that ip address does not route to solar edge inverter but to another website designed by Sonnen. On that site is a json api and a webhook api available…

Going into python is too much hustle for me really :-)… the solar edge inverter software should be good enough… and the mysolaredge app is perfect…

But thank you so much for your help

You can only connect ONE modbus tcp client.
If you want to switch to another, make sure the other one doesnt try to connect, and even better reboot the inverter.

If you want to use both HA and Homey, you have to use a separate modbus client+ server

Somewhere on your inverter you can also see an overview with ip address, modbus port and the modbus status.

I am maybe ‘lucky’ with an inverter with display, so that is easy to see when it is connected

Guess I found my fault :slight_smile: I selected RS485-1.

But I am wondering…HA did not ask for Modbus TCP…just the API and system ID

Than you are not connected with modbus, but by api. This updates every 15 minutes.

Homey also has the api app, it l’s called ‘solar panels’

Yes…I know…works perfect :slight_smile:

Yesterday I installed a load balancer from charge amps called amp guard. Now suddenly I can not connect to my inverter anymore, any tips? Has been working perfect until now

Thanks Pieterv123,

Het zou geweldig zijn als je de SolarEdge 3fase inverter kan uitlezen per fase👍

Ik kijk er naar uit, alvast bedankt.

Is it possible to use a different port? Now I use 1502 in my solar edge system

you can use any port you want, as long as it is configured the same in inverter + app

1 Like

Hi,
(English forum)

I am moving to HA, so I will no longer support the app in the future.
If someone wants to take over the app, always welcome.

Hey,

Do you know why I do one flow with some storage control mode with some value like Time of Use , execute it once and then disable the flow , it will still set this every x seconds with ToU as value. even when I disable the flow again. A flow action should not do this. now when I change it from the invertor , homey app will put it back.

plus on on init you set some default values com.solaredge/device.js at test · djfanatix/com.solaredge · GitHub

thanks

I can take over the app , already do 4 more homey apps. but my issue is I have a hd wave and I think you use the other storedge solution.

Really hard to support this all when you only have 1 solution.
for me it works fine and is stable .

1 Like

Hi,

The default values at init are to declare the variables, I put it on 10 because 0 is used but the inverter.
Otherwise the app crashes
After booting it will receive the correct values from the inverter.

As far as I remember it will compare the value which it received from the inverter with the one stored in Homey.
If there is a difference, it will change the variable in the inverter. (so change the mode)
Sometimes the inverter doesn’t accept a change because the workflow is not respected, so then Homey will keep trying to change the value.

For example if your storage control mode is on ‘maximize self consumption’(default), it is impossible for the inverter to change the remote control mode to for example ‘charge from AC’

I have also a HD Wave, but the old one with a display.

With all the different inverters and configurations it is difficult to maintain this app.
Also I have zero programming experience, so I googled most of the stuff to make this app.
It is time consuming for me.

yep, it is impressive what you achieved. really great.

with modbus do you think I can separate retrieving and updating part. I like to do only this change when the user ask for it. otherwise just retrieve the values.

let me try something in your app and with python. to get a better understanding of this.
Also will try get it all in 1 go and without specifying what I want to see. maybe I need a diff nodejs package for this . but will see.