Skip to content

Repository files navigation

Coal Watch Australia

Track the real-time status of coal generation units in Australia.

image

coalwatch.com.au

How it works

  • Cron job calls the OpenElectricity API every 5 minutes
  • Fetches all operating NEM coal facilities (black & brown) via getFacilities
  • Pulls 5-minute interval power data for each unit via getFacilityData
  • Compares current power output against unit capacity to determine active/inactive status
  • Generates a 48-hour status history by aggregating 5-min readings into 30-min buckets
  • Results stored as JSON blobs on Vercel Blob storage, served to the Next.js frontend with ISR revalidation

About

Overview of Australia's operational coal facilities

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages