Skip to content

Instantly share code, notes, and snippets.

@mirisbowring
mirisbowring / pool-pump-scheduler-pv.yaml
Last active April 27, 2026 19:14
Schedules Pool Pump activity based on min activity per day, blocked times (like night) and has an option to steer the pump with solar overproduction
blueprint:
name: Pool Controller V6 (Auto-Cycle Calculation & PV)
description: "Advanced pool pump controller using a grid sensor for PV surplus. Features anti-cycling delays, a daily minimum runtime guarantee, and an optional 'Force Cycles' toggle. The minimum cycle duration is automatically calculated based on pool volume and pump flow rate (1 full turnover). Requires an Input Select (Mode), Input Boolean (Force Cycle), and a History Stats sensor."
domain: automation
input:
pool_pump_switch:
name: Pool Pump Switch
description: "The smart switch controlling your pool pump (e.g., Shelly)."
selector:
entity: