Jump to content

BuzzLinc Program


smokegrub

Recommended Posts

Posted

BuzzLinc - [iD 001F][Parent 0001]

If
        From    10:00:00PM
        To      Sunrise (next day)
    And (
             Status  'Door Sensors / Deck Door Sensor' is 100%
          Or Status  'Door Sensors / Kitchen Door Sensor' is 100%
          Or Status  'Door Sensors / Man Cave Door Sensor' is 100%
        )
 
Then
        Repeat 4 times
           Set 'BuzzLinc' On
           Set 'BuzzLinc' Off
 
Else
        Set 'BuzzLinc' Off
 

The above program is designed to beep 4 times if one of the hidden door sensors is on between 10:00 PM and Sunrise the next day. The program partially works. If the door is opened and held open for a few seconds the beeps occur. However, if a door is opened and quickly closed I get 2 beeps at most. Is there any way to get all the beeps even if the door is quickly closed. Obviously, the door closing negates the full repeat sequence. Also, the beeps are rarely the same duration. Some beeps are long and some short and the interval between them is inconsistent. Any help will be appreciated.

Posted

The logic needs to be split into two Programs so closing door does not terminate Repeat.

 

For the speed pattern of On and Off there is likely heavy Insteon traffic or the ISY is busy doing something else.  An event trace at LEVEL 3 will show the timing of the On and Off commands and other Insteon activity.

 

What else is the ISY doing on such a frequent basis?

Posted

Another option is to change to "If Control"

 

If
        From    10:00:00PM
        To      Sunrise (next day)
    And (
             Control  'Door Sensors / Deck Door Sensor' is switched On
          Or Control 'Door Sensors / Kitchen Door Sensor' is switched On

          Or Control 'Door Sensors / Man Cave Door Sensor' is switched On
        )
 
Then

 

There is no trigger when door closes.

Posted

Any time.   Changing to "If Control" will stop the termination of the Repeat when door closed before Repeat normally ends.

 

The delays in the Insteon commands within the Repeat loop should still exist.   Post the LEVEL 3 event trace when the device commands are not executed as expected.  There could be outside causes (other ISY activity) or there can be Insteon comm issues that delay the commands reaching the device.   

Posted

Any time.   Changing to "If Control" will stop the termination of the Repeat when door closed before Repeat normally ends.

 

The delays in the Insteon commands within the Repeat loop should still exist.   Post the LEVEL 3 event trace when the device commands are not executed as expected.  There could be outside causes (other ISY activity) or there can be Insteon comm issues that delay the commands reaching the device.   

 

I am sometimes slow on the uptake, but Placing "If Control" in quotes finally caught my attention and I modified the program. I now get all the beeps but their spacing is very erratic. I ran the program on level 3 and here is what I got:

 

Mon 08/10/2015 06:35:32 PM : [          IR]     01AA Press

Mon 08/10/2015 06:35:34 PM : [          IR]     02D2 Press

Mon 08/10/2015 06:35:51 PM : [          IR]     015A Press

Mon 08/10/2015 06:37:20 PM : [          IR]     02AA Press

Mon 08/10/2015 06:37:36 PM : [iNST-SRX    ] 02 50 2C.71.97 00.00.01 C7 11 01    LTONRR (01)

Mon 08/10/2015 06:37:36 PM : [std-Group   ] 2C.71.97-->Group=1, Max Hops=3, Hops Left=1

Mon 08/10/2015 06:37:36 PM : [D2D EVENT   ] Event [2C 71 97 1] [DON] [1] uom=0 prec=-1

Mon 08/10/2015 06:37:36 PM : [  2C 71 97 1]      DON   1

Mon 08/10/2015 06:37:36 PM : [D2D-CMP 001F] CTL [2C 71 97 1] DON op=1 Event(val=1 uom=0 prec=-1) is Condition(val=0 uom=0 prec=-1) --> true

