richardwooding / powerdown

Console application to decide whether to powerdown using the EskomSePush API
MIT License
6 stars 2 forks source link

Integration with eskom-calendar? #2

Open beyarkay opened 1 year ago

beyarkay commented 1 year ago

Hey!

I'm the creator of eskom-calendar, I'm wondering if you want to work together to do an integration?

I don't have access to the EskomSePush business API so I can't try out your tool, but it would be cool to have the open source datasource as an alternative to the paid source (and I'm happy to put in the effort to try and get feature parity between the two)

At the moment the data isn't hosted anywhere but github, although I'd be keen to make changes so that powerdown could be an easy cli to the dataset.

Lemme know what you think 👍

richardwooding commented 1 year ago

Hi @beyarkay my electricity uses the City of Cape Town schedule. (which usually differs from Eskom). So the EskomSePush API is more useful for my primary use case, which is triggering my Synology NAS to shutdown. I still need to document this.

However I don't mind doing an integration, if anything it can parse your https://github.com/beyarkay/eskom-calendar/blob/main/manually_specified.yaml resource which I can fetch using the RAW url.

richardwooding commented 1 year ago

I have started an integration directly with your Config util for now. Also refactoring powerdown to support multiple backends.