Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Loadshedding / Eskom API Integration !!

Featured Replies

16 minutes ago, Mamod1 said:

@WannabeSolarSparky yes I noticed earlier today to was working but now it is broken again, guess it's best to perhaps poll the endpoint like you said then store the information until the next successful poll happens (when successful then I'll update with most recent schedule) 

I note that sometimes it returns a blank message, so I poll ( every 5 secs) till I get a valid readout..

 

47 minutes ago, DaveAWalker said:

I note that sometimes it returns a blank message, so I poll ( every 5 secs) till I get a valid readout..

 

I think polling every 5 sec when down is too aggressive for a public service.

I take a sample once every 60 minutes and use the previous value if I get an error.

Edited by system32

On 2023/04/05 at 11:10 AM, beyarkay said:

Hey! Creator of eskom-calendar here, I'm glad you like what I've made 😄 Feel free to ask me any questions you might have, or let me know if there are any issues. I'm here to help.

 

- Boyd

Hi Boyd

Just to confirm, once I have added this to my Calendar - it will update with any changes that Eskom makes to the schedule automatically ?

  • 6 months later...
On 2023/04/05 at 11:10 AM, beyarkay said:

Hey! Creator of eskom-calendar here, I'm glad you like what I've made 😄 Feel free to ask me any questions you might have, or let me know if there are any issues. I'm here to help.

 

- Boyd

Hey I'm interested in which API you signed up for to get the data?

Is there a way to see when load shedding has finished, like when the power has been restored after load shedding? 

I'm wanting to try  build some small to tell me when power has been restored  for my own personal use.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.