Mon 08/10/2015 06:37:36 PM : [iNST-SRX    ] 02 50 2C.71.97 00.00.01 CB 11 01    LTONRR (01)

Mon 08/10/2015 06:37:36 PM : [std-Group   ] 2C.71.97-->Group=1, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:36 PM : [iNST-DUP    ] Previous message ignored.

Mon 08/10/2015 06:37:36 PM : [iNST-SRX    ] 02 50 2C.71.97 28.CC.6C 41 11 01    LTONRR (01)

Mon 08/10/2015 06:37:36 PM : [std-Cleanup ] 2C.71.97-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

Mon 08/10/2015 06:37:36 PM : [iNST-DUP    ] Previous message ignored.

Mon 08/10/2015 06:37:36 PM : [iNST-SRX    ] 02 50 2C.71.97 11.01.01 CB 06 00           (00)

Mon 08/10/2015 06:37:36 PM : [std-Group   ] 2C.71.97-->11.01.01, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:36 PM : [iNST-INFO   ] Previous message ignored.

Mon 08/10/2015 06:37:37 PM : [iNST-SRX    ] 02 50 2C.71.97 11.01.01 CB 06 00           (00)

Mon 08/10/2015 06:37:37 PM : [std-Group   ] 2C.71.97-->11.01.01, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:37 PM : [iNST-INFO   ] Previous message ignored.

Mon 08/10/2015 06:37:38 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02

Mon 08/10/2015 06:37:38 PM : [D2D EVENT   ] Event [2C 71 97 1] [sT] [255] uom=0 prec=-1

Mon 08/10/2015 06:37:38 PM : [  2C 71 97 1]       ST 255

Mon 08/10/2015 06:37:38 PM : [D2D-CMP 0012] STS [2C 71 97 1] ST op=1 Event(val=255 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> true

Mon 08/10/2015 06:37:38 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)

Mon 08/10/2015 06:37:38 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02

Mon 08/10/2015 06:37:38 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)

Mon 08/10/2015 06:37:38 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:38 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)

Mon 08/10/2015 06:37:38 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)

Mon 08/10/2015 06:37:38 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:39 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02

Mon 08/10/2015 06:37:39 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)

Mon 08/10/2015 06:37:39 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)

Mon 08/10/2015 06:37:39 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:40 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02

Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 2C.71.97 00.00.01 C7 13 01    LTOFFRR(01)

Mon 08/10/2015 06:37:40 PM : [std-Group   ] 2C.71.97-->Group=1, Max Hops=3, Hops Left=1

Mon 08/10/2015 06:37:40 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)

Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [DOF] [1] uom=0 prec=-1

Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]      DOF   1

Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [sT] [0] uom=0 prec=-1

Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]       ST   0

Mon 08/10/2015 06:37:40 PM : [D2D-CMP 0012] STS [2C 71 97 1] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false

Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)

Mon 08/10/2015 06:37:40 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 2C.71.97 28.CC.6C 41 13 01    LTOFFRR(01)

Mon 08/10/2015 06:37:40 PM : [std-Cleanup ] 2C.71.97-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [DOF] [0] uom=0 prec=-1

Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]      DOF   0

Mon 08/10/2015 06:37:41 PM : [iNST-SRX    ] 02 50 2C.71.97 28.CC.6C 42 13 01    LTOFFRR(01)

Mon 08/10/2015 06:37:41 PM : [std-Cleanup ] 2C.71.97-->ISY/PLM Group=1, Max Hops=2, Hops Left=0

Mon 08/10/2015 06:37:41 PM : [iNST-DUP    ] Previous message ignored.

Mon 08/10/2015 06:37:41 PM : [iNST-SRX    ] 02 50 2C.71.97 13.01.01 C7 06 00           (00)

Mon 08/10/2015 06:37:41 PM : [std-Group   ] 2C.71.97-->13.01.01, Max Hops=3, Hops Left=1

