Read the statement by Michael Teeuw here.
MMM-EskomSePush
-
@gertperdZA :beaming_face_with_smiling_eyes:
ESP sent communication today:
Sometimes, we know in if a Suburb will change (or has changed) from one loadshedding block to another. The ESP App caters for this, and automagically updates the Suburb to the new Area ID so the user doesn’t need to do anything.
What this means for you: After the switch, the old Area ID will start returning HTTP 404 (Area does not exist)Have made changes to cater for this. Still need to test all these changes but as they suspended loadshedding, I am unable to test fully. :-)
-
@mumblebaj
Hi guysI please need your help. When I make use of the api, do I leave it exactly as is or do I remove the “-” in-between the characters
Is this fine
token: "1234ABCD-5678EFGH-1234ABCD-5678EFGH ",I am also unsure about the area. I have run the below in the command prompt on the Pi but I don’t get the correct info
curl --location --request GET “https://developer.sepush.co.za/business/2.0/area?id=eskde-10-fourwaysext10cityofjohannesburggauteng” \ --header "1234ABCD-5678EFGH-1234ABCD-5678EFGH "
Currently my area on the phone app indicate as below
Golden Harvest A.H (10)
Golden Harvest A.H (5)|JHB City PowerPlease advise me on the correct way to get the area
-
Hi @Zoltan. You can leave the token as is with the dashes.
I believe you area would be
jhbcitypower3-5-goldenharvestah
-
@mumblebaj
Awesome, thanks very much for the quick response and assistance. I have a visual and cant wait for load-shedding to start again to see the module in action lol :-) :-)My mirror is a very old build and I had to install MagicMirror from scratch but it was only a question of time before I had to do that
Thanks for the great app that you made available. It really gives the mirror so much more purpose
-
@Zoltan No worries. For upgrades always use the upgrade scripts from Sam. See link below. https://github.com/sdetweil/MagicMirror_scripts It is the easiest way of upgrading your mirror.
-
@mumblebaj
I am going to try that with my previous image. Thanks for the heads up