I am trying to have my heaters working only when I have excess solar power
I want them Turning on only when their is Grid power and when Grid input is below 100w
I want them to Turn off when their is no Grid Voltage 200 - 300V and when Grid input is over 100w
am I missing something that is stopping it watching the power states
I can flip the grid connection off and its still running the heater from battery
same when I turn on the device it stays on even when its drawing over 200w
alias: Barra Heaters Off
description: 'Sonoff Bara Heaters '
trigger:
- type: power
platform: device
device_id: 27cb64ba41eadc07fe39d6c5d9157002
entity_id: sensor.stairs_inverter_power
domain: sensor
above: 100
condition: []
action:
- type: turn_off
device_id: 353fb2d011f47ed4bccd98cc316e40ab
entity_id: switch.sonoff_1000f0cce5
domain: switch
mode: single
alias: Barra Heaters On
description: ''
trigger:
- type: power
platform: device
device_id: 27cb64ba41eadc07fe39d6c5d9157002
entity_id: sensor.stairs_inverter_power
domain: sensor
below: 100
condition:
- type: is_voltage
condition: device
device_id: 27cb64ba41eadc07fe39d6c5d9157002
entity_id: sensor.stairs_inverter_voltage
domain: sensor
above: 200
below: 300
action:
- type: turn_on
device_id: 353fb2d011f47ed4bccd98cc316e40ab
entity_id: switch.sonoff_1000f0cce5
domain: switch
mode: single
I also have to do something about when the meross’s are “Unavailable” because wifi is crap …