Script device - when is the VB Script called?
Posted: Sun Jan 08, 2006 4:51 am
I would like to integrate some hardware (T10 from EZControl.de) into Housebot. Because there is no hardware interface available, I thought to use a script device to do this (which is technically feasible from the VB Script side).
My assumption was that the script is called for each property change within the device (I added two simple properties to control on/off and dim level of a lamp). This seems not be to the case, instead I have to set the status to "running" to execute the script. Is this true? Is there a way that the script is called for each property change so that I can do the appropriate action in the script? If not, is there any other way other than writing a new hardware interface plugin (I'm not familiar with C++)?
Thank you very much
Stefan
My assumption was that the script is called for each property change within the device (I added two simple properties to control on/off and dim level of a lamp). This seems not be to the case, instead I have to set the status to "running" to execute the script. Is this true? Is there a way that the script is called for each property change so that I can do the appropriate action in the script? If not, is there any other way other than writing a new hardware interface plugin (I'm not familiar with C++)?
Thank you very much
Stefan