someguy Posted February 28, 2009 Posted February 28, 2009 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?
Sub-Routine Posted February 28, 2009 Posted February 28, 2009 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
someguy Posted February 28, 2009 Author Posted February 28, 2009 Man, that is really short. I was going to set it to 30 minutes. I guess I'll have to think of some way to get the isy to bail me out of this one.
MikeB Posted February 28, 2009 Posted February 28, 2009 You could use an ISY program to extend the WAIT if you'd like. Instead of adding the Motion Sensor to your scene, create an ISY program to trigger based on the status of the motion sensor. The biggest downside would be a slight delay in response.
gregoryx Posted February 28, 2009 Posted February 28, 2009 MikeB, would an alternative be to go to "on only" mode, have it trigger the light on, then use the ISY for the off only?
Brian H Posted February 28, 2009 Posted February 28, 2009 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?
Sub-Routine Posted March 1, 2009 Posted March 1, 2009 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
someguy Posted March 1, 2009 Author Posted March 1, 2009 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?
Brian H Posted March 1, 2009 Posted March 1, 2009 Rand; Probably right. Not the first time the documentation was not updated to shipping product. I was to see they released a NEW Developers Guide late in February 09.
Sub-Routine Posted March 1, 2009 Posted March 1, 2009 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
Sub-Routine Posted March 1, 2009 Posted March 1, 2009 Rand;Probably right. Not the first time the documentation was not updated to shipping product. I was 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
someguy Posted March 1, 2009 Author Posted March 1, 2009 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?
Sub-Routine Posted March 1, 2009 Posted March 1, 2009 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
jcthorne Posted April 18, 2009 Posted April 18, 2009 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!
Michel Kohanim Posted April 19, 2009 Posted April 19, 2009 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
Sub-Routine Posted April 19, 2009 Posted April 19, 2009 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
Recommended Posts