@DarrenHill Have made some changes now.
Here with QACode:
And now without QRCODE
Will push the changes shortly
@DarrenHill Have made some changes now.
Here with QACode:
And now without QRCODE
Will push the changes shortly
@DarrenHill Thanks for bringing this to my attention. Seems like the QR code is the culprit. Will advise once I get a chance to have a look and push a fix for it.
Hi @Zoltan. You can leave the token as is with the dashes.
I believe you area would be jhbcitypower3-5-goldenharvestah
@greedyvegan said in set the calendar day to a short version:
calendar.js
Never modify the module code directly. You override settings in config/config.js. For css you override it in the css/custom.css, but never change the module code. This will cause issues when upgrading to the latest versions.
@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. :-)
Overview
Apologies for only showing this here now. Module has been around for almost 8 months now.
For those who do not know what this is, the state power utility operator describes it as follows:
Load shedding is a controlled process that responds to unplanned events in order to protect the electricity power system from a total blackout.
For those who know what this is… You know the feeling… :-)
So, we have a rotational system whereby the local municipality will switch off your power for a period of 2.5hrs depending on the stage we are on at that given time. There are instances where we go without 4.5hrs of power when we are at stage 6 or above. Most often we can be without power for up to 12hrs per day.
I have created this module for users to monitor their load shedding schedule and help them plan accordingly.
Link to module:
EskomSePush
Some pics:
No loadshedding:
With loadshedding:
With 4.5hr schedule:
Latest Update:
@KristjanESPERANTO I think if they didn’t want you to get “inside” they would build it better. I.e. if they didn’t want you to scrape the data they would preserve it better.
The way i see it, you can use one of 2 URL’s to get the data and then scrape it. You require the area / postal code as input though and you can make the radius to search an option as well.
Pharmacy for postal/area code 80331 within 20km
https://www.aponet.de/apotheke/apothekensuche/80331/ /20
Emergency Service 25km radius from postal code 65760
https://www.aponet.de/apotheke/notdienstsuche/65760/ /5
Should be easy enough to scrape the data.
Anyway, they do provide widgets and the code for people to access the data.
See below link:
https://apotheken-notdienstdaten.de/aponet-download-service/
@sdetweil Hence I always warn users of API limitations. if they exceed then it becomes their issue.
@manu85340 That would not be a problem as you are using apiSport which does not require that.