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

Monitor SMA solar devices with Homey

App Store Page: SMA Energy | Homey

Description

This Homey app allows you to monitor your SMA solar devices through the modbus/speedwire/multicast protocols.

Supported devices

  • Inverters
  • Batteries
  • Energy Meter (incl. Home Manager 2)
  • Energy Summary (virtual device)
  • PVOutput

Enable Modbus in your inverter/storage product

For Homey to communicate with your SMA inverter/battery over the Modbus protocol, this feature must be enabled on the inverter. You can enable Modbus communication using the SMA Sunny Explorer software or the web interface on specific models (like the Sunny Boy 1.5 to Sunny Boy 5.0). For all other models, download and install the SMA Sunny Explorer software; the installable is located under PC Software in the previous link. During installation, it may ask you to install the .NET Framework 3.5 as well. Now follow these steps.

  1. Start the Sunny Explorer installer and choose to create a new install (or load a previous one if you used Sunny Explorer before) or start the web interface for the Sunny Boy 1.5 to Sunny Boy 5.0 models;
  2. Select Speedwire as the communication protocol, hit next, and wait for Sunny Explorer to discover your inverter.
  3. Once found, select your inverter (and remember its IP address);
  4. In the login screen, select the ā€œInstallerā€ user. Enter the password. By default, the password is 1111, but your installer might have changed this. In this case, you will have to retrieve it from your installer.
  5. Once logged in to your inverter, wait for a moment for the data to load. Next, click on your inverter in the left pane, and then select the settings tab. Click on the external communications menu item and click on edit. Now enable the option ā€˜Modbus TCP Server’ and, if available and not already enabled, the option ā€˜Webconnect’. You can leave the port for the Modbus TCP Server to the default 502. If you change it here, make sure you enter it correctly when adding the inverter in Homey. If you have saved your changes, you can close Sunny Explorer.
  6. Now go into Homey and add a new device. Select the inverter device from the SMA Inverters app and enter the IP address, Port and Polling Frequency. The polling frequency determines how often Homey reads out the inverter. The default 5 seconds should be good. Now add the device, and if all went well, your inverter is now being monitored by Homey.

Set export limit action for the Energy device

In version 2.7.9 of the app, a new action named ā€œSet the export limit to [[limit]]ā€ is available for the Energy device. This action allows setting the export limit to 0, which is helpful, for instance, during hours with negative electricity prices. This requires a Home Manager 2.0 device with a proper configuration. The minimum firmware version of the Home Manager can be Version 2.16.4.R. The previous versions require a grid guard code.

Configuring the Home Manager device

  1. Log in to Sunny Portal (see Sunny Home Manager user manual).
  2. Select Configuration > PV system properties in the page and menu selection.
  3. Select the tab Parameters.
  4. Select [Edit].
  5. Change Limiting of the active power feed-in to anything but the default option no limiting of the active power feed-in
  6. Change Grid Management to Yes. Don’t change the port default value of 502.
  7. Click [Save]

Usage of the set export limit action

To only produce solar power for your usage and not export any power, invoke the action with the value 0. To reset the value back to its original setting, set it to 100. The unit is in %.

As per the SMA documentation, all writes to the remote control parameters are valid for 60 minutes, after which they will be reset to the default value.

6 Likes

This app is what i’m looking for! But looks like the app is not available on the appstore (found a blindspot).
Is there a another way to get this app?

Either wait until Athom approves the app and I can publish it or do a CLI install from the Github repository.

Thank you I’am very happy with it.

Good to hear @Rob. Im interested to know which type of SMA inverter you are using the app with so I can update the documentation with this information.

I’am using a Sunny Boy 3600TL-21

First of all, t h a n k you for creating this app.I have a Tripower 6000TL 20. Am not able yet to read the data; I think I miss the ability to change the sma settings(no pc for the mentioned software, or didn’t find a Web Interface). Any suggestions on how to configure my sma is more than welcome.

1 Like

Check out the link below. It contains all the information on how to connect SMA inverters. Perhaps you can use the web portal or the smartphone app. It would be nice if you could report back if you managed it.

https://www.sma-benelux.com/kenniscentrum/monitoring/welke-mogelijkheden-zijn-er-voor-de-monitoring-en-visualisatie-van-een-zonnestroominstallatie.html

Hi @phuturist, I did this… Unfortunately I do not have access to my inverter… I do have Webconnect, to transfer data to Sunny portal.

  • Display: too dangerous, needs to open my Inverter
  • Web connect via Sunny explorer: Only available via PC software
  • SMA Portal: do not have settings to change Modbus

This is a quote from the manual:

8.6 Configuring the Modbus Function
The Modbus interface is deactivated by default and the communication ports 502 set. In order to access SMA invertes with SMA ModbusĀ® or SunSpecĀ® ModbusĀ®, the Modbus interface must be activated. After activating the interface, the communication ports of both IP protocols can be changed.
For information on commissioning and configuration of the Modbus interface, see the Technical Information ā€œSMA ModbusĀ® Interfaceā€ or in the Technical Information ā€œSunSpecĀ® ModbusĀ® Interfaceā€ at www.SMA-Solar.com.
Data security during activated Modbus interface
If you activate the Modbus interface, there is a risk that unauthorized users may access and manipulate the data or devices in your PV system.
• Take appropriate protective measures such as:
– Set up a firewall.
– Close unnecessary network ports.
– Only enable remote access via VPN tunnel.
– Do not set up port forwarding at the communication port in use.
– In order to deactivate the Modbus interface, reset the inverter to default settings or deactivate the activated parameter again.
Procedure:
the Modbus interface and adjust the communication ports if necessary (see the
• Activate
Technical Information ā€œSMA ModbusĀ® Interfaceā€ or ā€œSunSpecĀ® ModbusĀ® Interfaceā€ at www.SMA-Solar.com).

Well, the best solution is to borrow a PC/laptop from your neighbour, install Sunny Explorer, enable modbus, deinstall Sunny Explorer and return the PC/laptop … :wink:

LOL asked first ā€œDe Zonnefabriekā€ my supplier to make the change, otherwise will ask my neighbour or someone else…

v1.0.1 - 2018-09-02

  • FIX: display daily yield in KWh instead of Wh
  • FIX: display total yield in MWh instead of Wh
  • FIX: fix an issue with ā€œIndex out of rangeā€ errors
  • IMPROVEMENT: switched node library for ready out modbus
  • IMPROVEMENT: changed title of capability meter_power to Daily Yield

v1.0.2 - 2018-09-05

FIX: device registered as unavailable where not set to available again

Hi @Phuturist, At first thank you very much for creating this app. At this moment my inverter (SB3600TL-21) only supports bluetooth. Is there a way to use your app with bluetooth or do I need to buy the stuff to make a connection through with ethernet?

This app will only work with the modbus protocol which is only available as TCP (WiFi or Ethernet). If you want to use this app you will have to buy the stuff … :wink:

Werkt prachtig met de SB 4000TL-21 omvormer , mijn dank aan de maker van deze app

1 Like

Thanx for confirming this works as well with the Sunny Boy 3.0 / 3.6 / 4.0 / 5.0 inverters.

Werkt perfect met de SB3.6-1AV-40 910

This is only blue tooth for me. We are talking about the 4000 BT or not?

As mentioned in the description you need Webconnect, Datamanager M or direct ethernet connection to use the modbus protocol. So no Bluetooth support.