Yesterday, 14:24
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)
(i.e. based on the value of a 1-bit object)
Resident script Activated by an object
|
Yesterday, 14:24
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)
Yesterday, 14:40
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.
Yesterday, 17:08
(Yesterday, 14:40)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.
Yesterday, 18:22
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.
2 hours ago
You can use a scheduled script and simply check the object value each time the script runs. If using PID algorithm then a resident script must be used.
|
« Next Oldest | Next Newest »
|