N8n workflow for automated HVAC scheduling based on weather and energy prices

Built an n8n workflow that automates HVAC scheduling based on weather forecast and time-of-use electricity rates. Living in Phoenix Arizona where summer cooling is the biggest household expense.

Workflow:

1. Cron trigger at 6am daily

2. HTTP node fetches openweathermap forecast

3. Function node calculates optimal pre-cooling time

4. HTTP node sends schedule to Home Assistant REST API

5. Second workflow monitors real-time energy via webhook

Results: 15-18% reduction in summer electricity bills.

Full workflow JSON export and setup guide at arizonahometips.com. Curious if others use n8n for home automation workflows.