Jump to content

2420M MS & Programs Not Working As Desired


SteveSBE

Recommended Posts

Posted

I'm having a problem with programming a 2420M motion sensor to turn on lights controlled by a 2476D SwitchLinc Dimmer v.00 (for bathroom lights) or controlled by a (B2457D2) LampLinc BiPhy v.3A (for an office lamp). I’m using ISY v2.8.3.

 

I want to turn on and keep on the lights on in a dimmed (or if desired not dimmed state) so long as there is movement in the room.

 

I have put my MS settings, scene information, and programs at the end of this message. To keep the problem solving simple, my examples below are for the office, which has an "on" program to turn on the lamp at 50% and an “off†program to turn off the lamp after 4 minutes of no movement. (The code for the office and bathroom are similar except that the bathroom has multiple "on" programs depending on the time of day that should provide dim lights late at night.)

 

I have a couple problems….

 

1. Rather than 4 minutes per the "off" program, the lamp turns off after 0.5 minutes which is the timeout for the MS. I've changed it to to 2 minutes and get the same result (it turns off at 2 minutes).

 

2. Setting the scene level for the lamp does not seem to work. For the “Office On 50%†program I use a scene and rather than just turning it on to 100%, I want the scene to turn on the lamp at the 50% level and ramp over 2.0 seconds. The lamp turns on instantly and also turns on at the 100% level.

 

I’d appreciate if someone can tell me how I can change my settings or program to fix my problems…

 

Thanks,

 

Steve

 

 

Settings and Programs Below

 

The settings for the MS can be seen at this link: http://screencast.com/t/opRUPnvHFrR

 

I created a scene with the MS as a controller and dimmer as responder. You can see them at these links:

http://screencast.com/t/vEEFFXo4Aw

http://screencast.com/t/cd5fCEQ6o3m

Note that I have a 2440 RemoteLinc v.00 that also controls the lamp...mostly to just turn it off from another room.

 

Program Office Motion Timer Enable

 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')
Then
       Set Program 'Office Motion Timer Enable' To Run At Startup
Else
       Set Program 'Office Motion Timer Enable' To Not Run At Startup

 

Program Office On 50%

 

If
       Control '2 Office - Sensor' is switched On
   And Program 'Office Motion Timer Enable' is True
   And Status  'Office Lamp' is not On
Then
       In Scene 'Office / Office' Set 'Office Lamp' 2.0 Sec (Ramp Rate)
       In Scene 'Office / Office' Set 'Office Lamp' 50% (On Level)
Else
  - No Actions - (To add one, press 'Action')

 

Program Office Off

 

If
       Status  '2 Office - Sensor' is Off
   And Program 'Office Motion Timer Enable' is True
Then
       Wait  4 minutes 
       Set Scene 'Office / Office' Off
Else
  - No Actions - (To add one, press 'Action')

Posted

Steve,

 

Set the MS to On Only mode. The MS must be linked to the devices responder devices which is okay because it gives the fastest responder. However, the MS is sending an Off command which is also going to the responders. Setting to On Only mode will suppress the Off command from the MS. At that point all Off activity will be the responsibility of ISY Programs.

 

I could not tell from the screen shots posted. Each Controller of a Scene can have different responder characteristics. Be sure to click on the Motion Sensor as the Controller of the Scene. Then check the responder characteristics for the LampLinc.

 

Lee

Posted

Also it looks like your program "Office On 50%" is just adjusting the scene when the 2 Office - Sensor switches on, which is too late. That program needs to be run before the ms triggers in order for the scene to turn on at 50%.

 

Tim

Posted

Lee,

 

I did that but now the "off" program doesn't work. I believe this is because when the On Only mode is selected, the MS never has an off status. Therefore the "off" if statement is never true and the lights never turn off.

 

I used the programs 5, 6, and 7 from the Wiki here: http://www.universal-devices.com/mwiki/index.php?title=ISY-99i/ISY-26_INSTEON:Using_Motion_Sensors_in_Bathrooms

 

Is the WikI incorrect?

 

Steve

Posted

Tim,

 

It seems like what I'm trying to do with scenes is not possible. Do I have to use a different programming technique?

 

Thanks,

 

Steve

 

Also it looks like your program "Office On 50%" is just adjusting the scene when the 2 Office - Sensor switches on, which is too late. That program needs to be run before the ms triggers in order for the scene to turn on at 50%.

 

Tim

Posted

Steve,

 

You defined the Motion Sensor as Controller of the Scene. This means that the MS will send On and Off commands directly to the list of responders as motion and the timeout interval expires independent of what your Programs are doing. If you want all responder On/Off reaction to be under Program control rather the direct Motion Sensor control remove the MS as a Controller of the Scene. Then turn Off On Only mode.

 

Whether you let the MS directly control the responders for On/Off ( MS as Controller of the Scene and On Only mode Off), let the MS turn On the responders and the Program turn the responders Off ( MS as Controller of the Scene and On Only mode On) or let the Programs do all the responder On/Off (MS is NOT a controller of the scene) is completely a user choice.

 

I am not familiar with the examples in the Wiki. It sounds like from the results of the Programs you have chosen you do not want the MS as a controller of the Scene and you need On Only mode Off. Perhaps the Wiki explains the MS options that must be in effect for each group of Programs.

 

There are many choices. You just have to set the MS options according to the Program requirements you have chosen to use. When the MS is a Controller of the Scene the responders turn On instantly and may or may not turn Off under MS control depending on the On Only mode. When the MS is NOT a controller of the Scene then there is a slight delay turning the responders On as a Program has to run which turns On the Responders and also turns them Off. The advantage to this approach is that you do not have to access the MS physically to set Link mode to change the Off timeout because it is all under control of the Program.

 

Lee

Posted

Hi Steve,

 

You want the ms to turn the office light on at 50%, anytime there is motion or just at certain times? Do you want the motion to turn the light full on at other times?

 

The use of "Scene Adjust" in a program will adjust the on/ramp levels in a scene to what ever you specify so that the next time the scene is turned on the light will turn on to those levels. But calling out the "scene adjust" in a program will not turn on the scenes or make adjustments to a scene when it is turned on already.

 

Tim

 

It seems like what I'm trying to do with scenes is not possible. Do I have to use a different programming technique?

Posted

Thank you Lee and Tim. Your answers helped me simplify my programming. I Set the MS to "On Only" mode, kept the "Enable" program, removed the "Off" program, and modified the "On" program (even using the MS's DD setting). My new "On program is below.

 

Thanks again for helping me and clarifying the commands for me so I better understood them and could correct my code.

 

Steve

 

P.S. I am coding the bathroom now with a slight twist to use scenes and ran into a problem. I'm posting that separately.

 

 

If
       Status  '2 Office - Dusk/Dawn' is On
   And Control '2 Office - Sensor' is switched On
   And Program 'Office9 Motion Timer Enable' is True

Then
       Set 'Office Lamp' 30%
       Wait  2 minutes 
       Set 'Office Lamp' Off

Else
  - No Actions - (To add one, press 'Action')

Guest
This topic is now closed to further replies.

×
×
  • Create New...