Als klant van ANWB energie heb ik dynamische energieprijzen. Daar haal je het meeste voordeel uit door grootverbruikers (autolaadpaal, vaatwasser etc. te laten draaien als de stroomprijs laag is. Ik heb een sensor voor de uurprijs. Als de auto aan de lader hangt én de uurprijs lager is dan de max prijs die ik wil betalen, dan start het laden. Als het een uur later te duur wordt, dan slaat ie weer af. Omdat ik soms op basis van een ingestelde start/stoptijd wil laden is dat ook een keuze in het pulldown menu. Wanneer ik helemaal niet wil dat de automatisering zich ergens mee bemoeit kies ik pulldown optie manual.
Deze automatisering maakt gebruik van verschillende helpers voor het instellen van max. prijs, start/eind tijd in het pull down menu. De sensor komt van de Nordpool HACS integratie. In HA release 2023.2 komt ook een standaard add on met de huidige energieprijs.
Dezelfde automatisering heb ik gebruikt om een powerplug dynamisch te kunnen schakelen.
:strip_exif()/f/image/HYo4YeMYqsa834w1kCXzE28H.jpg?f=fotoalbum_large)
Code:
Deze automatisering maakt gebruik van verschillende helpers voor het instellen van max. prijs, start/eind tijd in het pull down menu. De sensor komt van de Nordpool HACS integratie. In HA release 2023.2 komt ook een standaard add on met de huidige energieprijs.
Dezelfde automatisering heb ik gebruikt om een powerplug dynamisch te kunnen schakelen.
:strip_exif()/f/image/HYo4YeMYqsa834w1kCXzE28H.jpg?f=fotoalbum_large)
Code:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
| [alias: Enyaq Smart charging description: Smart charging options manual, timed or based on dynamic price trigger: - platform: time at: input_datetime.stop_laden - platform: time at: input_datetime.start_laden - platform: numeric_state entity_id: sensor.current_electricity_price_all_in below: input_number.energieprijs - platform: numeric_state entity_id: sensor.current_electricity_price_all_in above: input_number.energieprijs condition: - condition: state entity_id: binary_sensor.skoda_charging_cable_connected state: "on" action: - if: - condition: time before: input_datetime.stop_laden after: input_datetime.start_laden - condition: and conditions: - condition: state entity_id: input_select.laadschema state: Specific time then: - service: switch.turn_on data: {} target: entity_id: switch.skoda_charging else: - if: - condition: state entity_id: input_select.laadschema state: Specific time then: - service: switch.turn_off data: {} target: entity_id: switch.skoda_charging alias: "Scheme specific time switch off " alias: Scheme specific time start-stop condition - if: - condition: numeric_state entity_id: sensor.current_electricity_price_all_in below: input_number.energieprijs - condition: state entity_id: input_select.laadschema state: Dynamic price then: - service: switch.turn_on data: {} target: entity_id: switch.skoda_charging alias: Scheme dynamic price start stop condition else: - if: - condition: state entity_id: input_select.laadschema state: Dynamic price then: - service: switch.turn_off data: {} target: entity_id: switch.skoda_charging mode: single |