Substitution not working

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
Jon Webb
Member
Posts: 1
Joined: Tue Nov 15, 2005 4:48 am

Substitution not working

Post by Jon Webb »

Hi folks,



I am trying to link the dim level of a (z-wave) device to that of another device. The master device is called DownstairsLight1, the slave is DownstairsLight2.



I created a task which has just one "Change Property" action. It should set the value of DownstairsLight2.Dim Level to %%DownstairsLight1.Dim Level%%.



However, when I use the substitution syntax as described in the help file (above) the value is replaced with '0' after I click OK.



Am I missing something here?! I'm using HB 2.22.



Cheers, - Jon -
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Unfortunately, when setting the 'Value' in a Task, the substitution only works for Alpha-numeric type properties (not Numeric types like the dim level).



You'd probably have to do it in a script (with a task to call it when the dim state changes). It's a hack and a pain, but it should work.
Scott
Post Reply