This dashboard is a work in progress. It is not yet complete, but it is being actively developed.
My main aim is to combine what I like about National Grid: Live and Energy Dashboard into a single dashboard, while making it easier for anyone else that also wants to develop a dashboard to use the data.
The data is sourced from a number of different sources, and then combined into a single database. This DB then serves a number of different API (Application Programming Interface) endpoints, including the current electricity mix and historical data for a given time period.
The data is then used to generate a number of different charts, through chart.js, and is displayed.
One of the main goals is to make the API stable and reliable enough for use in not just my projects, but
other's too. For the moment, I will not stop you using it ('Access-Control-Allow-Origin'
is
set to '*'
and no custom rate limits are imposed), but anything
could change at any time. Proper docs will be written once the API is stable.
Sure, it's sqlite3 and I just used JSON (there is literally only 2 columns, 1 time 1 data). Download it here, I may make a reference parser in the future but it's super easy to just figure out yourself anyway.
I may submit this for my A-Level project, so no for now, but it will be in the future. However, it's not like the dashboard source is minified or anything, so that's at the very least source-available (just open DevTools).
The data used in this dashboard is sourced from:
https://data.elexon.co.uk/bmrs/api/v1/datasets/FUELINST/stream
https://api.solar.sheffield.ac.uk/pvlive/api/v4/gsp/0
https://api.carbonintensity.org.uk/intensity/{date}T00:00Z/fw24h
https://data.nationalgrideso.com/backend/dataset/7a12172a-939c-404c-b581-a6128b74f588/resource/177f6fa4-ae49-4182-81ea-0c6b35f26ca6/download/demanddataupdate.csv
https://gridwatch.templar.co.uk/download.php
(not actually an API endpoint)Copyright notices: