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.
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;
Select Speedwire as the communication protocol, hit next, and wait for Sunny Explorer to discover your inverter.
Once found, select your inverter (and remember its IP address);
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.
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.
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
Log in to Sunny Portal (see Sunny Home Manager user manual).
Select Configuration > PV system properties in the page and menu selection.
Select the tab Parameters.
Select [Edit].
Change Limiting of the active power feed-in to anything but the default option no limiting of the active power feed-in
Change Grid Management to Yes. Donāt change the port default value of 502.
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.
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?
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.
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.
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.
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 ā¦
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 ā¦