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

Support for some less obvious areas #9

Closed beyarkay closed 1 year ago

beyarkay commented 2 years ago

Many areas are not shed by eskom and so don't have areas specified by eskom. Currently these areas just result in a log line like Cannot parse: Some("https://www.capetown.gov.za/Family%20and%20home/Residential-utility-services/Residential-electricity-services/Load-shedding-and-outages") "City of Cape Town" and there are no CSV files defining the national LS schedule for these areas.

A scraper should be created to download data and format them as CSVs in the same format as the existing CSVs

Additionally, these areas often have a different schedule than the rest of the country. Changes should be made to src/main.rs to enable manually_specified.yaml to accept a parameter like "shedder" or similar, so the schedules for the country and for the regionally-shed areas can be kept separate

Information sources for non-eskom shed areas:

Possible complications:

Interested parties:

beyarkay commented 2 years ago

Citypower should be fixed by https://github.com/beyarkay/eskom-calendar/commit/d766ab4f17ba93472b4882f1d83058124471a14b. Workflow succeeded here

zeorin commented 2 years ago

City Power *.ics files were part of a previous release, but I see that they are now gone…

zeorin commented 2 years ago

They are now back!

beyarkay commented 2 years ago

Not entirely sure what happened there though, they shouldn't have been gone in the first place. I just had to recompile the calendars in order to get them to appear again.

Opening this in a new issue so I can try root cause the problem.

DyllanDarcy commented 1 year ago

Hey mate, This is an awesome project. I'm not sure which ics file would be used for KwaZulu Natal, eThekwini Municipality, Waterfall, Block 8

Thanks in advance!

beyarkay commented 1 year ago

Hi Dyllan, I see you opened #267 , so I'll close this issue and respond there.