Yes, this can get a bit fuzzy, in particular if you have several dimmer devices with target levels less than 100 and greater than 0%...and even more complicated if you have a mix of different target levels in a scene. To come up with a percentage value, as available for a dimmer, but for a scene, do you calculate an average across all device levels? If so, what does it tell you? Or this one: should a scene be considered 100%, if a target level is only 70% and that level is currently met. That is why I said, I prefer to keep it simple – like you showed in your program: each device of a scene has a target state. If all devices are at their target state, this equates to a TRUE, otherwise it is FALSE – no grey area.
Will do. EDIT: how do I do this? Is there a sub forum to post in or form to submit?? Maybe one the moderators (Michel?) could point me in the right direction - thanks!
I upgraded from a several thousand $ URC setup a few years ago to iRule. I have been very happy with iRule’s capabilities and performance (and at much lower cost). I use a couple of iPads, a Touch and an Android smart phone as ‘front ends’. Control of my home theater is handled mainly by the ISY for the Insteon ‘stuff’, a Digi Portserver for the IP to RS232 connections and a GlobalCache itach for the IR devices. More and more devices are also directly controllable through IP.
iRule is a very powerful and customizable solution. AFAIK, iRule offers a free demo version> Why do not you check it out.