Loadshedding API?

blunt

Expert Member
Joined
May 1, 2006
Messages
4,162
Reaction score
815
Location
Cape Town
Anyone know if there is one? Can always scrape the websites but an API would be nice.
 
Thing is its never accurate which sucks. If you guys could develop and accurate app that would be cool
 
Last edited:
I will even go as far as paying for an SMS & email service relevant to my area. At a reasonable cost and up to date.
 
Besides Eskom you will also require APIs from all of the municipalities that control their own electrical distribution.
 
Indeed it looks like content scraping is the only option now. I only need it for CPT anyway, think I've found a solution.
 
client wants customised alerts based on load shedding status in their area

I see there's a python script which pulls data from the json feeds on myeskom @
https://github.com/daffster/mypowerstats

will take a further look into that.

You are better off doing something like this:

Code:
var random = new Random();
while(true)
{
    Thread.Sleep(random.Next());
    SendAlert("Lights out!");
}

It'll be way more accurate.
 
You are better off doing something like this:

Code:
var random = new Random();
while(true)
{
    Thread.Sleep(random.Next());
    SendAlert("Lights out!");
}

It'll be way more accurate.

:D

Just going to have to scrape the wcgov site for now.
 
Nahh not with how they flip a coin to decide whether to load shed or not
 
For our area its rather accurate, it could be upto 1 hour late but if it says its going off on that day, its going off.
 
Loadshedding is declared by Eskom when the supply cannot meet the demand, there is only one "load shedding status" for the country and municipalities follow the order. There is no coin flipping involved. In cape town our municipality is quite accurate with the schedule they published so it's quite predictable.

A guy made a CLI for getting the status here
 
Bump. Any API, widget or HTML available (for a community website)?
 
Top
Sign up to the MyBroadband newsletter
X