Claude Built an App That Sets Overnight Battery Charging From Tomorrow's Solar Forecast
- Level Advanced
- Setup1–3 hrs (estimated)
- Evidence Anecdotal
- CostNot stated in source
- No-codeNo
What they did
A Reddit user and Claude wrote an app that taps into his solar inverter and batteries, gets the next day's solar forecast, forecasts how much power he'll use, adjusts for time of year, emails him a report, then sets the battery charge level on the cheap overnight tariff to top up only what's needed.
How it went
Batteries topped up overnight to only what tomorrow needs, plus a daily email report.
Worth knowing
- Single Reddit comment; no savings numbers. Writing settings to an inverter can void warranties or upset your battery, so start with report-only mode.
Prompt
Cleaned version rewritten from the source — not a direct quote.
Help me build a small app that connects to my [inverter / battery brand] via its API. Each evening: get tomorrow's solar forecast for [location], estimate tomorrow's usage from my past [30] days, and work out how much to charge the batteries on my cheap overnight tariff ([hours]). Email me a short report and set the overnight charge level, within limits I set ([min]-[max]%).
Recommended
Try it in Grok Bot
Originally done with Claude; this prompt works in Grok Bot.
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (Reddit, Email) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: Reddit, Email · Stack: Claude + solar inverter API
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
Single Reddit comment; no savings numbers. Writing settings to an inverter can void warranties or upset your battery, so start with report-only mode
Source: Reddit · 2026-10-14 · Verified by us: not yet · Report broken or outdated