Jump to content

HA -> ISY994 - Communication Issues


Recommended Posts

Posted (edited)

I created a Home Assistant Scene with 6 Insteon devices. When I execute the scene only a few of the devices turn on. I initially thought that I may be dealing with an Insteon queue overflow congestion problem, however, genius @MrBill posted the following in another thread:

Quote

So the problem that you identified may not be where HA integrates with ISY... it may just be the insteon queue overflows... in other words HA may be properly controlling the devices but the powerline signals are lost in an overcrowded queue.    To test for this, turn on the devices off in the ISY and execute your HA automation.  At then end besides check the physical lights to see which went on and off also check the device node in the ISY and see if the ISY thinks it's off or on.  If they ISY shows they all got turned on, but only some actually came on... then this issue has nothing to do with HA, its just the insteon protocol which is slow and only has minor safeguards against collisions and overflows.

So I followed his advice and did a test.

 

OBSERVATION (VIEW SCREEN RECORDING HERE):

  • Every time I execute the scene a different set of devices responds. Sometimes 5, sometimes 4, sometimes only 2.
  • The ISY only shows the same 5, 4, or 2 lights as being turned on.
  • The physical lights always match what is shown in the ISY interface.

This leads me to believe that I am dealing with a communication issue between my Home Assistant Instance and the ISY994. At least that's how I understood @MrBill's comment.

 

QUESTIONS:

1) Would you guys agree that this is a HA -> ISY communication issue rather than an Insteon queue overflow issue?

2) If so how can I troubleshoot a communication issue between HA and the ISY?

 

SETUP:

This is the test scene I created:

image.thumb.png.395ebe824a0f45760feb03551d50fa11.png

Edited by Venicenerd
Posted (edited)

The problem is how scene's work.  A HA scene needs to send 1 on, 2 on, 3 on, 4 on, 5 on, 6 on to the ISY which then in turn sends 1 on, 2 on, 3 on, 4 on, 5 on, 6 on over the ISY network.  Doesn't matter where the congestion is there is congestion both places (although HA to ISY probably handles it better than Flooding the Insteon network with successive commands for each device).

When you create an ISY scene AND turn the ISY scene on from HA (the ISY scene should appear as switch.name_of_isy_scene) when you turn that scene on the commincation is HA to ISY, Scene On, ISY then broadcasts Scene On to the Insteon network and each switch is listening and hears Scene ON and eithers says I'm part of that scene and turns on or I'm not part of that scene and ignores the scene transmission.   So using the ISY scene as the controller you have eliminated much traffic both between HA and ISY and between ISY and devices.

The Answer is to turn on ISY scene's via Home Assistant and not use HA scene's for all things Insteon.

It's better not to deal with complex ISY Scene's on the HA side as a Switch tho, yes by default they are in the switch domain.  Instead Create a button entity that sends Scene On or Scene Off because scene state really doesn't make sense.  Simple ISY scene's that are just a single load, with multiple controllers, yes you can just turn the scene on/off.  For the more complex scene that's in your video tho... have a BUTTON that turns it ON and a BUTTON that turns the scene off, then display the status of the individual members of the scene.

 

Edited by MrBill
  • Like 1
Guest
This topic is now closed to further replies.

  • Recently Browsing

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

  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...