[APP][Pro] SolarEdge + Growatt TCP modbus

Amazing!

I have another question, something I can’t figure out. Occasionally, when I set my inverter to ‘forced mode’ and ‘charge’, it doesn’t stick (it stays at self-consumption mode) or the other way around. It’s almost like the modbus is not accepting commands, and I have to try again (which sucks for my workflow). Do you have any idea what could be the issue?

Hey @Edwin_Biemond I have one question: While the app works great and gets me all the statistics from the Huawei system, it does not power the Homey energy parts if I see that right. Have you thought about breaking it up into virtual devices like battery, PV system, and full energy meter, instead of the inverter device bringing all data in? That could still be there, but it could then be excluded from energy to not mess up data. Like that, the flow from the roof and the batteries could be fully transparent in Homey. Thanks!

I expect the normal read is still busy and holding/ blocking the modbus connection. we can add a retry or check if it is really changed and try it again.

hey,

not really because I have to make 20 more devices when it is just a homey issue. we are asking them for a big year already ( keep asking) to add a new device class and more fields to specify it all.

basically our inverter is a 3 in 1 device with a meter, pv and battery. so I can easily specify pv daily, batt (dis) charge and grid in / out or self consumption.

can virtual devices not support this? plus measure_power is now pv - charge + discharge to keep the bookkeeping correctly and not make up energy which is not there.

but let me check with codex and see if it can do something smart , without making many devices.

with codex made battery virtual devices in a few hours

So for solaredge and growatt with batteries , can you try this new test version SolarEdge + Growatt TCP modbus | Homey

Added battery virtual devices, it will detect your batteries and re-use your device data again without doing extra modbus calls.

still measure_power on main device is showing pv + discharge - charge. will check if we can make it optional. so homey energy can be a bit off with current power.

tested solaredge inverters with lg and solaredge batteries , it seems on modbus for LG and BYD have no total (dis) charge data → SolarEdge monitoring server accumulates incremental charge/discharge readings to build the cloud totals. So you have to use cloud install but cloud will merge all batteries to 1 devices.

for Growatt like to have some feedback , pics and reports

and include:

  • Inverter model and driver: standard, TL or TLS.
  • Whether the battery bank appears during pairing.
  • Power direction: positive charging, negative discharging.
  • SoC, SoH, temperature and charged/discharged totals compared with Growatt’s readings.
  • Recovery after an app restart or connection loss.

Or do codex yourself and send me a PR ( higly appreciated)

Will add other brands later.

thanks Edwin

Since I got the latest test update last night my growatt goes offline on the modbus connection . Only the first few minutes after app restart it works . Then it goes offline

I send in a diag report

3982b5f8-bb6b-43a9-8b04-9cd9a504d95d

the new test version has an option to read all registers in 1 go , check device options. also increased the timeout option because you are using wifi and not lan.

Hello,

I experience since some time that my Solaredge inverter (SE8K) switches back from the “remote control” charge mode to “Maximize self-consumption” or “Time-of-Use”. I am not triggering this change based on a flow nor am I doing this via the app.

This behaviour makes it difficult, as you can imaging, to reliable charge and discharge the battery based on energy grid prices.

Has anyone else experienced such a behaviour? Any ideas how to keep the inverter in the charge mode “remote control”?

hey ,

it is the default , after 6 hours it will go the default. so make sure you repeat the command every x hours .

It would also be a great addition if the two flow cards shown were included, allowing for a limit to be set on their wattage.

just follow the modbus registers, keep it simple and you know your system the best

I don’t know if there is a register so I can know it and I guess you can easily calculate this yourself.

Hmm… that is unfortunate. Weird default setting IMHO.

Nevertheless, I am experiencing a fallback to the default much faster. More minutes, not hours. I am thinking to contact the Solaredge support to get their opinion. If I will get new insights I will post it here.

oh did you something on the solaredge mobile app? they will take over control

Hello Edwin,

I was looking for an app that allows me to limit the output of my Growatt MIC 1500tl-x. It turns out there is one (official Growatt app), but it communicates over the internet.

I have now set up a working Modbus connection, and with your app (Solaredge+ Growatt TCP Modbus), I can retrieve my inverter data into Homey.

However, I am missing the ability to limit my inverter. Am I doing something wrong, or is that option simply not available?

Thanks in advance.

Arno

Yes, I tried the app feature “time of use” to see if the Solaredge feature performs equally well as my setup. As I was not satisfied I wanted switch back and now I am experiencing the behaviour as described.

The app feature “manual control” can only be saved when I am maintaining a plan. If I am maintaining a plan the inverter switches to the “time of use” mode and not “remote control”.

Probably, I messed it up myself. Do you know of a way to fix this without Solaredge support?

can you check the test version of my apps. a lot of awesome people made changes/imporvements to it.

else let me know what you miss, with codex we can easily add it .

also try to push test to release soon.

never understood time of use. tried it but it was more an installer function, used it 5 years back . and some people created some profiles.

I expect in the inverter menu you can change it.

but storage control mode on self consumption should not be changed after x min.

Hi @Edwin_Biemond, @Menno_De_Braak
In feat(growatt): add target_power capability for active power rate control · biemond/solaredge.modbus@d9d196c · GitHub the target_power capability was added to rate control Growatt devices, which was added in an earlier Pull Request (by me) to the Growatt TLS driver to get it in line with Homey’s default capabilities.

Also see: [APP][Pro] SolarEdge + Growatt TCP modbus - #1809 by Menno_De_Braak and followup posts.

Problem with this commit is that it also added a target_power.json definition overriding the Homey default target_power capability which causes problems like the flow cards not showing and insights not working for that capability.

In order to get things working properly I think it’s best to remove the target_power.json file so the capability works as designed?

It’s no problem for me to create a Pull Request for it, just let me know.

Hi @DaneedeKruyff , thanks for catching this. Agreed, removing target_power.json so the capability falls back to Homey’s default makes sense. Please go ahead with a PR. I’ll test it against my paired Growatt devices (flow cards + insights) before it gets merged.