Trigger an event when Node-Red starts, but not on deploy

I'd like to trigger an event when NR first starts, but I don't want to get it each time I hit 'deploy'. "Inject with init" node does the latter, unfortunately.

not if you deploy modified nodes only ...
image

(unless of course you modify the inject node!)


There is other solutions - e.g. you could use memory based context to "remember" you have triggered a flow.

True. Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.