Jump to content

Count Off Clicks


apeelvis

Recommended Posts

Posted

I am new to the ISY and Insteon. Here is what I am trying to program.

 

On my first floor I have about 4 lights controlled by Insteon switches and dimmers. The lights are located in different ares of the house. What I would like to do is create a program that will shut off all the lights on the first floor if I double tap the off of the kitchen dimmer. So one tap simply turns off the kitchen lights but a double tap will turn off all the lights on the first floor.

 

I haven't been able to figure out a way to count the off click of the dimmer switch after the first click.

 

Does anybody know of a way to accomplish what I am trying to do?

 

BTW, I am trying to avoid using a keypad. Don't need that many buttons.

 

Thank you for your thoughts!

Posted

Insteon devices recognize when a button/paddle is quickly pressed twice. It is referred to as Fast Off in this case. Fast Off turns the kitchen lights Off just as a single tap does. In addition an ISY Program can be written to recognize a Fast Off situation and turn Off a Scene of lights that represent the full first floor.

 

If Control 'xxxx' is switched Fast Off

Then

Set Scene 'yyyy' Off

Else

 

Device xxxx is the where a double tap is done. yyyy is a Scene containing the first floor lights.

 

It may take a little practice to create the Fast Off.

Posted

LeeG thank you for your response.

 

What if I simply wanted to count the number of off clicks?

 

I have tried:

 

If Control 'XXXX' is switched Off

Then $Kitchen.Click.Count += 1

Else - No Actions

 

I have used both state variable and integer variables for $Kitchen.Click.Count but the count never advances when I press the off button. Even when the switch is on and then switched off.

Posted

Run Tools | Diagnostics | Event Viewer at LEVEL 3. Press the Off button a few times with at least 2 seconds between. Post the event trace. It sounds like the PLM is not seeing the device button/paddle press.

 

What else is installed besides the devices mentioned? Also what are they?

 

Do you have Access Points coupling the two 120v legs?

Posted

The Program is not being triggered. See the trace below that shows a variable being updated. Make sure a Save is not pending, the Program is Enabled.

 

What does Help | About show for Firmware and UI values?

 

Thu 01/02/2014 07:48:09 PM : [iNST-SRX ] 02 50 1D.23.6B 00.00.01 CB 13 00 LTOFFRR(00)

 

Thu 01/02/2014 07:48:09 PM : [std-Group ] 1D.23.6B-->Group=1, Max Hops=3, Hops Left=2

 

Thu 01/02/2014 07:48:09 PM : [ 1D 23 6B 1] DOF 0

 

Thu 01/02/2014 07:48:09 PM : [VAR 2 5 ] 12

 

Thu 01/02/2014 07:48:10 PM : [iNST-SRX ] 02 50 1D.23.6B 22.80.0B 41 13 01 LTOFFRR(01)

 

Thu 01/02/2014 07:48:10 PM : [std-Cleanup ] 1D.23.6B-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

 

Thu 01/02/2014 07:48:10 PM : [iNST-DUP ] Previous message ignored.

 

Thu 01/02/2014 07:48:12 PM : [iNST-SRX ] 02 50 1D.23.6B 00.00.01 CB 13 00 LTOFFRR(00)

 

Thu 01/02/2014 07:48:12 PM : [std-Group ] 1D.23.6B-->Group=1, Max Hops=3, Hops Left=2

 

Thu 01/02/2014 07:48:12 PM : [ 1D 23 6B 1] DOF 0

 

Thu 01/02/2014 07:48:12 PM : [VAR 2 5 ] 13

 

Thu 01/02/2014 07:48:12 PM : [iNST-SRX ] 02 50 1D.23.6B 22.80.0B 41 13 01 LTOFFRR(01)

 

Thu 01/02/2014 07:48:12 PM : [std-Cleanup ] 1D.23.6B-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

 

Thu 01/02/2014 07:48:12 PM : [iNST-DUP ] Previous message ignored.

 

Thu 01/02/2014 07:48:18 PM : [iNST-SRX ] 02 50 1D.23.6B 00.00.01 CB 13 00 LTOFFRR(00)

 

Thu 01/02/2014 07:48:18 PM : [std-Group ] 1D.23.6B-->Group=1, Max Hops=3, Hops Left=2

 

Thu 01/02/2014 07:48:18 PM : [ 1D 23 6B 1] DOF 0

 

Thu 01/02/2014 07:48:18 PM : [VAR 2 5 ] 14

 

Thu 01/02/2014 07:48:18 PM : [iNST-SRX ] 02 50 1D.23.6B 22.80.0B 41 13 01 LTOFFRR(01)

 

Thu 01/02/2014 07:48:18 PM : [std-Cleanup ] 1D.23.6B-->ISY/PLM Group=1, Max Hops=1, Hops Left=0

 

Thu 01/02/2014 07:48:18 PM : [iNST-DUP ] Previous message ignored.

Posted

This is the Program that produced the trace

 

If

Control 'SwitchLinc Dimmer DB' is switched Off

 

Then

$Kitchen.Click.Count += 1

 

Else

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

Posted

Firmware: Insteon_UD994 v.4.0.5 (2013-05-24-15:26:20)

UI: Insteon_UD994 v.4.0.11 (2013-10-17-14:22:39)

Product ISY 994i/IR PRO (1110) - OpenADR (21010)

 


If
      Control 'I_DMR_KitchenCans_Stairs' is switched Off

Then
      $Kitchen.Off.Count += 1

Else
      - No Actions 

 

Is the program line for line.

 

The program is enabled and saved.

Posted

Go back and check all the facts. When power is applied to a light and it does not light and power is good and the light is good, something has been missed.

 

Does the Programs | Summary display show the Program is being triggered (Last Run Time and Status)?

Posted

Well the summary page said it wasn't save. Huh! I thought I saved it! I saved and now it is advancing properly.

 

I am about a week into learning the ISY. I appreciate your help, patience and willingness to share knowledge. Thank you for your help!

Posted

Good pickup. It can be hard in the beginning to know that something should work. Hope you have as much fun with the ISY as I have.

Posted

I am having a blast!!

 

Now all my lights turn off on the first floor with a double click of any off switch!

 

This thing is great! Limited only by my imagination. Next goal is the vacation button with logical random light patterns.

 

Thanks again!

Guest
This topic is now closed to further replies.

×
×
  • Create New...