Taxability according to §14a of the Energy Industry Act (Germany)
Is your feature request related to a problem? Please describe. The new § 14a of the Energy Industry Act came into force in January 2024. This affects all consumption devices with an output of 4.2 kW or more that have been put into operation since January 1, 2024. An EVSE can only be used if it is “dimmable”.
Describe the solution you'd like The energy supplier provides a relay that is opened when the power needs to be reduced to 4.2kW. In Smart mode, the SmartEVSE could check whether there is an interruption in the PP line. If the EVSE measures a resistance >4700 ohm, it switches to a basic value of 6A and "dimming" is active. In solar mode this is not necessary because the SmatEVSE should not be connected to the grid.
Describe alternatives you've considered Interruption of the CP connection to cancel the charging process and thus fulfill the requirements of §14a
Interruption of either CP or PP seems like one of the rudest ways to accomplish this; during switching you would disturb the communication between EV and EVSE.
As soon as my energy provider provides me with such a relay, we can build and test a solution. But I don't think its going to be this one...
Your energy supplier will only impose the Relias (NC) on you if your wallbox is registered this year and the power connection is in Germany. In addition, he must have an intelligent measuring system installed for you. He is not yet allowed to force existing systems to dim.
I also don't understand why you immediately close the request without giving others a chance to comment. Isn't SmartEVSE so widespread in Germany that it's worth working on problems in Germany?
No I close the comment because: a) it is does a technically below par suggestion b) since I cant obtain the necessary hardware, I cant implement it.
I'm happy to honour any PR from you, as long as it obeys the charging standards. Switching CP and or PP with a contactor does not fit in there.
A more fitting technical solution would be to have a separate input-device (like the sensorbox) that is connected through modbus to the SmartEVSE. This device could then read in the input relay from the energy-supplier and forward this information to the SmartEVSE. Then the SmartEVSE would need some "dimming-logic" to make sure that the system behaves as expected.
Of course, this would also require some "sensorbox ++"-device which can read a relais-contact, as I don't think the current sensorbox supports that?
(just some thought on the topic, I don't know whether such solution would be compliant with the German law)
You are correct. But we need the specifications of such a device. Is the relay coupled to a MQTT or REST sensor enough? What are the legal and technical requirements?
The technical requirements from the energy supplier are quite simple: currently only potential-free contacts are provided. Some do this as part of the SmartMeterGateway, others produce these ripple control receivers whose signal is sent from the city of Burg near Magdeburg. This is regulated in the technical connection conditions of the network operator.
With a Waalbox, a contact must be closed to achieve full performance; When the contact is open, the wallbox can only provide 4.2 kW. The system operator is responsible for ensuring that this signal is used correctly.
OffTopic: For a PV system >25kWp there are 4 relays that specify 0%, 30%, 60% and 100% feed-in power. In Germany everything is still digital ON/OFF and not analog 0-100% via mobus or mqtt
So anybody could implement this themselves by defining a switch in HomeAssistant that reacts to the relay, or even thru MQTT?
It would be a possibility, not elegant since HomeAssistant and the WLAN are there in between, but feasible. I would then have to send an API to the SmartEVSE every minute to ensure that no one makes a change when the dimming is active. The energy supplier receives the measured values from the meter every 15 minutes.
I haven't managed to pass a ChargeCurrentOverride with 60 to the SmartEVSE via Mqtt yet, it jumps back to 0. I use IoBroker
Are you sure you are in the right mode when applying OverrideCurrent? Try the web interface first....
I'm in Smart mode and then enter the value 80 in mqtt.0.SmartEVSE.ChargeCurrentOverride. After a few seconds the value is written back to 60
I can do everything on the web and everything runs via API. V3.6.5
Thx for your report! "I can do everything on the web and everything runs via API."
Now we are both non native speakers, what do you mean by this? Do you mean that everything works well with the built-in webserver? Or not? Which API? REST, MQTT?
RTFM: Your topic should be "SmartEVSE-xxxx/Set/CurrentOverride"
Yupp, I'm German and do English via Google.
Everything works well via the web interface, I can set all the restrictions there. Limiting to 6A also works in the API: curl -X POST "http://192.168.5.23/settings?mode=3&override_current=60" -d ' ' Only Mqtt doesn't work. I have no influence on the topic, IoBroker does it alone.
A more fitting technical solution would be to have a separate input-device (like the sensorbox) that is connected through modbus to the SmartEVSE. This device could then read in the input relay from the energy-supplier and forward this information to the SmartEVSE. Then the SmartEVSE would need some "dimming-logic" to make sure that the system behaves as expected.
Of course, this would also require some "sensorbox ++"-device which can read a relais-contact, as I don't think the current sensorbox supports that?
(just some thought on the topic, I don't know whether such solution would be compliant with the German law)
The idea is correct and would also work with §14. The sensor box 1.0 had four inputs, three were for the CT terminals L1, L2, L3, one was unused.
But recently I swapped an EVSE2.0 for another EVSE2.0, unfortunately the sensor box doesn't work (communication error), I think something has been changed. The two EVSE had different software versions on them.
The old sensorbox 1 used a different protocol. It's however possible to reprogram it, but you will need to use a pickit programmer for that. The software is available here: https://github.com/SmartEVSE/Sensorbox-1
Extra Inputs on the SmartEVSE are difficult to add, as there is no room left to connect a wire.
Perhaps the Sensorbox 2 can be used, as it has a RJ12 connector with 2 I/O lines, now configured as RX/TX for communicating with a smartmeter, but in Germany this is not used, so these lines might be used for other purposes.
Then the software in the sensor box must be adjusted: If EVSE in Mode 4, then TX = Input; Input = false Throttle power from the grid
In Mode 4, the EVSE must monitor and regulate the total power from the network. The maximum grid performance must then be adjustable in a menu, because §14a allows for higher performance if, for example, there is a heat pump and wallbox in the house.
If I take the unbalanced load regulation into account in addition to §14a, then it would also be possible to monitor the grid current per phase instead of the grid power
Yes, we Germans are a strange people with all the rules and regulations, even as a native speaker it's not easy to read if you're not a professional in the subject.
I have no idea if this feature can be easily integrated into the EVSE. I'm a master electrician and not a software fan. I will soon install an EVSE with my colleague and operate it illegally because I cannot register it without controllability.
How about if we add an option to the existing switch connections?
Now we have options to use the existing switch connections for switching Access On / Off or switching Smart vs. Solar; it would be relatively simple to add an option "Power Reduction Relay" that would limit the power usage to MinCurrent (or is the 6A fixed by law?)
Of course this way people using the relay would not be able to use the switch for other purposes, but switching Access On/Of and Smart/Solar can already be done by the buttons on the LCD screen, so perhaps not a big problem?
Also: what would be the limit in case of a Master and e.g. 3 Slave chargers? Would there be 1 relay, and would the current have to be limited to 6A, or 4 x 6A? Or would every slave have its own relay?
I had already thought about the switch, I would have thought that there would be too many functions on the switch. The grid operator only switches one relay per grid connection to control §14a devices. Depending on the device, the power is dimmed; there is a formula for calculating this.
The power limit of 4.2kW was chosen, because it allows 3-phase charging to be reduced to the minimum without having to switch to 1-phase charging. This means that the performance can be increased again later, because the dimmer is limited to a maximum of 2 hours.
What I could imagine:
- The switching input is taken as "Power Reduction Relay", if the input is true, it will not be reduced.
- The reduced maximum power of the EVSE is entered in a new menu.
If someone has multiple EVSEs, the benefit can be divided among the EVSEs. However, the reduced power must be calculated and changed because the power only needs to be dimmed for the controllable §14a devices. Appliances such as electric stoves, lamps and ovens do not need to be dimmed, so the reduced maximum power cannot be determined at the grid connection point, ist must be as a sum from the EV meter.
The electricity from a PV system can add to the reduced maximum output because it is not drawn from the grid. PV + reduced maximum power = charging power
Luxury idea: If the switch button were an opener, it would still be technically possible to switch between solar and smart in non-reduced mode. The SmartEVSE would only have to react to falling edges with a duration of 0.5 seconds
Storing the reduced maximum performance requires no more than one byte with a comma shift. 256=25.6 kW 8 charging points = 18,9 kW
If you connect your energy-provider-provided relay to the Switch connector and GND, this should work:
Please test!
EDIT: O and configure "Switch" to "Grid Relay" on the LCD Menu!
I'm currently traveling for the company and will be able to test it out this weekend, Thanks
I tested the version. My measurement setup: Fuses => EV electricity meter => Contactor 4-pole (C1) => Contactor 2-pole (C2) => Auto A button (NO) and the RG LED are connected to the SmartEVSE. So dimming is always active. When I press the button, switching off dimming is simulated.
My observations:
- Solar: It is running normally.
- Smart: no dimming detectable
- Normal: Dimming works and can be turned off and on again. However, it is set to 6A current and not to the 4300W output of the EV electricity meter.
My wishes:
- Dimming in smart mode.
- Dimming according to the power of the EV meter
- It would also be good to have an indicator that shows that the EVSE is charging in a dimmed state, perhaps in faded red instead of faded green
Today the Smartevse is distributed strangely. Despite solar surplus (green), EV charging remained at 6A (blue)
The EVSE does not switch off when there is little solar power, I have disabled that
I installed version 3.6.9, but there is no option to select the “Grid Relay”. When I searched the code, I didn't find anything called "Relay". Wasn't that compiled?
No, look at the release notes, its a bugfix release.
OK, but in the SmartEVSE-3.5/docs/configuration.md has the option son in it, so I thought it was already in the firmware
This version should have Smart mode limited charging fixed; also it shows "LIMITED" in the LCD display when appropriate.
The EVMeter is only taken into account to determine the number of phases that are used to charge. If the EV decides to use less then the amount that is made available, it is of no use to make even more available....
Please test....
I tested the version. My measurement setup: see above My observations: Solar: It's running normally. Smart/Normal: Dimming works and can be turned off and on again. However, dimming only works if the grid-relay is closed and then opened. If the grid-relay is open when restarting, dimming will not be activated. This behavior is the same every time the SmartEVSE is restarted. This is not always the case when switching from solar to smart/normal. Dimming often does not occur if the grid-Raley was open during the switchover. After closing and reopening the grid-relay, dimming takes place.
Thanks for the elaborate testing!
You are right, the variable that determines whether the relay is open or closed is only set on switching. I have to rethink this part of the code...
There is no rush. I had an accident at work and am on sick leave until October 6th, so I hardly drive. Tests are not possible until October.