This should be simple but..

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
sundodger
Member
Posts: 80
Joined: Thu Sep 11, 2008 11:17 am

This should be simple but..

Post 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.
Steve Horn
HouseBot Guru
Posts: 750
Joined: Wed Apr 02, 2003 8:10 pm
Location: Pelham AL

Re: This should be simple but..

Post 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,
Steve
Post Reply