Releases: dirkjanfaber/node-red-contrib-eskomsepush
Releases · dirkjanfaber/node-red-contrib-eskomsepush
v0.0.18
- Fixes a crash of the node when there is no loadshedding going on (issue #12)
Full Changelog: v0.0.17...v0.0.18
v0.0.17
- Fix in brackets (issue #11) Thanks again @nicopret1
- Reduce the sleeptime (minimum 10 minutes, maximum 60 minutes)
v0.0.15
- Fixes issue #10 ("TypeError: dates.stages[(EskomSePushInfo.calc.stage - 1)] is not iterable")
- Adds API allowance limit to keep API calls from being used by the node
Thanks @nicopret1 for the fixes and suggestions.
v0.0.14
v0.0.13
v0.0.12
Fixing some issues:
- When a schedule end time is on the next day, it was ignored. That is no longer the case.
- As the API resets at 2AM instead of midnight, the calculation until then is used instead for determining the sleep time between calls. Also added a check that the sleep time cannot be smaller than 10 minutes.
New feature
- Added an input to overrule some of the current behavior. Inserting a timestamp will output the data directly. Inserting of of the strings
allowance
,area
orstage
will cause the node to fetch the requested part.
v0.0.11
Quite a big rewrite of a lot of the main functions, allowing for easier debugging of the code.
Also some new functionality added:
- Depending on the amount of API calls left for the day, the sleep time between calls is either increased or decreased.
- There now is a
msg.payload.calc
field, containing extra information like the seconds to the next state change and the start and end time (as javascriptnew Date()
, so in milliseconds after the epoch), duration in seconds and more.
v0.0.8
- Fix in checking when events are active or not.
- Moved updating status to own function
- More typError checking
- Improved documentation