[APP][Pro] SMA Energy - My home. My energy. Our climate

The Energy Meter / Home Manager has lifetime import and export. Based on these we can create our own daily import and export at least.

True but not my total consumption… that’s why. :blush:

There is a new test version.

Changes

  • Lifetime yield for inverters is changed from MWh to KWh.
  • Lifetime import and export capabilities added to the energy device
  • Lifetime consumption added to the summary device
    Energy storage charge/discharge is not yet included here. The capabilities don’t exist for the storage device type today and I don’t have access to one test. The fields seem to be available via Modbus but are of SMA data type U64 which also is not used anywhere else.
1 Like

Hi Richard,

I tried to connect to an sma 3.6. After adding the ip address, i press the button connect, but nothing happens. Do you know how to fix this?

Best wishes,
Niels

Have you enabled modbus on the inverter? By default it is disabled. Check first post in this thread on how to enable it.

Thanks, i did not look back far enough.

Does changing the modbus require a log in as installer? I could not change it as a user.

Yes

Would it be able to move the daily yield to the 1st or second line of the (large) tile?

Seem like to only way is to reorder all capabilities. The large tile seems to show the first four capabilities. Don’t know if anyone have seen an app where you can decide the order of the capabilities yourself?

In the power by the hour app I’m able to choose the 1st line shown on the larger tile through the settings.

Ok, yes this is a basic Homey feature that for some reason is only available in the mobile app. You can for any app choose which capability to show as “status indicator”. You can set it to daily yield and it will show on top.

Ah, lol. I should have thought of that myself.

1 Like

@Richard_B thank you for adding the Lifetime import/export stuff. Two comments related to that topic:

  • Could you change the inverter unit from “KWh” to “kWh”? I guess “kWh” is the official notation Kilowatt-hour - Wikipedia?
  • I do see some issues with the inverter “Lifetime Yield” (or also known as “total yield”) in my case. I do have some older inverters and I do see periodically 0 values. This causes issues in my case because I’m transferring the values via MQTT to Home Assistant and there I have a graph which does an increasing of the value. However if I get 0 values HA get’s confused as short later it goes back to the official value, so the increase is huge. Do you see any possible optimisation on your side? I’m guessing this is an issue of my inverters, however it’s quite annoying for me. Screenshot below. Btw. this happens only for my inverters and the

Btw. really a great app which is a huge benefit for me and the whole homey ecosystem. Thanks a lot!

Edit: I’ve just seen that the “'0” issue for the inverters happens not only for the “Lifetime Yield”. It seems that it happens from time to time for all keys. It’s just not that easy to see as the most values are anyway 0 if the inverters are offline (which they are at the moment). However the Sunny Homey Manager 2 works like a charm, no outages there.

:+1:

Regarding the 0 value for lifetime energy, I added a simple check if the reading gives 0 then ignore it. There is a new test version available that will go live once approved.

2 Likes

Thanks a lot for this fast change :-)!

1 Like

Hi, I’m having a strange problem with my SB 5000TL. Here are my settings from Sunny Explorer:

SB

The strange thing is, I only get Homey to work with setting the port in the SMA Homey app to port 500. Then after a day or so the connection drops and the power is stuck on the last data it got. Then after switching to 502 and back to 500 makes it all work again. For a while. What is going wrong here.

These are my ip settings:

IP

The config looks fine, and the port should always be 502.
Have you set a static IP for your inverter, ie to make sure that the router doesn’t change it from time to time?

Hm. My feeling says it has nothing to do with static ip, but I made it static anyway. Changed the port to 500 in the inverter settings, then removed the App settings in Homey and made a brand new one. Working fine now at port 500. Now wait and see if it holds for the coming days. Thanks for your reply Richard_B.

A last thought. I also have a dataconnection with Sunnyportal. Might be that data request from both Homey and Sunnyportal are a bit too much.

@Richard_B

Hi Richard,

the energy meter did not showed grid values so I deleted the device.

But I am not able to add it again:

I just tried removing the energy meter and adding it back, which worked fine (on HP23).

Adding an energy meter device relies on the same UDP multicast datagrams that reading values from it does. If it stopped updating I guess it could mean that your Homey no longer receives the UDP multicast datagrams. Were any network changes introduced?