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

**URL:** <https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696>\
**Category:** Apps\
**Tags:** app, homey-pro, pv-solar\
**Created:** [August 27, 2018, 8:18pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696 "2018-08-27T20:18:23Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Marcel\_V](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_v/32/6114_2.png) [@Marcel\_V](https://community.homey.app/u/Marcel_V)\
**Post date:** [August 13, 2019, 4:11pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/62 "2019-08-13T16:11:40Z")

</div>

Last month i installed 2 SMA tripowers (5and6), the modbus was already activated, i activated the webconnect on both. After that added the devices in homey but no connection. Am i forgetting something ?

I have already an SMA home manager installed which also uses the modbus can this be the problem ?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 13, 2019, 4:34pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/64 "2019-08-13T16:34:41Z")

</div>

> [@Marcel\_V](#):
>
> After that added the devices in homey but no connection. Am i forgetting something ?

What is no connection? Dont you see any data or are you getting an error? It seems the Tripower devices use a different configuration which does not (yet) (fully) work with the app. See the table in the openings post.

---

<div class="post-metadata">

**Author:** ![Marcel\_V](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_v/32/6114_2.png) [@Marcel\_V](https://community.homey.app/u/Marcel_V)\
**Post date:** [August 13, 2019, 5:14pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/65 "2019-08-13T17:14:37Z")

</div>

Hi

The inverter show with an red symbol.

I thought the tripower were mentioned, sorry

Can i sent you the layout of the files, found these in an 5 min queue on the onverter

Marcel

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 13, 2019, 6:10pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/66 "2019-08-13T18:10:34Z")

</div>

> [@Marcel\_V](#):
>
> The inverter show with an red symbol.

Do you know how to run the app from the command line. I could create a debug version that would spit out more info on what is going on.

---

<div class="post-metadata">

**Author:** ![Marcel\_V](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_v/32/6114_2.png) [@Marcel\_V](https://community.homey.app/u/Marcel_V)\
**Post date:** [August 13, 2019, 6:22pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/67 "2019-08-13T18:22:51Z")

</div>

No sorry, do you have info how to do this ? If so i can help you

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 13, 2019, 7:53pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/68 "2019-08-13T19:53:50Z")

</div>

> [@Marcel\_V](#):
>
> If so i can help you

Well, you would be helping yourself of course. I dont own any TriPower inverters … 😉

You can find more info here: [[HOW TO] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198)

And the GitHub repo of my app can be found here: [https://github.com/jghaanstra/sma.modbus](https://github.com/jghaanstra/sma.modbus)

---

<div class="post-metadata">

**Author:** ![SvenRhein](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SvenRhein](https://community.homey.app/u/SvenRhein)\
**Post date:** [August 21, 2019, 8:35am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/69 "2019-08-21T08:35:37Z")

</div>

@Phuturist I know - I asked you in past 😉 but any chance to implement the sunny home manager 2.0 maybe in a second app?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 21, 2019, 9:23am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/70 "2019-08-21T09:23:36Z")

</div>

Not sure what I answered back then but I don’t think it has changed.

Wasn’t it that there was no modbus protocol available but only a http api? So it would indeed need another app. As I do not own the device myself testing etc. is going to be hard and frustrating and I’d rather spend my time on other things. So sorry, I’m not your guy.

---

<div class="post-metadata">

**Author:** ![SvenRhein](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SvenRhein](https://community.homey.app/u/SvenRhein)\
**Post date:** [August 21, 2019, 9:34am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/71 "2019-08-21T09:34:04Z")

</div>

yes it is not modbus based - sorry to hear that

---

<div class="post-metadata">

**Author:** ![Jot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jot/32/14927_2.png) [@Jot](https://community.homey.app/u/Jot)\
**Post date:** [August 27, 2019, 11:58am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/72 "2019-08-27T11:58:03Z")

</div>

I can confirm that the app is also working for the Sunny Boy 2.5. Thank you very much for the development!  
May I suggest updating the ‘installation’ instructions for at least the SB 2.5 where enabling the modbus has to be done in the web portal.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 27, 2019, 5:04pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/73 "2019-08-27T17:04:49Z")

</div>

Good to hear its working. I have updated the instructions in the opening topic. I will update the instructions in the app store when there will be another release (which might not be soon).

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [October 9, 2019, 8:29pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/74 "2019-10-09T20:29:17Z")

</div>

Hi there!

Good job with app 😀 Just used it to connect to a Tripower 25kW.  
I have some minor app experience and started to look a little at your code and it seems as there are some possible improvements when it comes to reading the double word 32-bit values. One thing that I feel is a problem for me is if power which is set to 0 if above 10000W.

After some googling and some trail and error I think I found the proper way to read those values.

(code removed, will clone repo and put on github)

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 9, 2019, 8:31pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/75 "2019-10-09T20:31:32Z")

</div>

This is done because the inverters return a strange high value when there is no generation. If you have a better solution feel free to submit a PR on Github.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 22, 2019, 2:55pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/76 "2019-10-22T14:55:34Z")

</div>

As of now further development of the SMA modbus app will be taken over by @Richard_B. He had already done some improvements which will probably be published soon. In mutual agreement we have decided that he will take over ownership, it’s probably for the best as I do not use this app myself anymore.

Best of luck @Richard_B.

---

<div class="post-metadata">

**Author:** ![SvenRhein](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SvenRhein](https://community.homey.app/u/SvenRhein)\
**Post date:** [October 22, 2019, 4:08pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/77 "2019-10-22T16:08:59Z")

</div>

@Richard_B

thx @Phuturist for your work

@Richard_B  
are there any plans to integrate the sma sunny home manager 2.0 in the sma inverters app to get the consumption of the whole house into the homey universe?

---

<div class="post-metadata">

**Author:** ![Richard\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/richard_b/32/16805_2.png) [@Richard\_B](https://community.homey.app/u/Richard_B)\
**Post date:** [October 22, 2019, 5:19pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/78 "2019-10-22T17:19:42Z")

</div>

Thanks, @Phuturist, a pleasure to take over your app! I hope I will be able to extend the already good functionality 😃

I’m new to the solar world, just got my system up and running. But not new to Homey app development since I have developed two other apps already (Volvo On Call and [Particle.io](http://Particle.io)).

For the Sunny Boy Storage device, I don’t have any immediate plans other than standardizing on the utility code I built for interpreting the modbus values.

For the Inverter device I have made a lot of changes, hopefully for the better!

- When you add a new inverter it now uses the SMA Speedwire Device Discovery feature to automatically find SMA products on your local network. The serial number of the inverter is used as the Homey device id and the inverter device type (e.g. STP 25000TL-30) as the default name of the Homey device.

- New information about the inverter added to the advanced settings page of the device. Device type, Serial number, software version, and max power.

- Four new capabilities added for inverters that support it; condition, operational status, MPP A voltage and MPP B voltage.

- Only supported capabilities are shown for the device (possible thanks to Homey v3). No “dead” values on the device main tab.

For an inverter that supports all eight capabilities the app currently looks like this

 ![IMG_0079](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6c15abdf571d5215f05f599c15224f90e6a19a45.jpeg) ![IMG_0082](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20b69f0ac4fa9821ddb32903875318c43a86259d.jpeg)

Given the number of changes introduced to the app I’m planning to release the app in a beta release, and I hope some of you will be willing to test it. The beta will be out within two weeks roughly, will keep you posted.

---

<div class="post-metadata">

**Author:** ![Olan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olan/32/5484_2.png) [@Olan](https://community.homey.app/u/Olan)\
**Post date:** [October 24, 2019, 7:56am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/79 "2019-10-24T07:56:06Z")

</div>

I have a Homey Pro and i tried to install the SMA app but got a message that it is incompatible with the Homey software version.  
 ![Screenshot_2019-10-24%20SMA%20Inverters%20Homey%20Apps](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/5/658e793e7648e4f6436c4edfdfc9b546315ad572.png)

My Homey Pro is running on the latest software version.

Any ideas how to fix this?

Olan

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 24, 2019, 8:21am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/80 "2019-10-24T08:21:56Z")

</div>

The lastest version of the app requires Homey firmware 3.x. You have three choices.

1. Switch to Homey experimental channel and install Homey firmware 3.x RCx
2. Wait till Homey firmware 3.x is released to the stable channel, my guess is this wont take long anymore
3. Install the previous release from the app using the command line as described [here](https://community.homey.app/t/how-to-cli-install-method/198).

---

<div class="post-metadata">

**Author:** ![Olan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olan/32/5484_2.png) [@Olan](https://community.homey.app/u/Olan)\
**Post date:** [October 24, 2019, 9:03am UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/81 "2019-10-24T09:03:45Z")

</div>

> [@Phuturist](#):
>
> e 3.x

Thank you! I was not aware that 3.x was needed. I will wait till 3.x is released

---

<div class="post-metadata">

**Author:** ![j0bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/j0bro/32/3505_2.png) [@j0bro](https://community.homey.app/u/j0bro)\
**Post date:** [October 31, 2019, 2:33pm UTC](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696/82 "2019-10-31T14:33:20Z")

</div>

Running Homey 3.0.0, my inverter shows up as a device that is using power rather than generating, i.e. it has a positive wattage in the Energy overview, which I think should be negative. Am I right?

EDIT: I reloaded the app and it is now showing up correctly, under its own category (Zonnepanelen).

[Previous page](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696.md?page=3)

[Next page](https://community.homey.app/t/app-pro-sma-energy-my-home-my-energy-our-climate/696.md?page=5)
