- Home
- Skills
- Workflow Automation
- Energy & Solar Load Optimisation
Energy & Solar Load Optimisation
Optimize electricity costs and solar self-consumption by scheduling heavy loads for Home Assistant.
$19
Works with the AI Agents you already use
Energy & Solar Load Optimisation
Example session with this skill installed
Schedule my EV (7.4kW, 4h total, split allowed, 19:00-07:00) and Water Heater (3.0kW, 2h, contiguous, 00:00-06:00) using tomorrow's prices. Max limit 9kW. Generate the HA YAML.
- Read your context and instructions
- Compiled the energy & solar
- Generated the data export
I have processed the price and solar forecast data for the next 24 hours. The scheduler has identified the optimal windows to minimize grid costs while staying under your 9kW limit.
Energy Schedule & Automation
| Load | Start Time | End Time | Solar Share | Est. Cost | Mode |
|---|---|---|---|---|---|
| Water Heater | 02:00 | 04:00 | 0% | $0.22 | Contiguous |
| EV Charger | 01:00 | 02:00 | 0% | $0.12 | Split (Block 1) |
| EV Charger | 03:00 | 06:00 | 0% | $0.34 | Split (Block 2) |
# Home Assistant Automation for Optimized Loading
alias: "Energy: Daily Load Schedule"
description: "Triggers appliances based on calculated cheapest hours"
trigger:
- platform: time
at:
- "01:00:00"
- "02:00:00"
- "03:00:00"
- "06:00:00"
action:
- choose:
- conditions:
- condition: time
after: "01:00:00"
before: "02:00:00"
sequence:
- service: switch.turn_on
target:
entity_id: switch.ev_charger
- conditions:
- condition: time
after: "02:00:00"
before: "04:00:00"
sequence:
- service: switch.turn_on
target:
entity_id: switch.water_heater
Next steps
- Verify the
prices.csvwas updated with the latest midnight data. - Add the
schedulehelper in Home Assistant for a visual dashboard representation. - Ensure the Legionella safety cycle is enabled for the water heater independently of this schedule.
prices.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Cheapest and greenest hours for every flexible load.
Schedule flexible electrical loads (water heater, EV charging, home battery, pool pump, washing machine) on the cheapest or greenest hours from hourly prices and a solar production forecast, and turn the plan into Home Assistant automations. Use when the user wants to lower an electricity bill, use more of their own solar power, handle time-of-use or dynamic tariffs, or plan EV charging.
Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis). Tested scripts: scripts/schedule.py.
Requires hourly price/solar data in CSV format. Does not include hardware-level safety interlocks; user must maintain manual overrides for critical appliances.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 28 days ago