Skip to content

Controls

pjvenda edited this page May 20, 2024 · 8 revisions

Toggle

These are input_boolean helper entities.

Charge Rate Slow

Sets the battery to charge at 1.8kW from the grid. This is achieved by setting it to 'Self-Powered' mode, setting a high reserve level and having Grid charging enabled.

HA name Affects
input_boolean.powerwall_battery_charge_rate_slow script.powerwall_mode_grid_charge

Battery Export Charge

Lets the battery dump charge onto the grid.

HA name Affects
input_boolean.powerwall_battery_export_charge script.powerwall_mode_time_based_solar

Export Solar Surplus

Prioritises exporting of solar energy vs feeding the house (i.e. battery discharges to support house consumption). Just like the 'Force Export' mode, so does the 'Export Solar Surplus' control toggle rely on the 'Utility Rate Plan' being setup with a higher 'sell price' than the 'buy price'. Otherwise the Powerwall will prioritise consuming the solar power generated rather than exporting it.

HA name Affects
input_boolean.powerwall_export_solar_surplus

Force Full Charge

Ensures that battery charges fully

HA name Affects
input_boolean.powerwall_force_full_charge script.powerwall_mode_grid_charge

Numeric

Battery Reserve Percentage

Sets the reserve percentage on scripts that require manipulating this parameter.

HA name Affects
input_number.powerwall_battery_backup_reserve_operation script.powerwall_mode_default script.powerwall_mode_time_based_solar

Selector

Battery Custom Modes

This selector helper entity can be used to query which custom mode the Powerwall is currently set to, but also, changing it triggers the automation.powerwall_custom_mode_selector_control automation, which calls the script corresponding to the selected mode.

HA name Affects
input_select.powerwall_battery_custom_modes automation.powerwall_custom_mode_selector_control

Schedules

Energy providers will often provide time-dependent tariffs, usually in the shape of two time periods where one is higher demand so more expensive and the other is lower demand so cheaper. In other cases, providers will bill dynamically throughout the day, in half-hour periods, depending on many factors that influence the cost and carbon impact of buying, selling and supplying energy on the network.

Therefore, manually set schedules are required for automations, which is my case. Your automations may require other inputs for taking decisions.

Low Rate Schedule

Schedule that defines time periods when provider tariff is peak or off peak (effectively expensive or cheaper - high rate or low rate). Used to control an automation that enables charging of the battery at the cheap rate period Octopus Tariff Battery Mode Control. This particular schedule helper means low rate == cheap == off peak.

HA name Affects
schedule.octopus_low_rate_schedule automation.octopus_tariff_battery_mode_control

Battery Export Schedule

HA name Affects
schedule.powerwall_battery_export_schedule