Skip to content

Instantly share code, notes, and snippets.

View robertodijo's full-sized avatar

Roberto Dijo robertodijo

  • RD Technology
  • Eemnes. NL
View GitHub Profile
@dceejay
dceejay / README.md
Last active December 23, 2015 03:19
Get UK Power Demand

#Read UK Power Demand

Uses the web service from the National Grid to fetch the current overall UK Electricity Demand.

    http://realtimeweb-prod.nationalgrid.com/SystemData.aspx

The reponse is then parsed into two parts.

  • The first is an object containing the power in MW and the operating frequency in Hertz
  • The second is true/false depending if that frequency is above 50Hz.