Quantiversal / Cape-Town-Loadshedding-Schedule

A class that can be used to fetch loadshedding times based on stages 1-8
MIT License
14 stars 1 forks source link

OK so not an issue but I can't fathom out how to message you :( #2

Closed emeyedeejay closed 2 years ago

emeyedeejay commented 2 years ago

Some seriously clever maths in that!

Have you fathomed a way or do you have a source for getting the loadshedding stage for the City of Cape town municipality? They are usually a stage better but that's a bit hit and miss for automation etc.

Thanks!

Quantiversal commented 2 years ago

Hey.

Unfortunately not. This repo is more about getting the table data once you have the stage. I just used EWN as an example.

It does suck that it's hard to get. I think even Eskom Se Push does everything manually to get the stage since they add custom messages every time. It would be nice if the government made a nice API to check the status reliably but after so many years of that not happening, we're on our own :(

emeyedeejay commented 2 years ago

Thought as much ... it would be handy but probably to only a fraction of the population so not on their "to do list" I wouldn't think.

Anyway - that's SA for you. Thanks for responding.

Quantiversal commented 2 years ago

Makes sense. Best of luck anyway 😀