diff --git a/ha-configs/solcast_automations_g12w_v8_2201.yaml b/ha-configs/solcast_automations_g12w_v8_2201.yaml index 7ec6b94..5d01f5f 100644 --- a/ha-configs/solcast_automations_g12w_v8_2201.yaml +++ b/ha-configs/solcast_automations_g12w_v8_2201.yaml @@ -99,6 +99,11 @@ value: 15 # Program 4: Dodatkowe okno 13:00-15:00 (G12W tania!) - 5kW! + - service: number.set_value + target: + entity_id: number.inverter_deye_battery_grid_charging_current + data: + value: 100 - service: select.select_option target: entity_id: select.inverter_deye_program_4_charging @@ -120,7 +125,7 @@ data: value: 5000 - # Program 5: Stop o 15:00 + # Program 5: Stop o 15:00, przywróć prąd 80A - service: select.select_option target: entity_id: select.inverter_deye_program_5_charging @@ -140,7 +145,22 @@ - service: notify.persistent_notification data: title: "🌧️ G12W: Bardzo pochmurnie!" - message: "Prognoza: {{ states('sensor.solcast_pv_forecast_prognoza_na_jutro') }} kWh. Ładowanie 22:01-06:00 + 13:00-15:00!" + message: "Prognoza: {{ states('sensor.solcast_pv_forecast_prognoza_na_jutro') }} kWh. Ładowanie 22:01-06:00 + 13:00-15:00 (5kW)!" + +- alias: "Solcast G12W - Reset prądu po 15:00" + description: "Przywróć prąd ładowania do 80A po oknie 13-15" + trigger: + - platform: time + at: "15:00:00" + condition: + - condition: time + weekday: [mon, tue, wed, thu, fri] + action: + - service: number.set_value + target: + entity_id: number.inverter_deye_battery_grid_charging_current + data: + value: 80 - alias: "Solcast G12W - Pochmurnie (Pn-Pt)" description: "Standardowe ładowanie nocne gdy >= 3 kWh"