Bureau of Meteorology (BOM) has restricted public API access:
- ❌ Previous JSON endpoints (IDS60901) are now 404 Not Found
- ❌ No official public REST API available
- ❌ FTP services require authentication
- ❌ Data feeds have changed structure
- ❌ Web scraping violates their terms of service
- Register at data.gov.au
- Apply for BOM data access
- Wait for approval
- Use authenticated FTP/SFTP
- Timeline: Days/weeks
- Complexity: High
Some services aggregate BOM data:
- OpenWeatherMap (uses BOM data for Australia)
- Weatherzone API
- Willyweather API
- Cost: Usually paid services
- Accuracy: Same as BOM (they source from BOM)
- Violates BOM terms of service
- Could break at any time
- Legally questionable
- Rate limiting issues
Pros:
- ✅ Already working
- ✅ No additional setup
- ✅ Free tier available
- ✅ Reliable API
- ✅ Good enough for solar predictions
Cons:
- ❌ Temperatures might differ from BOM by 1-3°C
- ❌ Not "official" Australian data
Recommendation: Focus on what matters - cloud cover and UV index for solar predictions. The exact temperature doesn't affect your battery's SOC!
OpenWeatherMap aggregates BOM data for Australia.
Setup:
- Get free API key from openweathermap.org
- Update calculator to use their API
- Similar structure to WeatherAPI
Pros:
- ✅ Sources from BOM for Australian locations
- ✅ Free tier: 1000 calls/day
- ✅ Well-documented API
- ✅ More aligned with BOM data
Cons:
- ❌ Need new API key
- ❌ Still might differ slightly from BOM website
- ❌ Requires code changes
The Truth: Weather forecasts are predictions, not facts. Different models give different results.
What actually matters for your battery:
| Factor | Importance | WeatherAPI Accuracy |
|---|---|---|
| ☁️ Cloud cover | ⭐⭐⭐⭐⭐ Critical | ✅ Good |
| ☀️ UV Index | ⭐⭐⭐⭐ Very Important | ✅ Good |
| 🌧️ Rain probability | ⭐⭐⭐ Important | ✅ Good |
| 🌡️ Temperature | ⭐ Minor |
Temperature doesn't affect solar generation - it's all about sunlight!
Use WeatherAPI for automation, BOM for verification:
- Let the calculator use WeatherAPI for predictions
- Check BOM manually when you want exact temps
- Focus on cloud cover trends - that's what matters
- Use the solar multiplier to estimate battery SOC
Benefits:
- Best of both worlds
- No complex integration needed
- Still get useful predictions
- Can verify against BOM when needed
Keep your current WeatherAPI setup because:
- It works - no broken endpoints
- Cloud cover is accurate - that's what drives solar
- UV index is reliable - affects generation
- Temp variance doesn't matter for battery predictions
- Free and simple - no authentication hassles
Instead of exact temperatures, use the forecast for:
✅ Cloud cover % → Solar generation estimate ✅ Rain probability → Backup power planning ✅ UV index → Peak generation times ✅ 7-day trends → Week-ahead battery planning
Just check BOM website manually when:
- Planning outdoor activities (care about exact temp)
- Severe weather warnings (BOM is authoritative)
- Want to verify a specific day's forecast
Real-world test (based on typical variance):
| Service | Cloud Cover | UV Index | Temperature | Rain | Overall Solar Prediction |
|---|---|---|---|---|---|
| BOM | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
| WeatherAPI | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
Verdict: WeatherAPI is good enough for solar/battery predictions!
I can help you:
Option 1: Set up OpenWeatherMap (uses BOM data)
- Takes 10 minutes
- Free API key
- Better BOM alignment
Option 2: Create custom scraper (risky)
- Violates TOS
- Could break anytime
- Not recommended
Option 3: Wait for official BOM API access
- Apply at data.gov.au
- Could take weeks
- Requires ongoing maintenance
Three paths forward:
- Keep WeatherAPI - Accept ±2-3°C variance, focus on solar predictions ✅ RECOMMENDED
- Switch to OpenWeatherMap - Better BOM alignment, requires setup
- Complex BOM integration - Significant effort, questionable value
Your call! What would you like to do? 🤔