I am attempting to set the brightness of a group of Hue lights based on the dim level of a UPB link with a UPB supertoggle. Aside from the super toggle being clearly the best of all toggles (because it is super) it also is pretty useful. What it does is if you double tap the top rocker it snaps on the connected light. If you double tap the bottom it snaps off the light. If you hold it it either raises or lowers the dim level. While I realize I will not get to preview the dim level as I am setting it via scripting as I would with a connected UPB light, at least being able to set the level via light switch rather than an app will be very convenient.
Spud, the author of the UPB plugin, has created a sample script for putting the dim value in a variable. What I am still trying to figure out is setting a JowiHue group to "off" or "on" via a script. I see in the documentation that it is possible to set the brightness, and I made an attempt to convert the dim value from SpudUPB to the brightness value here: http://board.homeseer.com/showthread...03#post1201903
How would you use a script to turn a group on or off?
Spud, the author of the UPB plugin, has created a sample script for putting the dim value in a variable. What I am still trying to figure out is setting a JowiHue group to "off" or "on" via a script. I see in the documentation that it is possible to set the brightness, and I made an attempt to convert the dim value from SpudUPB to the brightness value here: http://board.homeseer.com/showthread...03#post1201903
How would you use a script to turn a group on or off?
Comment