grid-aware-energy-load-shifter
mrbese 제작
Coding Agents & IDEs요약
Grid-aware energy load shifter for Home Assistant.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
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
요구 사항
- 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
설치
clawhub install mrbese/grid-aware-energy-load-shifterCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.