Untitled
unknown
plain_text
a month ago
3.0 kB
0
Indexable
alias: Immersion Heater Based on Solar and Battery AIO (WIP) description: >- Turn on/off the immersion heater based on solar input and battery state of charge. mode: single triggers: - entity_id: - sensor.sunsynk_solar_power above: 2950 id: PV-immersion_on_threshold trigger: numeric_state - entity_id: - sensor.sunsynk_battery_soc above: 94.8 id: Sunsynk_SOC-immersion_on_threshold trigger: numeric_state - entity_id: - switch.sonoff_1 to: "on" id: POWR3-ON trigger: state conditions: [] actions: - choose: - conditions: - condition: trigger id: - POWR3-ON sequence: - action: notify.mobile_app metadata: {} data: message: Immersion Heater has been turned on. - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 - wait_template: "{{ states('sensor.sonoff_1_current') | float < 1 }}" continue_on_timeout: true enabled: true - type: turn_off device_id: (your device id) entity_id: (your entity id) domain: switch - action: notify.mobile_app metadata: {} data: message: Immersion Heater has been turned off. - delay: hours: 1 minutes: 0 seconds: 0 milliseconds: 0 - conditions: - condition: trigger id: - Sunsynk_SOC-immersion_on_threshold - PV-immersion_on_threshold - condition: device type: is_off device_id: (your device id) entity_id: (your entity id) domain: switch - condition: numeric_state entity_id: sensor.sunsynk_solar_power above: 2950 - condition: numeric_state entity_id: sensor.sunsynk_battery_soc above: 94.8 sequence: - target: entity_id: switch.sonoff_1 data: {} action: switch.turn_on - action: notify.mobile_app metadata: {} data: message: Immersion Heater has been turned on. - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 - wait_template: "{{ states('sensor.sonoff_1_current') | float < 1 }}" continue_on_timeout: true enabled: true - type: turn_off device_id: (your device id) entity_id: (your entity id) domain: switch - action: notify.mobile_app metadata: {} data: message: Immersion Heater has been turned off. - delay: hours: 1 minutes: 0 seconds: 0 milliseconds: 0
Editor is loading...
Leave a Comment