Open ari-za opened 2 years ago
Also I have been using this Node-Red node in another flow, might be of use to convert the UNIX date to a more HA friendly format.
[{"id":"17064c5b.95395c","type":"moment","z":"91f8e48bb87b115a","name":"","topic":"","input":"","inputType":"msg","inTz":"Etc/GMT","adjAmount":"0","adjType":"hours","adjDir":"add","format":"dddd, MMMM Do YYYY, h:mm:ss a","locale":"LLLL","output":"","outputType":"msg","outTz":"Africa/Johannesburg","x":2060,"y":220,"wires":[["8d271e0ef2a16334","b69d12c69cb8fc12"]]}]
Hi there
Firstly fantastic work on the Node Red flow. Works great.
I was wondering if you would be able to easily add the time that the scheduled load shedding is ending? Instead of just the time it is starting.
I had a quick play around with the code, but thought I would rather leave it to someone who knows best.
I see the time the loadshedding is scheduled to end is at characters 15-19 of the string that is returned from the Eskom site.
Thanks!