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.

Weird, I don’t see the workflow or guide on your site, but I like the idea! I have something similar built into the home assistant built-in automation engine that does something similar, but not as extensive. It basically just switches me from summer mode or winter mode depending on the forecast.