Write values to a tag on a Tag Change Script

There is no official way to run something “later” in the gateway. The closest would be to use a sleep inside of a invokeAsynchronous() thread. If you do this often, consider using a fast timer event script, checking a timestamp to tell it when to write false.

Another possibility would be to use the ‘invokeLater’ emulation from later.py. It uses an unofficial interface, though.

2 Likes