Skip to content

Quick hack job to make API of City Power 2 hour loadshedding schedules

Notifications You must be signed in to change notification settings

duanemck/citypower-loadshedding-schedule

Repository files navigation

City Power Loadshedding Schedule API

Quick and dirty API that exposes the City Power 2 hour loadshedding schedule found here

This is a Node.js Azure Function using TypeScript, but the logic could be easily copied into any JS framework.

Disclaimer: It's very possible that the schedule will be changed and this could become out of date.

Why?

Eskom exposes an API containing the current level at https://loadshedding.eskom.co.za/LoadShedding/GetStatus and there are some similar APIs for schedules but not for City Power.

I use this in my Home Automation system to keep me up to date on loadshedding and my personal schedule.

About

Quick hack job to make API of City Power 2 hour loadshedding schedules

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published