Thomas_DK;322740 Wrote: > > Im thinking of a senario like this: > > 1. Squeezebox Duet - connected to my router and my amplifier. > 1. QNAP TS-109 Storage running SqueezeCenter - connected to my router. > 1. Innovus House Controller(Z-Wave) - connected to my router. > 3. Innovus RAone Smartdimmer(Z-Wave) in my livingroom. > 2. Innovus RAone Smartdimmer(Z-Wave) in my bedroom. > > A plugin developed running on the QNAP for controlling light through > the XML to Z-Wave interface on the Innovus House Controller. > > My purose is to be able to control both music and light from the > SqueezeBox Remote on screen! Is it possible to develop graphics for > controlling lights - eg. a sliderbar or other "gui-control" for light > levels etc???
You'd probably need to use a Lua applet to get a nice sliderbar widget on the Squeezebox Controller screen. The following post shows screenshots of the very utilitarian Controller GUIs that PowerCenter offers for X10 (on/off/brighten/dim) and Insteon (on/off/percentages 10-100). http://forums.slimdevices.com/showthread.php?t=41482 In addition to being primitive, and only supporting Insteon, the PowerCenter 10-100% brightness doesn't know the current brightness of the Insteon dimmer it's controlling -- nobody's bothered to write code to deal with that (my X10 code and Greg's Insteon code were very much "itch-scratching" jobs, writing just enough code to meet our personal needs; hard to justify putting a lot of effort into it when the profit margin is so bad!). But if your plugin implemented a CLI command to return the current state of a smartdimmer, your slick Lua sliderbar applet could, like the Controller's volume slider, offer a better UI than PowerCenter's Insteon Controller UI -- your applet would just need to make a Comet/CLI call to get the status before displaying the slider widget. I'd love to include Z-Wave support in PowerCenter, I just - don't think the current hacked if/elsif/else approach that it takes to Insteon/X10-Firecracker/X10-CM11 controllers should be used - don't have the time to make a nice extensible API for new home automation controllers & protocols - don't have much interest in reading the Logitech Public Source License Lua code to figure out applets If you're interested, I'd welcome PowerCenter patches. And most of PowerCenter is GPLed, so you're free to do what you want with it within the broad constraints of the GPL. -Peter PS. Gordon, thanks again for the kind review. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=50174 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
