Page 1 of 1

Tasks and Changers

Posted: Fri Nov 20, 2009 7:04 am
by tuggybear
I'm trying to write a task that will only execute when the device status is changed by the device.
To limit the condition to only be valid if changed by a particular 'changer', enter the changer name in the Changed By field. This field can specify multiple changers by separating the changer names by commas. If left blank, the condition will not be limited to changes by any specific changers. For more information on changers, see the What is a Changer section below.
In the Changer Field I enter "Device" but the task runs even when the device status is changed by the user interface or the status is changed by another device.

Any suggestions?

Re: Tasks and Changers

Posted: Fri Nov 20, 2009 9:02 am
by Osler
Please post your task exactly as it is in HB so we can trouble shoot.

Osler

Re: Tasks and Changers

Posted: Sat Nov 21, 2009 7:11 pm
by tuggybear
The Code is:

Code: Select all

If ( 'Bedroom\Master Bedroom. Power Stae'(changed by Master Bedroom) is Equal 'Off) Then
What I'm trying to do is activate a task only when the Master Bedroom light switch is turn off at the switch.

Re: Tasks and Changers

Posted: Sun Nov 22, 2009 3:29 pm
by Osler
Have you tried just using Device instead of Master Bedroom. The comparison is probably being made to what is being written into the device history....i.e., Device and not the word Master Bedroom.

Osler

Re: Tasks and Changers

Posted: Mon Nov 23, 2009 8:04 am
by tuggybear
Osler
Yes I have tried just 'device' and the task still runs when the status is changed by the user interface.

Anyother suggestions

Re: Tasks and Changers

Posted: Mon Nov 23, 2009 9:31 pm
by Osler
Sorry, but no. I don't really use this functionality. I will play with my set-up a bit to try to see how it works. Perhaps Scott could chime in or attempt to duplicate the issue.

Osler

Re: Tasks and Changers

Posted: Wed Nov 25, 2009 9:17 am
by wetwired
The fact that your code says "Power Stae" has nothing to do with it I guess?

Re: Tasks and Changers

Posted: Wed Nov 25, 2009 10:04 am
by ScottBot
If you entered "Device" in the changed by field of the Task, then it should be configured correctly to do what you are looking for. However, I noticed from your example that the task reads (changed by Master Bedroom), which isn't correct. It should read (changed by Device).