I'm trying to figure out the best way to turn a device "on" using a script. I had thought that setting the DeviceValue to 100 would be the best way until I read the following in the scripting documentation:
"for example, an X-10 device may have an "On" value of 100, but a Z-Wave device is "On" at values 99 (dimmable device) or 255 (non-dimmable)."
I also see that the "ExecX10" type functions are no longer supported. This is what I had used in HS2 to turn devices on. I'd like my script to be able to turn on both X10 and Z-Wave devices, preferrably without needing to know ahead of time which type of device it is...
Have I missed a simple function to do this? Any help or suggestions would be appreciated.
Thanks,
--Doug
"for example, an X-10 device may have an "On" value of 100, but a Z-Wave device is "On" at values 99 (dimmable device) or 255 (non-dimmable)."
I also see that the "ExecX10" type functions are no longer supported. This is what I had used in HS2 to turn devices on. I'd like my script to be able to turn on both X10 and Z-Wave devices, preferrably without needing to know ahead of time which type of device it is...
Have I missed a simple function to do this? Any help or suggestions would be appreciated.
Thanks,
--Doug
Comment