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.

Resident script Activated by an object
#1
Is it possible to create a Resident script, that will be activated or not based on an event?
(i.e. based on the value of a 1-bit object)
Reply
#2
https://kb.logicmachine.net/libraries/lu...pt-control
Best regards

forsterm
Reply
#3
Describe your task. You might not need a resident script at all. Event script with execution mode set to last instance only might be enough.
Reply
#4
(6 hours ago)admin Wrote: Describe your task. You might not need a resident script at all. Event script with execution mode set to last instance only might be enough.

I need a script to run every 1 minute, in order to adjust a room temperature.
This script I need to activate/deactivate it using an object.

When I activate the object (1), I need the script to run,
while when I deactivate the object(0), I need to stop the script.
Reply
#5
I used a Resident script for the function.
And that I Enable/Disable it using an Event script.
Than works just fine.
Let me know if there is a better way of doing that.
Reply


Forum Jump: