question

nickdb avatar image
nickdb asked

Node Red - Eskom se Push integration for load shedding

Attached are two flows required to integrate ESP into node red for those that want to get load shedding forecasts and then use this data to automate behaviour in response to outages.

I have not got far enough to create a flow for auto-charging/topup yet, but will get there.

You will need to sign up for an API key at: https://eskomsepush.gumroad.com/l/api?layout=profile.

This is put into the "set header to token value" node.

You will also, using postman and the instructions available at ESP or online, find your region code URL and put that into the "check forecast status node".

Thanks to Phil Gavin for the ESP flow which I have modified.

The Load shedding flow will put the following on a dashboard.


screenshot-2023-04-14-at-133739.png

You can then use the various outputs to develop whichever behaviour you require in order to automate for load shedding.

I will post mine once available.

I am sure there are more efficient ways of doing this for those more experienced, but it works.


Node-RED
3 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

4 Answers
Dirk-Jan Faber (Victron Energy) avatar image
Dirk-Jan Faber (Victron Energy) answered ·

I had not seen this post before, and I made https://flows.nodered.org/node/node-red-contrib-eskomsepush to easily connect the EskomSePush load-shedding API with setting the MinSOC.

5 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

andybrink avatar image
andybrink answered ·

Hi all,

as anyone experienced issues with the ESP API in the past 3 days? I understood that there were various issues with the Victron backend.

I am using the Node developed by Dirk-Jan (link above) but it seems that the quota is consumed already and I could not trace back why.

Thank you for any hints!

3 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ludwigo avatar image
ludwigo answered ·

Does anyone know how to update the ESP node to the latest version?


1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Dirk-Jan Faber (Victron Energy) avatar image
Dirk-Jan Faber (Victron Energy) answered ·

I have done some testing with version 0.0.12, but don't see any strange things in credit consumption rate.
1688554452213.png

I've used the flow here to graph the API calls.

If someone does encounter problems, please do report as much info as possible to help debug the cause. That includes area, screenshots and logging. And the best place to report issues is on the github site: https://github.com/dirkjanfaber/node-red-contrib-eskomsepush/issues


1688554452213.png (27.5 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.