Jump to content

Motion Sensor On-Level Does Not work by Program Adjust Scene


spaterson76

Recommended Posts

Hi,

 

I've just moved from using programs to scenes for motion detection, believing that I could achieve what I want with a scene, but this doesn't seem to be true.

 

Here's the issue:

If I go to the scene in the admin console, there is an on-level setting for BOTH the motion detector & the light.

I assumed that if i set the on-level on the light to the desired value, that is what would happen when the motion detector is triggered.

This is not true. It is the on-level for the motion detector that is used.

 

This might not be a problem, except there is no way to set the on-level to anything but 0% or 100% in a program.

If I go to a program & try to add this line:

 

In Scene 'Motion7_Scene_MD' Set 'MotionDetectors/MD7-Sensor' 75% On-Level

 

It cannot be done. The admin console forces your program to use either 0% or 100%.

 

If I navigate to Main & to the scene, the on-level for the motion detector can be set, but it cannot be set by a program.

This appears to be a bug?

 

Steve

Link to comment

The Adjust Scene statement should specify the Motion Sensor - Sensor node in the 'In Scene' parameter and the light node name in the 'Set' parameter.

 

What ISY firmware level is being used? The Motion Sensor nodes are Controller Only nodes. They have no ability to set an On Level for the Motion Sensor itself. The Scene I have with the Motion Sensor - Sensor node as a Controller and a SwitchLinc Dimmer as a Responder does not show being able to set any On Level for the Sensor node (running 3.3.7).

Link to comment

I believe motion sensors can be set only to on (100%) or off.

 

This is not true. It is the on-level for the motion detector that is used.

This is not as I understand it. I understand that it is the responder level that controls response to a motion sensor (or any other controller).

 

There may be a couple of things going on here. First, I wonder (not sure) if one can change attributes of a scene containing a motion sensor. Since motion sensors are battery-operated, they cannot be re-programmed without first putting into linking mode (or within a few minutes of sending a status change).

 

Second (more likely), responder levels can vary based upon which controller is initiating the scene. For example, a "scene on" level can be different if initiated by the ISY versus the motion sensor. Is it possible that you are reducing the master scene levels while leaving the response to a motion sensor at 100%?

Link to comment

oberkc

 

Yes, it is valid to change the Responder value when the Motion Sensor is a Controller because it is the Responder light node that is having the Responder On Level changed. The Motion Sensor node has to be specified in the Adjust Scene statement 'In Scene' parameter to identify the Controller. As you said each Controller has a unique set of Responder On Level and Responder Ramp Rate values which are stored in the Responder device, not the Controller device. However, that is only providing the Controller Insteon address to know which Responder link in the Responder light node to change. There is nothing in the Motion Sensor that needs to be changed and could not be changed because the Motion Sensor is asleep.

Link to comment

When you select 'Adjust Scene' in the program select the motion sensor 'Sensor' for the 'In Scene' parameter

and the actual switchlinc for the 'Set' parameter. The you can set the levels, here are two examples.

In Scene 'Main Bath MS - Sensor' Set 'Main Bathroom / Main Bath SL - Light' 0% (On Level)

In Scene 'Main Bath MS - Sensor' Set 'Main Bathroom / Main Bath SL - Light' 45% (On Level)

There is some good info here.

http://forum.universal-devices.com/viewtopic.php?f=26&t=2922&hilit=motion+sensor&start=15

 

It might be worth describing your requirements at a higher level before getting into the programming side of it.

i.e I want to walk into the room and expect the light to react immediately and differently depending on time of day, at the same time I want to be able control the light manually via the paddle etc etc.

Link to comment

Hi all,

 

Thank you very much, I made the edit initially mentioned by LeeG & it works great.

And, I also implemented about 20 programs (seen in Wayne's sample in the link a couple messages up) that bins the light current level into categories & assigns the on-level appropriately.

 

Essentially, when you adjust the wall switch, the motion detection is pseudo disabled as that wall switch event triggers a bunch of programs that do

- if light status is off, in scene 'motion detector A-Sensor' set 'my lights' 0% (On Level)

- if light status >=1 % && light status <= 5%, in scene 'motion detector A-Sensor' set 'my lights' 3% (On Level)

- if light status >=6 % && light status <= 10%, in scene 'motion detector A-Sensor' set 'my lights' 8% (On Level)

.

.

.

etc.

 

So, when you have it disabled, it actually just sets the lights to roughly their current value.

In my setup, turning the light fast-off re-enables the motion detection.

 

This post probably shouldn't have existed. Just my mistake using the scene, rather than the motion sensor in the adjust scene command.

 

What a dream it would be to set the on-level to a variable value, turning these 20 programs into 1 :)

 

But, thank you for the help. Works great,

Steve

Link to comment

spaterson76

 

Thanks for taking the time to post the results. We are all looking forward to Variables being expanded. The development cost to implement the I2CS protocol changes has impacted several planned enhancements according to Michel.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.3k
×
×
  • Create New...