ISY Version: 5.30
Motion Sensor is set to only report ON and timeout is set to 20 seconds. it is battery powered.
All other devices are hardwired insteon paddle/keypad dimmers.
I have an Insteon Scene consisting of a Dimmer Switch (resp) and a Motion Sensor II (cont) to get low latency "on" when I walk into a bathroom.
I have a routine to set the house to "night mode" when I push a button on a different keypad. Routine turns off a scene containing all common area lights, sets the "on level" of several lights to a value defined in a variable. it also sets the "on level" of the Bathroom motion scene.
The goal is instant on to the correct light level when walking into this bathroom.
I am noticing the following;
Programmatically setting the on level of the individual dimmers works fine
In testing, Programmatically setting the scene on level would only work if the Admin UI was set for automatic device writes for both hardwired and battery devices. This was also true with the Admin console closed which seems odd.
I tried issuing a "write changes" command via my program, but it didn't seem to have any effect.
My questions are;
Is there a better/efficient/faster way to do this?
Is it possible to dynamically adjust the on level of a scene with a battery powered device?
and if no, would plugging into USB help?
In leu of finding a definitive answer, I am treating the "timeout" option on the motion sensor to define the time between possible ON reports from the Sensor to the ISY.
Do the "Automatic Writes" settings in the Admin UI have an effect on programs being able to write to either wired or battery powered devices?
What is the Proper/Intended use of the "Write Changes" action within a given program?
Set Light Levels - [ID 0013][Parent 0003]
If
$SleepMode_Bool is 1
Then
Set 'Bath.M / Nw-R-Lights' On Level '$Sleep_Mode_Light_Levels %'
Set 'Kitchen / KitchenN-Peninsula Lights' On Level '$Sleep_Mode_Light_Levels %'
Set 'Hall / Hall.N-Lights (3W)' On Level '$Sleep_Mode_Light_Levels %'
In 'Bath.S / Sensor' Set 'Bath.S / Sw-L-Lights' To On Level '$Sleep_Mode_Light_Levels %'
Else
Set 'Bath.M / Nw-R-Lights' On Level 100%
Set 'Kitchen / KitchenN-Peninsula Lights' On Level 100%
Set 'Hall / Hall.N-Lights (3W)' On Level 100%
In 'Bath.S / Sensor' Set 'Bath.S / Sw-L-Lights' To On Level 100%
Set 'Bedroom Master / MasterBed-Lights' Backlight On 15 / Off 0
Thank you for any assistance you can give. I swear i've googled to the best of my abilities, and have read manuals (though I have ADHD).