[APP][Pro] Huawei FusionSolar Manager

Hi Matthias,

thanks, plug_status is the right one. In App Settings → EMS → EV Chargers, choose it as the Keba’s *Charging state*. If it isn’t in that list yet, the next version of the app adds it and selects it for you. Please don’t leave the field on “not used”: the EMS would then take the car as never plugged in and not charge at all.

When your car arrives, I’d be glad to hear how the first sessions go, especially whether the P40 stops when the surplus is gone (see the 6 A limit from my last post).

Regards, Andi

Hej Andi!

I’m back again, utilizing your amazing app now when we yet another time have erngy crisis in north of Europe :slight_smile:

Anyways, I’m missing a flow card that could help a lot of automatic scheduling: Set TOU charge/discharge windows

I have built a script that checks my historical usage in the home, how the solar panels are producing, getting next days spot prices and by that calculate if and when I should load my batteries and when I should discharge to utilize them fully..

I get Missing scopes when I try to write to the registry 47255 and set the timings, but I can manually change them in the settings for the battery in homey(with your app), so it could probably be an easy fix for you to just create a new card for it?

Thanks in advance
(and if you don’t remember me, I’m the guy who tested the 2 battery with 2 inverters and 1 dongle, a while bak)

By the way, again, the app works great, even though modbus is not all the time :slight_smile:

Hej Tjoloho,

of course I remember you. Good to hear from you again!

The “Missing scopes” error comes from Homey, not from the battery: Homey doesn’t let scripts change an app’s device settings. So I’ve added a flow card instead: Set Time of Use windows for the LUNA2000 (Modbus) battery. It’s in test version 1.3.15: https://homey.app/a/com.huawei.fusionsolar/test/

It takes the same text as the “Charge/discharge windows (Time of Use)” field in the battery’s settings. Separate the windows with ;, so your script can pass them in as a text tag:

00:00-06:00/1234567/+; 17:00-20:00/1234567/-

  • start-end / days (1 = Monday … 7 = Sunday) / + charge, - discharge
  • at most 14 windows, no overlaps on the same day; end with 23:59 rather than 00:00
  • The card replaces all windows. If the text has a mistake, or the battery refuses the write, the flow fails with a message saying why, and the battery keeps its previous windows.
  • The card works once the app has read the windows from the battery, shortly after the app starts.
  • If the battery already has exactly these windows, nothing is written. An empty text removes all windows.

Two things to keep in mind:

  • The windows only apply in the working mode “Time of Use (LUNA2000)”. You can switch to it with the “Set storage working mode” card.
  • + windows charge from the grid only when “Charge battery from grid” is on. The “Set charge from grid” card does that.

Let me know how it works with your script!

Since you mention that Modbus drops now and then: this test version also changes how the app closes its Modbus connections. If you still see drops with it, please send a diagnostic report from the app and tell me roughly when it happened.

Awesome!

I’ll check it out as soon possible and let you know on both the card and modbus drops:

Thanks for a fast reply

Works like a charm!

It gets stuck for some seconds while setting the parameter so I got nervous but then it passed and I could now easily steer the timing. Will have a look over the coming days about the modbus drops and see how it works.

Thanks again for a speedy addition

Hi Andi et al!

From a long time fan of your work, lately I’ve encountered issues with the Huawei devices failing or becoming unavailable, all 4 (battery, inverter, dongle and meter) and restarting the app fixes it right away. Not sure what’s causing it, but I’ve taken the liberty to create a diagnostics report, ID 25482011-e687-4925-860a-2177cec4fd41 if you want to have a look?

Cheers // Mike

Hi Andi,

Am I the only one with incorrect or no indications at for example the solar energy flow?

I think it started after the homey update.

If you need more info, please let me know.

Thanks in advance for taking a look into it.

Regards Wim

Hi Mike,
thanks for the diagnostic report. In the log all four devices fail together because they all go through the SDongle at 192.168.10.102, and during those periods the dongle itself refused or reset connections, timed out, or answered “Server Device Busy”. In both periods (around 11:32 and 13:07–13:22) the devices came back on their own after a few minutes; restarting the app only makes that happen immediately.

A few questions to narrow it down:
-Which app version are you running?
-Does anything else talk to the dongle over Modbus TCP (Home Assistant, EVCC, another Homey app, a script)? The dongle handles parallel clients poorly.
-Could you please reduce the polling interval and check if it behaves different?

Thanks
Andi

Hi Wim,

Could you please share some screenshots or relevant logs related to the energy flow issue?
Also, could you confirm whether all Huawei FusionSolar Manager devices are reporting their values correctly?

Thank you

Kind regards,
Andi

Hi Andi,

Energy flow, sun- and battery values are ok, home usage stays always zero and the net value is not correct as you can see and is ‘frozen’.

The power return and power consumption always stay blank.

Restarted the app and the homey with no luck so far.

Thanks again Andi!

Could you confirm whether all Huawei FusionSolar Manager devices are reporting their values correctly?

Hi Andi,

Yes every device Is reporting valid values and every device is connected. I couldn’t find any errors in the log.

I maybe have to disconnect and reconnect some devices that should give the needed values?

Thanks for your quick response as always.

Kind regards,

Could you please send me the Capability details so I can check it in details:

… and the Log files …

Hi Andi,

The requested files. Thanks for your time! :+1:

Kind regards

Huawei FusionSolar Manager — Modbus Debug Export
App version: v1.3.10
Generated: 18-11-2026, 08:36:18

Hi Andi,

Good news, removed the dongle, reinstalled it and restarted the Fusion solar app.

Looks like it’s working again!

Kind regards.

Sorry, I was too eager, worked for a couple of minutes :frowning:

Hi Andi,

Thank you for the instant support, as always! I’m running the current non-test version, 1.3.10, no other devices are talking to the Huawei devices and yes, I’ll increase poll time delay - is there like a recommended time? I see I have 3 different timers, inverter/meter 30s, battery 45s and dongle 60s if that’s of any use.

Cheers // Mike

I do not see any log file - Could you please run that on a computer?

Thanks

Hi Mike,

thanks for the quick answers!

One correction to what I wrote: looking at the log again, at 13:23 it shows the app starting up, so in that period it was your restart that brought the devices back, not the dongle recovering on its own. That points to the app rather than the dongle.

That pattern fits a problem I fixed after 1.3.10. When the app closed a connection, it waited for the dongle to close its side too. If the dongle didn’t, the connection stayed half-open until the app was restarted. The dongle only accepts a limited number of connections, so once enough of them are left over, it stops accepting new ones. Restarting the app frees them, which is exactly what you saw. Since 1.3.14 the app resets such connections instead, so they can’t pile up.

Could you install the test version?

On the poll intervals: all four devices go through the dongle one after another, so with 30/30/45/60 s it gets a new connection about every 10 seconds. I’d set all four to 60 s, which is also the default. If you need the grid power faster for automations, keep the meter at 30 s and set the other three to 60 s.

If the devices still drop with the test version, please send another diagnostic report. The new version logs whether the dongle closes its connections properly, so the next report will tell us much more.

Cheers,

Andi

@Wim_Hartman: Please consider using the following options when posting logs, code, etc., to increase readability of your post:

  • Preformatted text option to keep the output in the original format and presented in a scrollable window. This reduces the length of your post.
  • Hide details option, to collapse/hide the entire interview output. Clicking the collapsed item will show the interview output again.