Jump to content

Program triggering for no reason


apostolakisl

Recommended Posts

I am not at all very good with these Insteon communication logs, but.

 

It would appear to me that this particular switch is needing 2 hops to get the messages back and forth.

 

I don't mean to be a whiner, but I would think that we should accept that Insteon may need "hops" to get the message around, it was after all built around the premise that the perfect comm was no longer a necessity (as opposed to x10).

 

If we are going to forgo the "hops" then we are giving up a big feature of Insteon.

 

Having said that, I appreciate that you guys think you have a solution to this problem and are working on a fix. Thanks.

Link to comment

It is not the hop count that causes this. If it was as simple as taking 3 hops to get from KPL to PLM this would not be problem. The Group protocol normally consists of a Group Broadcast message followed by what should have been a single Group Cleanup Direct message even if it took 3 hops for the Group Cleanup Direct to be received by the PLM.

 

There are three Group Cleanup Direct messages from the KPL, received processed and ACKed by the PLM and passed to the application (ISY). The first one with max hops 1 was successfully received by the PLM. The second one with max hops 2 was successfully received by the PLM. The third with max hops 3 was successfully received by the PLM. None of the ACKs sent by the PLM in acknowledgement of those three messages made it back to the KPL. Very unusual situation for traffic to get from KPL to PLM with such success and traffic from the PLM to the KPL fail so totally.

 

The problem is each additional Group Cleanup Direct message looks like another button press and could be another button press based on the message itself. If comm. was poor in the other direction, messages having trouble getting from the KPL to the PLM it is very possible to miss the initial Group Broadcast altogether because it has no ACK and no retry associated with it. That is why Insteon designed the Group protocol with a follow up Group Cleanup Direct to each Responder. Since this message is sent to a specific device it must be ACKed and can be retried by the KPL if an ACK is not received.

 

From the message sequence it could actually be three distinct buttons presses with very poor comm. That is a very unusual sequence which is likely why the ISY analyzed it incorrectly.

Link to comment
It is not the hop count that causes this. If it was as simple as taking 3 hops to get from KPL to PLM this would not be problem. The Group protocol normally consists of a Group Broadcast message followed by what should have been a single Group Cleanup Direct message even if it took 3 hops for the Group Cleanup Direct to be received by the PLM.

 

There are three Group Cleanup Direct messages from the KPL, received processed and ACKed by the PLM and passed to the application (ISY). The first one with max hops 1 was successfully received by the PLM. The second one with max hops 2 was successfully received by the PLM. The third with max hops 3 was successfully received by the PLM. None of the ACKs sent by the PLM in acknowledgement of those three messages made it back to the KPL. Very unusual situation for traffic to get from KPL to PLM with such success and traffic from the PLM to the KPL fail so totally.

 

The problem is each additional Group Cleanup Direct message looks like another button press and could be another button press based on the message itself. If comm. was poor in the other direction, messages having trouble getting from the KPL to the PLM it is very possible to miss the initial Group Broadcast altogether because it has no ACK and no retry associated with it. That is why Insteon designed the Group protocol with a follow up Group Cleanup Direct to each Responder. Since this message is sent to a specific device it must be ACKed and can be retried by the KPL if an ACK is not received.

 

From the message sequence it could actually be three distinct buttons presses with very poor comm. That is a very unusual sequence which is likely why the ISY analyzed it incorrectly.

 

OK, but I don't get it. How can the message go one direction so successfully and go the other direction so poorly.

 

But still, even if it thought there were three button presses, none of them should have been a button that ran that program.

Link to comment

I have no idea what is blocking PLM to KPL communication intermittently. With the Group Broadcast and all three Group Cleanup Direct messages received from the KPL okay, one would think the ACKs from the PLM would get back to the KPL. Once the source of interference is identified it may make more sense.

 

As far as triggering the Program, Michel acknowledged that is a bug which UDI is fixing.

Link to comment

Hopefully the filter I ordered last weekend will arrive today. I ran a number of scene tests with that circuit off and they went perfect, then they failed with it on. It was reproducable about 5 times each way during a 15 minute span, so I feel like filtering the circuit should help. Also, after I moved the PLM off of that branch panel things worked better as well.

Link to comment

I got the filter and installed it on the breaker.

 

I ran scene tests by the boat load. 100% success.

 

The program still misbehaves.

 

In fact the program design:

 

 if 
status off
and switched off

then 
turn on 25%

 

misbehaves in general. When one of the lights associated with one of these programs is on and I turn it off, it will still run and go back on to 25%. It does it randomly about 50% of the time.

 

I am thinking that this entire program structure is going to need to be abandoned.

Link to comment

An Event Trace with Device communications events selected when it fails is needed to determine if the filter resolved the problem of the device not receiving ACKs from the PLM.

 

EDIT: the symptom with the KeypadLinc was the wrong node was being posted with an Off when there is a series of Group Cleanup Direct messages from a device. With a single node device that is sending multiple Group Cleanup Direct messages because the ACKs are not being received, the only node would be posted with an additional Off command. The end symptom is different because of the difference in the number of nodes a particular device has but the underlying problem is likely the same. That lack of ACKs back to the device looks like multiple button presses when the Insteon messages are evaluated programmatically.

Link to comment

The lack of ACK's back to the device has got to be something more than simple lack of comm.

 

Reasons to say this:

 

1) The comm going the other direction never has an issue.

2) ISY initiated events always get through (ie programs run on ISY and execute events at the switch without fail.)

3) Tests of my comm (Scene tests) are now 100% successful.

 

I have to wonder if this ACK is actually being sent in the first place, or if it is being formated improperly so the switch doesn't recognize it.

 

I will also note that the problem is now consistent between 2 PLM's.

 

I will also note that I didn't always have this problem. The biggest change to my system since this problem began is ISY firmware.

Link to comment

I cannot explain why comm in one direct is good and not in the other. For sure there is some aspect of this that has not been identified yet. Did you run an Event Trace and confirm that there are three Group Cleanup Direct messages being received when the light turns back On?

 

There is no command or option that I have ever seen that will force the PLM to send an ACK or suppress it. That part of the process is all driven by the PLM firmware.

Link to comment

apostolakisl/LeeG,

 

I think it would be safe to say:

a. The way we have handled cleanups and ACKs has NOT changed for as far back as 2.8.16

b. The way we currently handle cleanups "may" cause all the problems apostolakisl is experiencing

 

As such, I recommend waiting for our next release so that we can have a better understanding of where the actual problems may be.

 

With kind regards,

Michel

Link to comment
apostolakisl/LeeG,

 

I think it would be safe to say:

a. The way we have handled cleanups and ACKs has NOT changed for as far back as 2.8.16

b. The way we currently handle cleanups "may" cause all the problems apostolakisl is experiencing

 

As such, I recommend waiting for our next release so that we can have a better understanding of where the actual problems may be.

 

With kind regards,

Michel

 

I have been having problems with this program type for several months now, perhaps 6. So, if a change occurred around 2.8.16, that could have something to do with it.

Link to comment
  • 2 weeks later...

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

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