Monitor solar generation and grid usage with Open-Meteo data and Slack alerts
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs on a schedule (cron 0 19 * * *) (plus 1 other trigger). Along the way it connects Slack.
How it runs
Trigger: On a schedule (cron 0 19 * * *) (plus 1 other trigger).
- Set - Config (Edit Fields (Set)): sets 13 fields: solarApiUrl, gridUsageApiUrl, weatherApiUrl…
- HTTP Request: calls an HTTP API
- HTTP Request: calls an HTTP API
- HTTP Request: calls an HTTP API
- JS - Compute Expected Solar Output & Efficiency Ratio (Code): runs custom JavaScript code
- JS - Analyze Usage vs Production & Compute Net Energy Balance (Code): runs custom JavaScript code
- JS - Build Alert/Report Payload & Determine Severity (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Wait: pauses before continuing
- Slack: uses Slack
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs daily (or on demand) to pull solar production, grid usage, and Open‑Meteo weather data, estimate expected solar output, calculate net energy balance and costs, and post a Slack summary or escalate underperformance through an…