I have a number of events that are triggered when a device's value is set or changed. The events run scripts that make some quick calculations and save the results to other HS devices. It's important that only one copy of each script runs at a time. Up until now, I've been using a serial script to set the trigger device values every 5 minutes and I've never had a problem. A few days ago I switched over to using the HS Device node in a Node-RED flow to set the trigger device values. I'm now getting random warnings in the HS log that a script was not run because it was already running and only one instance was allowed, which is true. I had "Do Not Log" set for the trigger events so I went in and unchecked that for several of the events. Sure enough, I'm randomly seeing a double event trigger in the log just before the warning.
Any ideas?
Any ideas?
Comment