Jump to content

off timer for Insteon Motion sensor


someguy

Recommended Posts

I am trying to get my ISY to modify the Off timer for my 2420M and I am able to get it to tweak the numbers, but it will only let me extend the off timer to 8.5 minutes.

 

Could this be a bug in the ISY or the sensor? anyone else have this problem?

 

That is the maximum timeout in the sensor.

 

Rand

Link to comment
The documentation in the SDK users documentation. Indicates you can set the delay after no motion to 255 '30 second intervals'. Isn't that over 2 hours?

 

Yes, I saw that as well and it would be 128 minutes (0=30 seconds). I believe the released product only uses one byte, 16 steps (0x0-0xF, 30 - 510 seconds), instead of two bytes.

 

Rand

Link to comment

does anyone have details as to how to design a program to bail out this problem?

 

Here is what I mean: If I put the motion sensor in "on only" mode, then what should my programs say to make the motion sensor work like it has a thirty minute off-timer?

Link to comment
does anyone have details as to how to design a program to bail out this problem?

 

Here is what I mean: If I put the motion sensor in "on only" mode, then what should my programs say to make the motion sensor work like it has a thirty minute off-timer?

 

I don't think you want "on only", you will never know when activity has ended. I use the 30 second setting and a program like this:

 

If
       Control 'Kitchen Motion Sensor' is switched Off
   And Control 'Kitchen Motion Sensor' is not switched On

Then
       Wait  30 minutes 
       Set Scene 'Kitchen Low' Off

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


 

If activity occurs again within the Wait period the program quits.

 

Rand

Link to comment
Rand;

Probably right. Not the first time the documentation was not updated to shipping product. :wink:

 

I was :o to see they released a NEW Developers Guide late in February 09.

 

Thanks for that Brian!

I see they added a datasheet for the IRLinc Transmitter as well.

Back to the books :)

 

Rand

Link to comment

Rand:

 

I'll give your program a try.

 

pls explain the logic of the IF part of the statement and how it works. I don't get the "switched on" and "not switched off" part. does the "not switched off" part stop the program from running once it is already running?

Link to comment
Rand:

 

I'll give your program a try.

 

pls explain the logic of the IF part of the statement and how it works. I don't get the "switched on" and "not switched off" part. does the "not switched off" part stop the program from running once it is already running?

 

Correct. Programs that contain Wait or Repeat Actions can be interrupted by a change in the conditions.

 

Add another line so if someone turns on a switch the Off program quits. It will restart next time the motion sensor sends an Off. The state of the switch won't matter, it will take an Action of someone pressing the switch On to make the program quit. You could watch the Status if you prefer.

 

If
       Control 'Kitchen Motion Sensor' is switched Off
   And Control 'Kitchen Motion Sensor' is not switched On
   And Control 'Kitchen South' is not switched On

Then
       Wait  30 minutes 
       Set Scene 'Kitchen Low' Off

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


 

Rand

Link to comment
  • 1 month later...
does anyone have details as to how to design a program to bail out this problem?

 

Here is what I mean: If I put the motion sensor in "on only" mode, then what should my programs say to make the motion sensor work like it has a thirty minute off-timer?

 

I don't think you want "on only", you will never know when activity has ended. I use the 30 second setting and a program like this:

 

If
       Control 'Kitchen Motion Sensor' is switched Off
   And Control 'Kitchen Motion Sensor' is not switched On

Then
       Wait  30 minutes 
       Set Scene 'Kitchen Low' Off

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


 

If activity occurs again within the Wait period the program quits.

 

Rand

 

I don't mean to be dense but I am trying to accomplish exactly the same thing. I have this program and if the motion is part of the scene to turn on the garage light, it turns off in 8.5 minutes. If it is not part of the scene, it never turns on.

 

I tried a simple program to turn it on when the motion is switched on but it does not seem to work either.

 

I want the garage lights to come on when motion is first sensed. And stay on for 30 minutes after the last time motion is sensed. Can you help me accomplish this?

 

Thanks!

Link to comment

Hi jcthorne,

 

The main question is: what would you like done with ISY hears the "off" signal?

 

The problem with the above program is: when ISY hears the Off from motion sensor, thus the condition becomes false and thus the execution stops (stops waiting).

 

Now, if you do not care about off sent my MS, all you have to do is to remove the And Control .... switched off and you should be fine. In short, the condition becomes true every time there's motion and waits 30 minutes.

 

With kind regards,

Michel

Link to comment

I don't mean to be dense but I am trying to accomplish exactly the same thing. I have this program and if the motion is part of the scene to turn on the garage light, it turns off in 8.5 minutes. If it is not part of the scene, it never turns on.

 

I tried a simple program to turn it on when the motion is switched on but it does not seem to work either.

 

I want the garage lights to come on when motion is first sensed. And stay on for 30 minutes after the last time motion is sensed. Can you help me accomplish this?

 

Thanks!

 

Hi jc,

 

Don't put the Motion Sensor in the scene. Then you need a program to turn the scene on. Is this what you wrote to turn it on?

 

If
       Control 'Kitchen Motion Sensor' is switched On

Then
       Set Scene 'Kitchen Motion' On

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


 

If that doesn't work perhaps the ISY isn't seeing the MS On. You can use the Event Viewer to watch for Ons/Offs.

 

Rand

Link to comment
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

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