jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

node status on scheduler block #66

Closed vtacquet closed 2 years ago

vtacquet commented 2 years ago

Is your feature request related to a problem? Please describe. It would be nice to see when the next scheduled event would occur on the "scheduler" block in the editor (like "next message at xx:xx" on the repeat block)

Describe the solution you'd like A simple node status on the scheduler block with the date of the next event (ex. for sunrise: next message at 07:06), taking into account that there are multiple events and when it has passed the next one should be shown

Additional context ex for the following schedule CleanShot 2021-12-10 at 10 47 58 CleanShot 2021-12-10 at 10 48 39

jensrossbach commented 2 years ago

Hi, realizing this is a bit more complex than for the repeat node because of multiple possible events but definitely not impossible. I have to investigate this in more detail.

vtacquet commented 2 years ago

Yeah, pretty sure it’s not that easy, but would make debugging more practical. Very nice node by the way, there are many others (even containing what is in this enhancement but they all lack the simplicity of having multiple payloads on different moments, this is the best one !)

jensrossbach commented 2 years ago

Thank you, I'm glad that you like the node.

jensrossbach commented 2 years ago

Feature has been published with version 1.16.0.

@vtacquet Sorry that it took so long time, actually I had this feature finished already some weeks ago. But I had a couple of additional features I wanted to release with 1.16 as well and my time was very limited in the last month.

vtacquet commented 2 years ago

thx @jensrossbach it looks perfect !