freakent / node-red-contrib-sunevents

A node for node-red that generates events based on the position of the Sun at the appropriate time of day.
Apache License 2.0
15 stars 14 forks source link

Get current state #10

Closed sprynm closed 4 years ago

sprynm commented 4 years ago

Is there a way to retrieve current(last) sun event for restarts?

freakent commented 4 years ago

I use this node in conjunction with MQTT persistent topics to hold the state across restarts etc.

See my example flow in the readme.