Jump to content

Count Off Clicks


apeelvis

Recommended Posts

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!

Link to comment

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.

Link to comment

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.

Link to comment

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?

Link to comment

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.

Link to comment

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.

Link to comment

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)?

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...