Mon 08/10/2015 06:37:41 PM : [iNST-INFO   ] Previous message ignored.

Mon 08/10/2015 06:37:42 PM : [iNST-SRX    ] 02 50 2C.71.97 13.01.01 C7 06 00           (00)

Mon 08/10/2015 06:37:42 PM : [std-Group   ] 2C.71.97-->13.01.01, Max Hops=3, Hops Left=1

Mon 08/10/2015 06:37:42 PM : [iNST-INFO   ] Previous message ignored.

Mon 08/10/2015 06:37:42 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02

Mon 08/10/2015 06:37:42 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)

Mon 08/10/2015 06:37:42 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)

Mon 08/10/2015 06:37:42 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

 

Can you interpret this for me?

Posted

There are two devices active during that trace,   31.6F.1C and 2C.71.97.  What is each device?  

 

I first thought 31.6F.1C was the BuzzLinc (whatever that device actually is) but there are no Off commands sent to that Insteon address. 

Posted (edited)

The 31.6F.1C is an I/O Linc (AKA BuzzLinc). The 2C.71.97 is the Hidden Door Sensor that was turned on when opening the door and which activated the program. I added an Off Command to the Else before I did the Level 3 Trace above.

Edited by smokegrub
Posted

When using "If Control" the Else clause will be driven only at Sunrise (next day).

 

I'm trying to recreate what your trace is showing.  No success so far but several Options I want to try.

Posted

I cannot replicate your trace nor explain how it is happening.  The I/O Linc Relay is turned On 5 times (in Red) without any Off commands being issued.

