csuermann / node-red-contrib-suncron

Node-RED node that triggers configurable outgoing messages based on the position of the sun
MIT License
9 stars 1 forks source link

How to easily re-fire events ? #20

Closed jirmjos closed 3 years ago

jirmjos commented 3 years ago

First my congratulations for this awesome sun events node. Since I discovered it it has become my go-to node for triggering all my automations based on solar time. My problem is that I can't find an easy way to force the node to reevaluate and re-fire the corresponding event. From the documentation I understand that with simply updating offset or schedules the node should re-evaluate and re-trigger the event but I do not want to update anything, all I want is simply order a manual re-trigger the current event (exactly the same process executed on node start-up if the checked "emit preceding event on startup") but fired from the input flow to node. Maybe It could be simply as enabling one additional property in the node if are checked enable "a manual fire" trough an input message like ex. msg.payload = "update" or something so simple.

Best regards Jose,

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

jirmjos commented 3 years ago

Hi Cornelius, My goodness ... how fast are you!

Your added feature on v1.5.0 to manually update with any non object payload is working like a charm !!.

Thank you so much. You make my day. All my respects. Jose,

csuermann commented 3 years ago

My pleasure! Glad to hear it's working like you expected.