Closed KimCarlsen closed 4 months ago
To be on the safe side: You like to temporarily achieve the effect of Zero Export (https://files.sma.de/downloads/ZeroFeedIn-PL-en-11.pdf)?
First of all: I am happy to help provide the "tool", but other people have to test it. As I receive a fixed price per kWh, a zero export is counterproductive for me. That's why I don't know enough about which way is the most promising in the end.
There are several options for regulation/control: Modbus via inverter Modbus via Sunny Home Manager 2 Setting via the local website of the inverter Setting in the Sunny Home Portal (as described in the file above)
The topic is not easy at the moment. With the latest changes to the SHM2 firmware, the settings in the inverter are partially overwritten by the SHM2, so that you have to control the SHM2 via Modbus. This solution probably regulates with greater latencies. You also need a personalised Grid Guard code from SMA.
Irrespective of this, I have built in an option to adjust the power limit for the enneox-based systems. This is technically the same way as when you enter the value on the inverter's website. @frederikvoGIT // https://github.com/littleyoda/ha-pysmaplus/issues/2 tested this method in practice and had massive problems with the inverter no longer accepting the changed values.
I could build in similar support for webconnect, but for this I need the support of someone with a webconnect device and some technical understanding. (Linux system and knowledge would be great)
Yes exactly. My prices are calculated by the hour, based on prices on the nord pool trading exchange. where i get the day ahead prices nordpool and they are from time to time negative. So idea is to activate, automatically from HA, zero export when the prices are below 0. I have a SMA STP 8.0 with an energy meter connected, currently connected with Webconnect. (using pysmaplus). I'm gladly help in testing, but i'm not a linux or coding guy.
You could also check if your inverter has digital I/O and connect a potential free device to it so you can set it to zero but this would be an extra hardware to be installed of course.
don't know if it possible, , but i've opened a supportticket at SMA
Did some testing tonight, reprogrammed the automation and now got it working when i manualy triggered the automation. (don't know why it refuses to work via the normal automation)
One automation to start dynamicly limit: alias: Begrenzing PV description: "" trigger:
One automation to end the dynamic power limit: alias: Opheffen begrenzing PV description: "" trigger:
Did some testing tonight, reprogrammed the automation and now got it working when i manualy triggered the automation. (don't know why it refuses to work via the normal automation)
One automation to start dynamicly limit: alias: Begrenzing PV description: "" trigger:
* type: power platform: device device_id: 2cdf0157cb62ace72eaddbb0d372f7d1 entity_id: cb54a21d6efd8b1371ac880bb07d9b0d domain: sensor above: 0 condition: * condition: numeric_state entity_id: sensor.nordpool_kwh_be_eur_3_10_021 below: 0 action: * service: pysmaplus.set_value metadata: {} data: entity_id: sensor.sunny_boy_smart_energy_5_0_inverter_power_limit value: "{{states("sensor.grenswaarde_omvormer")}}" mode: restart
One automation to end the dynamic power limit: alias: Opheffen begrenzing PV description: "" trigger:
* type: power platform: device device_id: 2cdf0157cb62ace72eaddbb0d372f7d1 entity_id: cb54a21d6efd8b1371ac880bb07d9b0d domain: sensor above: 0 condition: * condition: numeric_state entity_id: sensor.nordpool_kwh_be_eur_3_10_021 above: 0 action: * service: pysmaplus.set_value metadata: {} data: entity_id: sensor.sunny_boy_smart_energy_5_0_inverter_power_limit value: 4997 mode: restart
Think i found it (attribute was not assigned). Needs to test it tomorrow.
Found it and got everything working on my Sunny Boy Smart Energy 5.0, with following automation:
wow, that was fast :-) thanks a lot. I'll try it out and waiting for negative prices to see how it flows. tomorrow is all above 0
On remark: frederikvoGIT Solution works only with a "enneox-OS" based Inverter.
Another solution using modbus: https://community.home-assistant.io/t/modbus-data-from-sma-inverter/122425/314?u=swante
Yeah, i did the test with temporarily setting the limit on 0,2€/kWh. 😉
And now indeed very high prices tomorrow. Let's hope for negative prices next weekend again.
so it does not work with an STP inverter?
so it does not work with an STP inverter?
correct. But you can try the modbus solution.
damn. Modbus might be doable, but not as easy. Then i suggest remove the services i HA, if the connection method doesn't allow it. Otherwise i bet there will be more issues on this.
damn. Modbus might be doable, but not as easy. Then i suggest remove the services i HA, if the connection method doesn't allow it. Otherwise i bet there will be more issues on this.
But @littleyoda please keep the services for the SB SE-series.🙏
Removing the Service does not make sense at all. Just because it's not supported on a device doesn't mean I'm going to remove it completely.
Before you use the service call "set parameter", you should first use the service call "get values range" to determine whether you can change the sensor. However, I have just realized that the error message from "get value range" is not particularly informative. I'll have to change it.
The topic is also documented: https://github.com/littleyoda/ha-pysmaplus/blob/main/docs/set_parameter.md
I am already working on supporting the SHM2 via Modbus. This can be only used, if you have a Grid Guard code from SMA. This is particularly relevant for people who still want to have battery control after the changes to the firmware.
I may integrate Modbus support for other devices for control issues. I don't know yet if and when something will come, as I'm still working on the SEMP (Simple Energy Management Protocol) and I would like to finalise it.
I'm not sure right now whether a non-modbus control system for webconnect devices makes any sense at all. Perhaps someone can tell me whether there are relevant parameters that can be controlled via the web interface but not via modbus.
I would also appreciate information on which Modbus addresses are relevant at all.
I wasn't saying to remove it completely, but perhaps disable it, if a connection method that don't support it is chosen. Let me know if i can help with testing webconnect. I will try with modbus when there is time for it.
@littleyoda FYI, by the end of this year i might extend my installation with a small battery on my SB SE 5.0, wich i only want to charge and discharge at 10A (480W) maximum. But to my surprise i see that the parameters "Battery Batt. manuf's max. charge capac." and "Batt. manuf's max. disch. capac." are not editable in the Ennexos Sunnyportal. Am i missing something?
@littleyoda FYI, by the end of this year i might extend my installation with a small battery on my SB SE 5.0, wich i only want to charge and discharge at 10A (480W) maximum. But to my surprise i see that the parameters "Battery Batt. manuf's max. charge capac." and "Batt. manuf's max. disch. capac." are not editable in the Ennexos Sunnyportal. Am i missing something?
Kind reminder.
@frederikvoGIT @littleyoda is doing this in his spare time for free. Such comments do net help. I am sure @littleyoda has not forgot it, he just did not have time to look after it.
@frederikvoGIT @littleyoda is doing this in his spare time for free. Such comments do net help. I am sure @littleyoda has not forgot it, he just did not have time to look after it.
I had a good month ago conversations on almost a daily base (sometimes on hourly base). But you are right, he could be occupied at the moment.
I apologise to @littleyoda .
My understanding is that this value specifies the maximum and not the " preferred" charging/discharging speed.
Since you do not have a battery connected, it may well be that the relevant settings for this topic are missing.
Until someone reports the diagnostic information from a Sunny Boy Storage with connected batteries, I can't say anything.
My understanding is that this value specifies the maximum and not the " preferred" charging/discharging speed.
Since you do not have a battery connected, it may well be that the relevant settings for this topic are missing.
Until someone reports the diagnostic information from a Sunny Boy Storage with connected batteries, I can't say anything.
Ah ok, thanks.
I'll look for a temporarily batterie.
Closed. Feature Request "Change Parameters via Webconnect" can be found in Issue #10
Hi Sven,
A friend of mine (Bart Jocque in CC) has a SMA Sunny Tripower Smart energy 10.0 (not Enexos) attached to 3X SMA Home Storage batteries and the SMA EVcharger (both Enexos together with his Sunny Portal). And is running Home Assistant as a monitoringtool. (for the actual management of the energy he uses the Sunny Home Manager)
Would it be of any help to check how the prefered charging/discharging speed works on these systems if he shows his loggings?
Vriendelijke groeten, Frederik Van Overloop
Op 26 jun. 2024 om 07:42, schreef Sven @.***>:
My understanding is that this value specifies the maximum and not the " preferred" charging/discharging speed. Since you do not have a battery connected, it may well be that the relevant settings for this topic are missing. Until someone reports the diagnostic information from a Sunny Boy Storage with connected batteries, I can't say anything. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
FYI; SMA published a video on youtube on which they ask to pose questions if you have them. So that's what i did ;-) https://www.youtube.com/watch?v=tmdXhnflGXM&lc=UgzkNA_YRDxCSCDE6YF4AaABAg.A6nMf_agYxVA6nbtBDO0EH
Vriendelijke groeten, Frederik Van Overloop
Op 26 jun. 2024 om 07:42, schreef Sven @.***>:
My understanding is that this value specifies the maximum and not the " preferred" charging/discharging speed. Since you do not have a battery connected, it may well be that the relevant settings for this topic are missing. Until someone reports the diagnostic information from a Sunny Boy Storage with connected batteries, I can't say anything. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
In the meantime i: -posed the question in the serviceportal https://my.sma-service.com
-found a a paramter "fallback of the limitation of the battery"
hi
I was wondering if it is possible to alter the device settings in the inverter? It would be nice to alter the feed-in settings, to be able to limit export, when prices goes negative. Like this https://my.sma-service.com/s/article/Tech-Tip-How-to-Setup-Zero-Export-with-only-an-SMA-Energy-Meter?language=en_US