I use the integration SMA Solar - Home Assistant. It works great for reading out a lot of data from the inverter. However, I would like to be able to dynamically set the power limit of the inverter from Home Assistant and at the moment that does not seem to be possible.
The background for the request is that I live in Denmark where the power cost changes every hour according to the prices on Nordpool. In the summer time we routinely have hours where the production of renewable energy exceeds demand so that we have negative power price where we are charged money for supplying power to the grid. Some times you are even paid money to consume power
During these hours with negative power prices I would like to limit the production from my SMA-STP8.0-3AV-40 so that it exports little or no power to the grid and only produces what we need for our household. I got as far as calculating the setpoint for the power limit based on power prices and measured power consumption in my home before I realized that the stp…inverter_power_limit in the SMA integration is a sensor and not a number that can be set.
I’m also looking for a solution to this. The documentation from SMA shows that it is possible to set the power limit using modbus. I don’t think it is possible using webconnect.
I think this feature will be more requested as the prices of electricity becomes more volatile. As an example, the lowest price of electricity in my area was -31.6 EUR/MWh on 2024-04-13. In that case it would be nice to create an automation that adjusts the power limit so that no electricity is exported or imported.
The only solution I have found is logging on to the inverter directly and setting the power limit there. I have requested from SMA that they make this parameter more easily accessible, for instance in the SMA Energy app.
Which model do you have? I have the Sunny Tripower 8.0 (i.e. STP-8.0) and I cannot find any place to configure power limit in the web ui on the inverter.
A small update: I asked SMA support about how to set power limit on my inverter and they refered me to my installer. I asked my installer for help and they replied that they had now given me administrator rights. Now I can configure device parameters through the ennexOS sunnyportal and have successfully configured a power limit on my inverter. It seems like I can enable the modbus server through ennexos but have not tried it yet. It does not seem possible for me to set the power limit in the local web interface on the inverter, just through the cloud service. (But I suspect that I might be able to give more permissions to the “user” in the local interface through the cloud).
As a first step I would be happy to just set the power limit to a low value, like 500 W when an hour has a negative price. Unfortunately it is a lot of steps to change the value and I don’t understand if it would be possible to do it using e.g. cURL.
I can now set my Sunny Tripower 4.0 Inverter power via http calls. Technically, this means I can integrate this into HA. Next step is to figure out HA automation’s.
I don’t know (yet). My tripower inverter uses Webconnect Software version 1.5.0.R.
I do assume SMA uses the same web portal for all appliances. This is because the web portal seems generic and it costs less to maintain one web portal instead of one per type.
Great to see that you are making progress! As I understand it you are doing this on local web interface for your inverter. Do you login as “user” or “installer”? I only have the password for the “user” user and relevant settings like power limit are read only.