Summary
This automation aims to reduce the cost of the capacity tariff in Flanders by temporarily switching off certain appliances.
The most obvious candidates are appliances that generate heat and can be turned off and on without issues
(e.g., water heater, dryer, washing machine, electric heater, dishwasher, car charger, etc.).
Prerequisites
- A sensor that reports your average power consumption over 15 minutes (e.g., Homewizard P1 meter)
- A smart plug that can be turned on/off and reports the appliance’s power consumption
- Appliances that can be turned on/off without malfunctioning
- By default, these appliances should remain switched on at all times
How to configure
- Set the “Power sensor” to
p1_meter_average_demand
of your P1 meter. - Set the “Power threshold” to the desired value. The automation will attempt to switch off devices if you risk surpassing this threshold.
- Set the “Power threshold for appliances” to a value below which the appliance will be ignored by the automation.
Typically, you don’t want to turn off the dishwasher, washing machine, etc., if they are not contributing significantly to overall power consumption. - Add the entity IDs for switches and their corresponding power sensors in YAML notation in the “Devices to Control”
You can find the entity ID by clicking on the switch or power sensor label, then on the gear icon. They must be provided in YAML format.
Example:
- power_sensor: sensor.plug_washing_machine_power
switch: switch.plug_washing_machine
- power_sensor: sensor.plug_dishwasher_power
switch: switch.plug_dishwasher
How it works
- The automation runs every 5 minutes.
- It checks the current average demand and estimates the average demand at the end of the 15-minute interval.
- If the estimated demand surpasses the Power threshold, it will turn off all appliances consuming more than the Power threshold for appliances.
- If the estimated average demand is below the Power threshold, all previously switched-off devices will be turned on again.
Changelog
Version: 1.0 : Initial release