EskomSePush: API available

Using “https://reqbin.com/curl” I always get " Cannot process your request."…

As you can see… tech knowledge low in this area :wink:

Try use postman, but make sure you set the token in the header (that may be why reqbin is failing)

1 Like

OK… got my area id but… after I enter my API Key Ai ;(.
image

Done a full remove of everything and reinstalled… Numerous restarts of HA…

If you tell me your approx. Lat. and Lon. I’ll plug it into my Node-RED version and tell you what id it comes back with.
For Port Alfred coordinates the following id’s were returned:
“id”:“eskdo-16-portalfredndlambeeasterncape”
“id”:“eskme-16-portalfredndlambelocalmunicipalityeasterncape”
“id”:“eskdo-16-portalfredparkndlambeeasterncape”
“id”:“eskdo-16-stationhillndlambeeasterncape”
“id”:“eskdo-13-eastlondonoutlyingbuffalocityeasterncape”

So taking the first id as an example the request would be:

https://developer.sepush.co.za/business/2.0/area?id=eskdo-16-portalfredndlambeeasterncape&events.current

This would be sent with your own API key as the header:
It is working as this same request returns this for me:

Thanks @Phil.g00 - sorted this bit already - just can’t get the Integration reinstalled now… Accepts API Key but not Area:

I get the error above…

Resolved: API calls Quota must have been used up. No fancy error but all good this morning!
Thanks all.

Turns out you didn’t have to turn it off and on again, rather you had to sleep on it.
The 2nd most common solution to technical problems :slight_smile:

1 Like

I uninstalled and redid everything from scratch… TWICE… :smiling_face_with_tear:

When our kids were 2-3 years old I used to refer to naptime as turning them off and on again…

One of my favourite Bible stories is of that time Elijah gets all despondent, because you see Ahab hates his guts and wants his head. So he runs away but gets tired and sits down under a shrub, declaring that he’d rather be dead. He sleeps for a bit, then wakes up to some food after which he proceeds to walk for 40 days and nights. Proving, conclusively, that sometimes all you need is a nap and a snack.

I though you are going to refer to one of my favourite stories…
The one about Jonah, the vine and the worm (and the wind).

Not that I like worms eating stuff and agrivating people, but because it is so true. The afrikaans version calls it a “komkommerplant” and as anyone that has ever tried to plant a cucumber seed would know that it is one of the fastest seeds to germinate and start to grow.

I was so proud of my new cucumbers that grow 2cm in one day! :grin:
The next day there was just a stick and some green “dust” on the ground :scream: Each little cucumber plant had a worm on it eating it all away in less than a day. It is as if those worms germinated as part of the seed and I understood how Jonah felt :frowning_face:

1 Like

I have more than one. Another game-of-thrones-esque one, is of a Woman (called Jael) who finished off the commander of the enemy’s army with a tent peg and a hammer…

Yeah sorry about the OTT bit, but art imitates life, and also the reverse, and there is nothing new under the sun. We just find more technological ways of doing the same things…

Anyone else getting this in HA after update?

Yes. Was too lazy to rollback.
Only way I could get it to validate was to move it back to configuration.yaml

:frowning: , yes, but makes my config look very messy.

Seems there is already a bug reported

Would really appreciate some help getting this started, and I am quite the noob with HA…

When I open the link posted, I see the top of the code:
“### Moved away from ‘rest’ to integration: https://github.com/wernerhp/ha.integration.load_shedding

What I kinda gathered was that I need to add the “https://github.com/wernerhp/ha.integration.load_shedding” repository to my HA add-ons. However, when trying to do that, it tells me that “https://github.com/wernerhp/ha.integration.load_shedding is not a valid add-on repository”

Am I messing up completely? Would really appreciate some help getting this going…

*Edit: Well I did end up getting it to work using another way of doing it, so I’m fine for now. Would still like to know how I can get the fancier thing to work…

Yeah so that is a HACS repository. Once you have it installed, on that same github repository is links to have some nice cards in home assistant. This is what mine looks like using the provided examples:

When you copy the example code, you still need to edit it and use the entities that correlate to your own area. In my case, Durbanville zone 6.

1 Like

That is the part I can’t get to work. I go to the add-on store, click on the three dots top-right, then click on “Repositories” and then paste the link above and click add. It the tells me that it isn’t a valid add-on repository. Am I using the link wrong?

*Edit: Nevermind, I see I first need to install HACS. Bit confusing as the add-on store already contains HACS add-ons so I assumed it was installed…

Once you have HACS installed, it will open the world to even more Home Assistant custom integrations. Some really neat stuff out there to make Home assistant even better.