grid-aware-energy-load-shifter
di mrbese
Coding Agents & IDEsSintesi
Grid-aware energy load shifter for Home Assistant.
Descrizione
Cosa fa questa skill
Reads electricity prices, solar production forecasts, battery state of charge, and consumption data from Home Assistant to schedule deferrable household loads during cheapest rate windows. Supports EV charging, HVAC pre-conditioning, pool pumps, dishwashers, laundry, and water heaters. Also handles battery arbitrage and virtual power plant demand response signals.
Works with all major dynamic pricing providers (Nordpool, Tibber, Octopus Energy, Amber Electric, ENTSO-e) and controls multiple device types through a single Home Assistant interface, eliminating the need for separate per-device automations.
Quando usarla
- Scheduling EV charging to overnight off-peak rate hours
- Pre-cooling home during cheap solar hours before afternoon peak pricing
- Deferring water heater to lowest-price window each day
- Charging home battery from grid at valley prices and discharging during peak
- Participating in utility demand response events to shed loads and earn payments
Esempio di workflow
User asks: When is the cheapest time to run my EV charger tonight?
- 1
Run energy-summary to retrieve current electricity prices, solar forecast, and battery state
- 2
Read the hourly price array from the pricing entity's today/tomorrow attributes
- 3
Find the contiguous window matching the EV's estimated charge duration with the lowest total cost
- 4
Calculate estimated savings compared to charging at the current rate
- 5
Call switch/turn_on on the EV charger entity at the optimal start time
EV charger scheduled for 02:00-05:00 at $0.08/kWh, saving $1.84 vs charging now at $0.31/kWh
Requisiti
- HA_URL environment variable (Home Assistant base URL, e.g. http://homeassistant.local:8123)
- HA_TOKEN environment variable (Home Assistant Long-Lived Access Token)
- Home Assistant instance with energy integrations configured
Installazione
clawhub install mrbese/grid-aware-energy-load-shifterEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.