beyarkay / eskom-calendar

Get your loadshedding schedule in your calendar and never be left in the dark! Open-source, up-to-date, and developer friendly.
https://eskomcalendar.co.za
GNU General Public License v3.0
190 stars 35 forks source link

machine_friendly.csv has disappeared... #334

Closed JurieVorster closed 1 year ago

JurieVorster commented 1 year ago

The CSV files on Github have disappeared, this project shutting down? Particularly .../eskom-calendar/releases/download/latest/machine_friendly.csv

beyarkay commented 1 year ago

This project is very much alive, but thanks for letting me know that it's disappeared. Looking into it now.

beyarkay commented 1 year ago

Okay I've been making some performance improvements on just about everything, so I've triggered a new release which should make it available again in ~5 minutes.

beyarkay commented 1 year ago

Aaaaand we're back: https://github.com/beyarkay/eskom-calendar/releases/download/latest/machine_friendly.csv

beyarkay commented 1 year ago

Thanks Jurie for raising my attention to this, things could have gotten out of hand quite quickly otherwise. I'm going to look into creating some alarms to ensure machine_friendly.csv is always up and running.

Can I ask what your use case is? I'm always curious about how people are using the project.

JurieVorster commented 1 year ago

I am using Home Assistant to collect information such as info from Solar Assistant and saw a link to your site that they have added to the latest version. Curious the way I am then wrote some Node-RED to parse the info in my HA... do have load-shed integration however do like to tinker with alternatives. We (so far 16 of us) share access to each other's HA mostly using port-forward and some cases tailscale. The Solar Assistants are mostly on Solar Installation I did and ppl interested in me remotely monitoring theirs. My main Home Assistant runs on a i5, 16GB an 512GB SSD, debian ... yeah yeah... way overkill and a separate Pi4 as a sandpit to play on. Same at home also 2 HA installs. Sporting MQTT on those that I have remote devices like SA and various ESP devices (ESP01/ESP8266/ESP32/Sonoff/Pico etc) using MQTT to bridge / exchange info.

Dave-DigiMim commented 1 year ago

Boyd I use your machine_friendly.csv to create the following
I get the current loadshedding stage from https://loadshedding.eskom.co.za/LoadShedding/GetStatus

https://www.mrps.co.za/files/steyn.html

this my area from https://github.com/beyarkay/eskom-calendar/releases/download/latest/machine_friendly.csv right now It still show the old data form earlier on Thursday even though your tweet link shows

image

eskom-direct-3-even,2023-04-05T18:00:00+02:00,2023-04-05T20:30:00+02:00,4,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-06T02:00:00+02:00,2023-04-06T04:30:00+02:00,4,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-06T10:00:00+02:00,2023-04-06T12:30:00+02:00,4,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-06T18:00:00+02:00,2023-04-06T20:30:00+02:00,4,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-07T02:00:00+02:00,2023-04-07T04:30:00+02:00,4,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-07T18:00:00+02:00,2023-04-07T20:30:00+02:00,2,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-08T18:00:00+02:00,2023-04-08T20:30:00+02:00,3,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-09T00:00:00+02:00,2023-04-09T02:30:00+02:00,3,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-09T16:00:00+02:00,2023-04-09T18:30:00+02:00,3,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-10T00:00:00+02:00,2023-04-10T02:30:00+02:00,3,"https://twitter.com/Eskom_SA/status/1643610532090355717" eskom-direct-3-even,2023-04-11T00:00:00+02:00,2023-04-11T02:30:00+02:00,3,"https://twitter.com/Eskom_SA/status/1643610532090355717"

beyarkay commented 1 year ago

Hi @Dave-DigiMim , I'm not sure I understand what is wrong?

The most recent eskom loadshedding update was on Wednesday 2023-04-05, and that update is what is referenced in machine_friendly.csv.

And then the schedules have been calculated correctly according to that announcement from eskom.

I checked the schedule for eskom-direct-3-even on https://eskomcalendar.co.za and that seems correct to me, and matches what is shown on EskomSePush.

Could you clarify the problem you're having?

Dave-DigiMim commented 1 year ago

@beyarkay Sorry , my mistake looking at the machine friendly csv I was seeing 4's and 3's when its stage 1.. However that was from past days.. I guess it's just because we seem to only be getting stage 3 as well. Yes the data is right sorry...

beyarkay commented 1 year ago

Okay, no worries! Glad everything's sorted out now.