This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

pause event script
#1
Hello

In case there is a bus reset or a disconnection, if possible I would like the event scrips to be evaluated after a certain settable period at bus return, otherwise I would have suffered a series of alarms, how can this be done?

Thanks
Reply
#2
This is not possible. You can add some extra checks so your scripts do not continue execution if a certain condition is not met.
Something like this, but you will need another script to control the bus_connected variable state.
Code:
if not storage.get('bus_connected') then
  return
end
-- rest of the script
Reply


Forum Jump: