Jump to content

Trying to get code to respond to 3 pushes on a RL


paulw

Recommended Posts

In using a RemoteLinc to control an EZFlora (due to tidal issues, we run our system manually), I found the buttons a little too sensitive to wrong entries. So, I am trying to use “ergodic’s†example in the Wiki to program the on buttons for three pushes before starting any zone. I used the same grouping of a control and body program for each push as in the example.

 

In my current testing mode, I am only turning on a light not the EZFlora. When I programmed one button, all seemed well. I copied the code over to three other buttons and changed the labels to make unique code for each switch. All code has been checked and rechecked, and again.......

 

I am seeing some very strange behavior when a pushing RL buttons. For a couple of switches the program state changes (in program summary) are slow taking place for each push. The other two switches are very prompt. There are times (not always) that another button’s body program will go true on one of the pushes of an unrelated button, sometimes the second push, sometimes the third push. Always seems to be the same program going true. The body programs only have “then†code. I even tried disabling the body programs as they are always controlled by a run, no change.

 

Has anyone had problems with copying code? Or, any other ideas.

Link to comment

Decided to get at it with a rested brain, for whatever good that is.

 

For starters I deleted the program that was running which should not have been and re-coded it (no change). After that I found the following log entry which would make me suspect a RL issue. It is from two pushes of the same B button.

 

 

Thu 06/24/2010 05:47:16 AM : [ 11 C8 44 2] DON 0

 

Thu 06/24/2010 05:47:18 AM : [ 11 C8 44 1] DON 2

Link to comment

Here is a more detail log, of the same issue, two pushes of the same RL button. The only insteon network activity should be from the push of the button, nothing should be generated from the ISY or elsewhere.

 

I know little on reading the log, any pointers there would be appreciated. I do know that the entry "Thu 06/24/2010 05:56:43 AM : [ 11 C8 44 1] DON 3" is the one that is kicking my unwanted program true.

 

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00)

 

Thu 06/24/2010 05:56:41 AM : [ 11 C8 44 3] DON 0

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00)

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00): Process Message: failed

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 12.9F.46 41 11 03 LTONRR (03)

 

Thu 06/24/2010 05:56:42 AM : [ Time] 05:56:44 2(0)

 

Thu 06/24/2010 05:56:42 AM : [ Time] 05:56:44 2(0)

 

Thu 06/24/2010 05:56:42 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00)

 

Thu 06/24/2010 05:56:42 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF)

 

Thu 06/24/2010 05:56:42 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF): Process ACK: duplicate ignored

 

Thu 06/24/2010 05:56:42 AM : [ 11 C8 44 3] DON 0

 

Thu 06/24/2010 05:56:42 AM : [iNST-SRX ] 02 50 0A.9D.32 12.9F.46 2B 11 BF LTONRR (BF)

 

Thu 06/24/2010 05:56:43 AM : [ Time] 05:56:45 2(0)

 

Thu 06/24/2010 05:56:43 AM : [iNST-SRX ] 02 50 11.C8.44 12.9F.46 42 11 03 LTONRR (03)

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF)

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF): Process ACK: duplicate ignored

 

Thu 06/24/2010 05:56:43 AM : [ 11 C8 44 1] DON 3

 

Thu 06/24/2010 05:56:43 AM : [iNST-SRX ] 02 50 0A.9D.32 12.9F.46 2B 11 BF LTONRR (BF)

 

Thu 06/24/2010 05:56:43 AM : [ Time] 05:56:46 2(0)

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF)

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF): Process ACK: duplicate ignored

 

Thu 06/24/2010 05:56:44 AM : [ Time] 05:56:46 2(0)

 

Thu 06/24/2010 05:56:44 AM : [iNST-SRX ] 02 50 0A.9D.32 12.9F.46 2B 11 BF LTONRR (BF)

 

Thu 06/24/2010 05:56:44 AM : [iNST-SRX ] 02 50 0A.9D.32 12.9F.46 2B 11 BF LTONRR (BF): Process Message: failed

 

Thu 06/24/2010 05:56:46 AM : [ Time] 05:56:49 2(0)

 

Thu 06/24/2010 05:56:48 AM : [ Time] 05:56:51 2(0)

Link to comment

A RemoteLinc (and other Insteon RF devices) send 2 Group Broadcast messages for a single button press. Not sure if that is contributing to the difficulty as the messages from the first button press have not completed before the second button press messages start.

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00) 1st press 1st Group Broadcast

 

Thu 06/24/2010 05:56:41 AM : [ 11 C8 44 3] DON 0

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00) 1st press 2nd Group Broadcast

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00): Process Message: failed 2nd press 1st Group Broadcast

 

Thu 06/24/2010 05:56:41 AM : [iNST-SRX ] 02 50 11.C8.44 12.9F.46 41 11 03 LTONRR (03) 1st press Group Cleanup Direct

 

Thu 06/24/2010 05:56:42 AM : [ Time] 05:56:44 2(0)

 

Thu 06/24/2010 05:56:42 AM : [ Time] 05:56:44 2(0)

 

Thu 06/24/2010 05:56:42 AM : [iNST-SRX ] 02 50 11.C8.44 00.00.03 C7 11 00 LTONRR (00) 2nd press 2nd Group Broadcast

 

Thu 06/24/2010 05:56:42 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF) other Insteon traffic to device 0A.9D.32 to turn On to Bright Level 0xBF (not full bright)

 

Thu 06/24/2010 05:56:42 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF): Process ACK: duplicate ignored

 

Thu 06/24/2010 05:56:42 AM : [ 11 C8 44 3] DON 0

 

Thu 06/24/2010 05:56:42 AM : [iNST-SRX ] 02 50 0A.9D.32 12.9F.46 2B 11 BF LTONRR (BF)

 

Thu 06/24/2010 05:56:43 AM : [ Time] 05:56:45 2(0)

 

Thu 06/24/2010 05:56:43 AM : [iNST-SRX ] 02 50 11.C8.44 12.9F.46 42 11 03 LTONRR (03) 2nd press Group Cleanup Direct

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF) other Insteon traffic to device 0A.9D.32 to turn On to Bright Level 0xBF (not full bright)

 

 

Thu 06/24/2010 05:56:43 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF): Process ACK: duplicate ignored

 

 

There is other Insteon traffic in the Event Log.

 

Thu 06/24/2010 05:56:42 AM : [iNST-ACK ] 02 62 0A.9D.32 0F 11 BF 06 LTONRR (BF)

 

is turning on device 0A.9D.32 On to a bright level of 0xBF (not full bright).

 

 

First thing is to get rid of the device 0A.9D.32 traffic to keep traffic simple. Second would be to wait a few seconds between the first and second button press on the RemoteLinc to allow the first button press traffic to complete before starting the 2nd button press traffic

Link to comment

Thanks for the response. Pointed me away from focusing on the switching code. Problem turned out to be the device you identified, appears to just be a timing issue.

 

 

All is well, thanks again.

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...