Jump to content

Newbie programming question - Motion


coyote

Recommended Posts

Posted

I have an Insteon 2842-222 Motion sensor and the following program. The light that is linked will turn on when motion is detected, but then the light just stays on. It will not turn off after 1 minute.

 

The motion sensor is set to send an Off signal after 30 seconds. I don't want to rely on the Off signal, I just want the program to run a set time, then turn the light off.

 

What am I doing wrong?

 

If

 

Status 'Motion 2-Sensor' is On

 

Then

 

Set 'Front Porch KPL.' Fast On

Wait 1 minute

Set 'Front Porch KPL.' Fast Off

 

Else

 

- No actions

Posted

Change the Motion Sensor options to On Only mode so it will not issue the Off command.

 

Change the Program from "If Status" to "If Control"

 

The Wait and Repeat statements will be interrupted when the If conditions change. The Off message from the Motion Sensor terminates the Wait, the If is now False so the Else clause runs. Take a look at the Wiki for Wait and Repeat

 

http://wiki.universal-devices.com/index ... EON:Action

Posted

I have a new 994i (latest official release firmware 4.0.5) and new 2842-222 motion sensors (v.00, which seems like a bit of an odd version number).

 

I happily have the motion sensors linked to the ISY, I can configure them (I have jumper 5 installed), and I can set them to be controllers for scenes just fine, and they happily control those scenes. But what I've been absolutely unable to get to work are even the simplest programs triggered by motion sensors. I figure I'm missing something simple, but I've yet to figure out what it is. I have lots of other non-motion sensor programs that work (e.g. things driven by sunrise, sunset, etc).

 

As an example, the following simply program never runs, even though I see the motion LED blink. I have the Motion sensor set for On-only, so I don't think an accidental off-command from the motion sensor is causing me problems (and besides in the Summary tab, I never see the program as run). I've checked and double checked that the program is enabled and is in a folder that has no conditions on it (other things in the folder run happily).

 

If

Control '3F-Master Bath-Motion-Sensor' is switched On

Then

Set '3F / Office / 3F-Office-Chandelier-DIM@Door' 100%

Wait 4 seconds

Set '3F / Office / 3F-Office-Chandelier-DIM@Door' Off

 

Else

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

 

Other data: I have 100+ dual-band devices in the house, and as I play with the motion sensor pretty much nothing else is happening, and I'm about 10 feet from a dual-band switch. I can get "current State" responses from queries to the sensor's Low-Bat, but not to Dusk or Sensor, which I find a bit odd, as sensor is awake I believe.

 

So I'm sure I'm doing something wrong, but I have no idea what it is at this point. Looking forward to finding out where I'm being stupid.

 

Thanks,

MDF

Posted

This program should run, as near I can tell. I don't think you are missing anything obvious. I do not believe an accidental off is a problem.

 

Were this me, I would watch the ISY event viewer and have someone activate the motion sensor. Does the event viewer register the detection? I suspect this is where the problem lies. If the event viewer fails to register the detection, I would be looking for are communication issues or link record errors. If it DOES register the motion, but the program fails to run, I would be looking at whether the program is disabled, or in a folder that is disabled.

 

The fact that the motion sensor can communicate via scene to another insteon device is not conclusive evidence that it is communicating with the ISY/PLM.

Posted

 

If

Control '3F-Master Bath-Motion-Sensor' is switched On

Then

Set '3F / Office / 3F-Office-Chandelier-DIM@Door' 100%

Wait 4 seconds

Set '3F / Office / 3F-Office-Chandelier-DIM@Door' Off

 

Else

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

 

 

MDF

 

I was wondering what exactly is the motion sensor controlling? What device is your 3F / Office / 3F-Office-Chandelier-DIM@Door?

Posted

This is just a light in my office (where I'm playing with the motion sensors). When I do a "Run Then" exactly what you expect to happen happens (i.e. my office light blinks on and off).

 

Separately, anyone know if there exists some where a list of the latest and great version numbers of various devices? Is there V.00 version number on my motion sensors the right version number?

Thanks for all your help.

MDF

Posted

I can get "current State" responses from queries to the sensor's Low-Bat, but not to Dusk or Sensor, which I find a bit odd, as sensor is awake I believe.

Thanks,

MDF

Mine works the same when not in "Communication mode", obtained by the button on the MS.

 

Watch the device status page to investigate initial signal reception. You may have to manually reset it to OFF each time.

Posted

Mdf

 

The v.00 is the result of entering the Device Type when adding the Motion Sensor. Delete the Motion Sensor and add it with the default Device Type Auto Discover. I have a v.41 Motion Sensor but it is not likely the latest.

Posted
This is just a light in my office (where I'm playing with the motion sensors). When I do a "Run Then" exactly what you expect to happen happens (i.e. my office light blinks on and off).

 

So if the then statement works, what about the settings on your motion sensor, what are they set at? You said you have it set to On commands only, what about the settings, sensing mode, night mode, timeout minutes, etc?

Guest
This topic is now closed to further replies.

×
×
  • Create New...