Mon 08/10/2015 06:37:36 PM : [iNST-SRX    ] 02 50 2C.71.97 11.01.01 CB 06 00           (00)
Mon 08/10/2015 06:37:36 PM : [std-Group   ] 2C.71.97-->11.01.01, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:36 PM : [iNST-INFO   ] Previous message ignored.
Mon 08/10/2015 06:37:37 PM : [iNST-SRX    ] 02 50 2C.71.97 11.01.01 CB 06 00           (00)
Mon 08/10/2015 06:37:37 PM : [std-Group   ] 2C.71.97-->11.01.01, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:37 PM : [iNST-INFO   ] Previous message ignored.
Mon 08/10/2015 06:37:38 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02
Mon 08/10/2015 06:37:38 PM : [D2D EVENT   ] Event [2C 71 97 1] [sT] [255] uom=0 prec=-1
Mon 08/10/2015 06:37:38 PM : [  2C 71 97 1]       ST 255
Mon 08/10/2015 06:37:38 PM : [D2D-CMP 0012] STS [2C 71 97 1] ST op=1 Event(val=255 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> true
Mon 08/10/2015 06:37:38 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)
Mon 08/10/2015 06:37:38 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02
Mon 08/10/2015 06:37:38 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)
Mon 08/10/2015 06:37:38 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:38 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)
Mon 08/10/2015 06:37:38 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)
Mon 08/10/2015 06:37:38 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:39 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02
Mon 08/10/2015 06:37:39 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)
Mon 08/10/2015 06:37:39 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)
Mon 08/10/2015 06:37:39 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:40 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02
Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 2C.71.97 00.00.01 C7 13 01    LTOFFRR(01)
Mon 08/10/2015 06:37:40 PM : [std-Group   ] 2C.71.97-->Group=1, Max Hops=3, Hops Left=1
Mon 08/10/2015 06:37:40 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)
Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [DOF] [1] uom=0 prec=-1
Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]      DOF   1
Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [sT] [0] uom=0 prec=-1
Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]       ST   0
Mon 08/10/2015 06:37:40 PM : [D2D-CMP 0012] STS [2C 71 97 1] ST op=1 Event(val=0 uom=0 prec=-1) is Condition(val=255 uom=0 prec=-1) --> false
Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)
Mon 08/10/2015 06:37:40 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2
Mon 08/10/2015 06:37:40 PM : [iNST-SRX    ] 02 50 2C.71.97 28.CC.6C 41 13 01    LTOFFRR(01)
Mon 08/10/2015 06:37:40 PM : [std-Cleanup ] 2C.71.97-->ISY/PLM Group=1, Max Hops=1, Hops Left=0
Mon 08/10/2015 06:37:40 PM : [D2D EVENT   ] Event [2C 71 97 1] [DOF] [0] uom=0 prec=-1
Mon 08/10/2015 06:37:40 PM : [  2C 71 97 1]      DOF   0
Mon 08/10/2015 06:37:41 PM : [iNST-SRX    ] 02 50 2C.71.97 28.CC.6C 42 13 01    LTOFFRR(01)
Mon 08/10/2015 06:37:41 PM : [std-Cleanup ] 2C.71.97-->ISY/PLM Group=1, Max Hops=2, Hops Left=0
Mon 08/10/2015 06:37:41 PM : [iNST-DUP    ] Previous message ignored.
Mon 08/10/2015 06:37:41 PM : [iNST-SRX    ] 02 50 2C.71.97 13.01.01 C7 06 00           (00)
Mon 08/10/2015 06:37:41 PM : [std-Group   ] 2C.71.97-->13.01.01, Max Hops=3, Hops Left=1
Mon 08/10/2015 06:37:41 PM : [iNST-INFO   ] Previous message ignored.
Mon 08/10/2015 06:37:42 PM : [iNST-SRX    ] 02 50 2C.71.97 13.01.01 C7 06 00           (00)
Mon 08/10/2015 06:37:42 PM : [std-Group   ] 2C.71.97-->13.01.01, Max Hops=3, Hops Left=1
Mon 08/10/2015 06:37:42 PM : [iNST-INFO   ] Previous message ignored.
Mon 08/10/2015 06:37:42 PM : [iNST-TX-I1  ] 02 62 31 6F 1C 0F 11 02
Mon 08/10/2015 06:37:42 PM : [iNST-ACK    ] 02 62 31.6F.1C 0F 11 02 06          LTONRR (02)
Mon 08/10/2015 06:37:42 PM : [iNST-SRX    ] 02 50 31.6F.1C 28.CC.6C 2B 11 02    LTONRR (02)
Mon 08/10/2015 06:37:42 PM : [std-Direct Ack] 31.6F.1C-->ISY/PLM Group=0, Max Hops=3, Hops Left=2

Posted

There are two devices active during that trace,   31.6F.1C and 2C.71.97.  What is each device?  

 

I first thought 31.6F.1C was the BuzzLinc (whatever that device actually is) but there are no Off commands sent to that Insteon address. 

 

Lee,

 

This is a BuzzLinc

Posted

I created the following two programs. The first is intended to enable the second. I must be doing something wrong since the second does not run.

 

BuzzLinc - [iD 0020][Parent 0001]

If
        From     8:00:00AM
        To      Sunset  (same day)
 
Then
        Enable Program 'BuzzLinc (Disabled)'
 
Else
   - No Actions - (To add one, press 'Action')
 

 

BuzzLinc (Disabled) - [iD 001F][Parent 0001][Not Enabled]

If
        Control 'Door Sensors / Deck Door Sensor' is switched On
     Or Control 'Door Sensors / Kitchen Door Sensor' is switched On
     Or Control 'Door Sensors / Man Cave Door Sensor' is switched On
 
Then
        Set 'BuzzLinc-Relay' On
        Set 'BuzzLinc-Relay' Off
        Set 'BuzzLinc-Relay' On
        Set 'BuzzLinc-Relay' Off
        Set 'BuzzLinc-Relay' On
        Set 'BuzzLinc-Relay' Off
        Set 'BuzzLinc-Relay' On
        Set 'BuzzLinc-Relay' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

