This might get a little long. I'll give a simple example of what I'd like to achieve.
I have a light in the bedroom that is controlled by an Insteon Motion Sensor. I want the light to be controlled from 8:00 AM to 11PM. and off otherwise Currently the sensor is not directly tied to the light since it would turn on all the time when seeing motion. when you might get up during the night. So in Indigo I check for a true for the motion sensor and then check the time and only output to turn the light on/off during the proper times.
The problem with this method is that ,at times, Indigo takes too much time( over 10 seconds sometimes) to turn on the light when I walk into the room. Apparently its doing some other things. I have over 250 devices in the house. So the quickest method is to have the motion sensor have a direct link to the light.
I think I might have a method that I can achieve this. When you manually link the motion sensor in Indigo to add it as a controller to the light device you indicate the percent of brightness. That brightness percent , I think appears to stored in the light device not the Motion Sensor. So when the light device gets the proper motion sensor command to turn on it uses that value.
What I was thinking to do, since the light device stores that value to use for a particular motion sensor, that if I could send a RAW command to the light device I could change the value that it would use. So at 11:pm I would send a 0% brightness value to the light device for that motion sensor. Then when the motion sensor sends the ON command it would use zero as the light level.. Conversely at 8AM I would send the command to the brightness of the light device to 100%..
Is this possible? Would there be a RAW command or maybe it is already known, that could change the brightness value in the light device? This would benefit me in other places in the house as well.
Thanks ahead for any input on this.