Closed Percy2Live closed 1 year ago
You can verify what evcc offers to SHM by calling http://evcc.local:7070/semp
This is the output of the simple energy management protocol:
<Device2EM
xmlns="http://www.sma.de/communication/schema/SEMP/v1">
<DeviceInfo>
<Identification>
<DeviceId>F-ABCAAAAA-abcbbbbbbbbb-00</DeviceId>
<DeviceName>Ladepunkt Sandra</DeviceName>
<DeviceType>EVCharger</DeviceType>
<DeviceSerial>123456781122-0</DeviceSerial>
<DeviceVendor>github.com/evcc-io/evcc</DeviceVendor>
</Identification>
<Characteristics>
<MinPowerConsumption>1380</MinPowerConsumption>
<MaxPowerConsumption>7360</MaxPowerConsumption>
</Characteristics>
<Capabilities>
<CurrentPower>
<Method>Measurement</Method>
</CurrentPower>
<Timestamps>
<AbsoluteTimestamps>false</AbsoluteTimestamps>
</Timestamps>
<Interruptions>
<InterruptionsAllowed>true</InterruptionsAllowed>
</Interruptions>
<Requests>
<OptionalEnergy>true</OptionalEnergy>
</Requests>
</Capabilities>
</DeviceInfo>
<DeviceInfo>
<Identification>
<DeviceId>F-ABCAAAAA-abcbbbbbbbbc-00</DeviceId>
<DeviceName>Ladepunkt Pascal</DeviceName>
<DeviceType>EVCharger</DeviceType>
<DeviceSerial>123456781122-1</DeviceSerial>
<DeviceVendor>github.com/evcc-io/evcc</DeviceVendor>
</Identification>
<Characteristics>
<MinPowerConsumption>1380</MinPowerConsumption>
<MaxPowerConsumption>22080</MaxPowerConsumption>
</Characteristics>
<Capabilities>
<CurrentPower>
<Method>Measurement</Method>
</CurrentPower>
<Timestamps>
<AbsoluteTimestamps>false</AbsoluteTimestamps>
</Timestamps>
<Interruptions>
<InterruptionsAllowed>true</InterruptionsAllowed>
</Interruptions>
<Requests>
<OptionalEnergy>true</OptionalEnergy>
</Requests>
</Capabilities>
</DeviceInfo>
<DeviceStatus>
<DeviceId>F-ABCAAAAA-abcbbbbbbbbb-00</DeviceId>
<EMSignalsAccepted>true</EMSignalsAccepted>
<Status>Off</Status>
<PowerConsumption>
<PowerInfo>
<AveragePower>0</AveragePower>
<Timestamp>0</Timestamp>
<AveragingInterval>60</AveragingInterval>
</PowerInfo>
</PowerConsumption>
</DeviceStatus>
<DeviceStatus>
<DeviceId>F-ABCAAAAA-abcbbbbbbbbc-00</DeviceId>
<EMSignalsAccepted>false</EMSignalsAccepted>
<Status>Off</Status>
<PowerConsumption>
<PowerInfo>
<AveragePower>0</AveragePower>
<Timestamp>0</Timestamp>
<AveragingInterval>60</AveragingInterval>
</PowerInfo>
</PowerConsumption>
</DeviceStatus>
<PlanningRequest>
<Timeframe>
<DeviceId>F-ABCAAAAA-abcbbbbbbbbb-00</DeviceId>
<EarliestStart>0</EarliestStart>
<LatestEnd>86400</LatestEnd>
<MinEnergy>0</MinEnergy>
<MaxEnergy>37095</MaxEnergy>
<MaxPowerConsumption>7360</MaxPowerConsumption>
<MinPowerConsumption>1380</MinPowerConsumption>
</Timeframe>
</PlanningRequest>
</Device2EM>
Es muss der Min+PV-Modus gewählt sein damit der SHM steuern kann.
Das ist mir bekannt, unabhängig vom gewählten Modus bleibt die Infobox aber immer auf folgendem Wert stehen, auch im Min+PV Modus:
Da hilft ggf. mal ein tracelog der Kommunikation mit dem SHM.
In der Regel ist es aber wirklich so dass der SHM die Ladung sperrt.
Warum auch immer.
Manchmal hilft auch ein Reboot des SHM.
Das ist das gleiche Problem an dem auch der SMA EV Charger (u.a.) krankt und eher nicht lädt als lädt.
Da evcc das alleine ohnehin quasi alles besser macht ist unsere Empfehlung allowcontrol: false
zu belassen.
Es gibt nur sehr wenige Szenarien (z. B. Verbraucherprioritäten) bei denen eine Mitsteuerung durch den SHM sinnvoll sein kann.
Die Bedarfe werden von evcc ja immer korrekt gemeldet. Das ist das Wesentliche.
Danke für den Hinweis mit dem Reboot, ich werde das mal versuchen und die Tage bei entsprechendem Wetter beobachten. Kann es sein, dass SMA die Verbraucherplanung 24h im Voraus durchführt? Das könnte erklären, warum ich beim Testen keinerlei Effekt am jeweiligen Tag feststellen kann. Nutzen wollte ich die Verbrauchersteuerung um jetzt in der kalten Jahreszeit die PV/Grid Ratio beim Laden anzupassen. Das geht zwar auch in evcc über den ResidualPower Parameter, allerdings muss ich hier bei einer Anpassung evcc rebooten. Über das Sunny-Portal kann ich eine Änderung der Ratio einfach im laufenden Betrieb vornehmen
Du kannst diese Einstellungen auch bei evcc jederzeit ohne Neustart durchführen. Das geht über die API z.B. per HTTP oder MQTT.
Describe the bug
I configured my evcc so it shows up in the SMA sunny portal, in order to allow evcc to load with a shared ration of grid-energy. I used this configuration in my evcc.yaml:
Afterwards I was able to connect evcc in the SMA sunny portal. Unfortunately SMA does never enable the wallbox. I always see this infobox in evcc, even when there should be enough energy:
I tried to change the energy ration in the sunny portal, but even with 100% grid energy the infobox in evcc doesn't change:
evcc is listed as a non-manually controlable consumer in the sunny portal. It seems that evcc does not inform sunny portal when it has a need to charge, and therefore the sunny portal is never sending the release signal.
Steps to reproduce
Follow the instructions about using HEMS SMA
Configuration details
Log details
What type of operating system are you running?
Docker container
Version
0.106.2