The second program has the Enabled checkbox unchecked.

 

What am I doing wrong?

Posted

Program 1 must have existed and been Enabled at 8AM, otherwise the single opportunity for the Then clause to run will not happen until tomorrow.

Posted (edited)

I use my I/OLinc for my back doorbell sound. I set the I/OLinc to intermittent/pulse mode and I don't send an Off command.

 

 

If I sent a fast series on  On and Off commands like that (no Wait in between) no other Insteon signals would get through and the door sensor signals would go unnoticed a good percentage of the time or ISY would respond 10-30 seconds later.

Edited by larryllix
Posted

I use my I/OLinc for my back doorbell sound. I set the I/OLinc to intermittent/pulse mode and I don't send an Off command.

 

 

If I sent a fast series on  On and Off commands like that (no Wait in between) no other Insteon signals would get through and the door sensor signals would go unnoticed a good percentage of the time or ISY would respond 10-30 seconds later.

 

If you do not send an off, what stops the doorbell from continuing to sound?

Posted

larryllix is using one of the I/O Linc Momentary modes and the I/O Linc Timeout to turn the I/O Linc Relay Off.

Do you think that would better satisfy my objective?

Posted

That is up to you as far as how the BuzzLinc sounds.   When using the Repeat loop there is a delay associated with the Repeat action.  That delay does not exist when you string the On/Off commands.   I suspect a Wait would be useful but  that depends on how long the BuzzLinc should remain On and how quickly the next On/Off sequence needs to occur to get the sound you want.  

 

Then
        Set 'BuzzLinc-Relay' On

       Wait 1 second
        Set 'BuzzLinc-Relay' Off

        Wait 1 second

        Set 'BuzzLinc-Relay' On
        

Posted

After more thought using Momentary Mode and the I/O Linc Timeout is a better approach.  It reduces the Insteon commands issued.  Using a Timeout value of 1 second for example and a Wait of two seconds should produce a more reliable On time pattern.

 

Then

        Set 'BuzzLinc-Relay' On

        Wait 2 second
        Set 'BuzzLinc-Relay' On

        Wait 2 second

        Set 'BuzzLinc-Relay' On

        ...... 
        

Posted

        Control 'Door Sensors / Deck Door Sensor' is switched On

     Or Control 'Door Sensors / Kitchen Door Sensor' is switched On

     Or Control 'Door Sensors / Man Cave Door Sensor' is switched On

 

 

I have nothing of value to add to this conversation but laughed out loud when I saw this.

 

Simply awesome . . .

 

Carry on now don't mind me.

Posted

There is nothing funny about my Man Cave!   :mrgreen:

If

      Or Control 'Door Sensors / Man Cave Door Sensor' is switched On

Then

    Set '90" Flat Screen' to  'Off'

    Set '900W 7.1 Channel Amp' to 'Off'

    Set 'Massage Chair' to 'Off'

    Set 'Heating Pad' to 'Off'

    Set 'RoboVac' to 'On'

    Wait 1 minutes

    Set 'ComboDoorLock' to 'On'

    Set 'ManCave Lights' to 'Off'

    Set 'Staircase Light' to On

    Wait 2 minutes

     Set 'Staircase Light' to 'Off'

Posted

If

Or Control 'Door Sensors / Man Cave Door Sensor' is switched On

Then

Set '90" Flat Screen' to 'Off'

Set '900W 7.1 Channel Amp' to 'Off'

Set 'Massage Chair' to 'Off'

Set 'Heating Pad' to 'Off'

Set 'RoboVac' to 'On'

Wait 1 minutes

Set 'ComboDoorLock' to 'On'

Set 'ManCave Lights' to 'Off'

Set 'Staircase Light' to On

Wait 2 minutes

Set 'Staircase Light' to 'Off'

 

 

 

Ideals are peaceful - History is violent

Guest
This topic is now closed to further replies.

×
×
  • Create New...