Jump to content

Get rid of extra ON commands.....


Exten

Recommended Posts

Posted

I have a 2842-2 motion sensor that sends extra on commands when the light

is already on. So something is awry in my logic?

 

Sensor is set to 1 minute delay.

ISY adds 4 minutes, and that part works fine.

 

It's just the extra on commands I'd like to get rid of. How do I do that?

 

=========================================

If

Control 'MS2_UpBed-Sensor' is switched On

And Status 'MS2_UpBed-Sensor' is not On

Then

Set 'Upstairs / Upstairs Bedroom / UpBed Lites' On

Send Notification to 'Somebody' content 'UpBed-LitesOn'

Else

Wait 4 minutes

Set 'Upstairs / Upstairs Bedroom / UpBed Lites' Off

Send Notification to 'Somebody' content 'UpBed-LitesOff'

Posted

Is Sensing Mode option checked or unchecked. If Sensing Mode is On the Motion Sensor sends On commands for every motion detected.

 

If not Sensing Mode the Motion Sensor sends On commands only after timeout interval has expired.

 

How long between Motion On messages?

Posted

The email timing is as expected. The next On command comes after the 1 minute Motion Sensor Timeout interval. Either the Motion Sensor Timeout value has to be increased or the Program logic adjusted to not send an email while in the 4 minute Wait.

Posted

Doing the programs as below will prevent you from getting more than 1 notification per light turning on. The second program will trigger only when the lights status changes to on. So if it is already on, the program won't trigger even if it gets another on command. It has to change, and it has to change to on. Of course you will get an email every time the light turns on no matter how it got that way. Also, you will get an email if someone manually dims it, then turns it back to full on. But I am guessing that this is not really how you expect to use the light.?

 

If

Control 'MS2_UpBed-Sensor' is switched On

And Status 'MS2_UpBed-Sensor' is not On

Then

Set 'Upstairs / Upstairs Bedroom / UpBed Lites' On

 

Else

Wait 4 minutes

Set 'Upstairs / Upstairs Bedroom / UpBed Lites' Off

Send Notification to 'Somebody' content 'UpBed-LitesOff'

 

If

Status 'Upstairs / Upstairs Bedroom / UpBed Lites' is on

Then

Send Notification to 'Somebody' content 'UpBed-LitesOn'

Else

empty

Posted

Thanks Guys. I'll look at the tips provided and work on my programming.

Yeah, the email timings looked according to plan.

 

Apostalaski - No...I don't mind the extra emails, I can always delete the lines.

What I'm actually doing is using my bedroom light and emails as a test

ground while I learn isy programming and work with behavior of insteon products.

In actual practice it seems like most of these programming concepts will apply

to just about any real world scenario. There is a great write up over in the

wiki about motion sensing bathroom lights so I'll back and re-read that too.

 

Thx.

Guest
This topic is now closed to further replies.

×
×
  • Create New...