Closed aaron1uk closed 2 years ago
This is has been asked before. The whole point of this node is to output the events when they happen. If you just want to find the next event or the last event you can do it with 4 simple lines of Javascript in a Function node. I already provided an example before here https://github.com/freakent/node-red-contrib-sunevents/issues/28#issuecomment-877872960
apologies must have missed that thanks for the reply
Firstly great little Node, I have a feature Request, instead of waiting and getting the next solar event it would be beneficial to return the current solar event (or the closest solar event) instantly.