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.calcfield, 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.