Page 1 of 1

This should be simple but..

Posted: Tue Aug 16, 2011 4:43 pm
by sundodger
I am trying to get a task to trigger based on a property change.
To explain better if the outside light x10 power state changes (off to on for example) run the task that calls a pop up panel on my software remote.
This x10 unit is manually via a property change button on the remote.
How would you set up the task? i seem to be going round in circles.
Thanks, Mark.

Re: This should be simple but..

Posted: Tue Aug 16, 2011 7:33 pm
by Steve Horn
My immediate thought, such as it is, is to do just that - go around in circles. Set up the task to run every x minutes (or whatever) via timer, and check the status of the device's property and compare it to the last saved value (will need a null device/property as a place to store the captured value/state, i.e. "last_x10_light_status"). If there is a change, the task opens the panel. Not sure how to do that without doing a little research. But ideally done directly from within and by the task.
Its a start...
hth,