Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to probe state of insteon device? #32795

Open
dduff617 opened this issue May 15, 2024 · 1 comment
Open

how to probe state of insteon device? #32795

dduff617 opened this issue May 15, 2024 · 1 comment
Assignees

Comments

@dduff617
Copy link

Feedback

in the process of setting up, managing, and troubleshooting a network of insteon devices, there are multiple ways that states of devices and entities for insteon devices can become out of sync with the states of corresponding devices in the network. obviously insteon packets (in either direction between PLM and device) can be lost or dropped. devices can sometimes not be set up correctly so as to cause them to report their state changes to the PLM. also devices can also have responder links to other devices (including some possibly unknown to HA) that cause their state to be out of sync with HA.

i propose that within the device view of an insteon device in HA that there should be a way for the user to request that HA bring its state into sync with the actual device. at present afaik, the integration provides no such command/mechanism. it makes sense to me that this could be called "synchronize" or "reinterview" or something. if such a command already exists, it would be good if it would be included in the docs.

i could also see benefits of possibly splitting this into two different commands - one that syncs basic state info (on/off state for a switch, button states for a keypad, etc.) and would generally be assumed to be fast/reliable. There could be another one that does complete sync including device properties and links and understandably (given limits of Insteon protocol) might require multiple round-trip communications between PLM and device and therefore would take longer.

i would further suggest that if in the process of doing a "sync" that the HA state is found to not be in sync with the device, that the discrepancy be noted so that it can be seen in the "logbook" pane that appears in the device view. This would assist the user in identifying where there are recurring problems in their HA configuration/setup w.r.t. insteon - including detecting areas of their insteon network where comms are unreliable, failing devices, incorrect setup, missing links, etc. I suggest also that it would be useful to have be a command (possibly invoked as a service?) that does a sweep of all devices in the insteon network updating states, recording detected discrepancies in the logs. ideally this sweep would be limited by default to non-sleeping devices (which for Insteon means non-battery-powered).

I realize that the concept described here has overlap with "read from device" and "write to device" operations that are already present in the three-dots menu available from the configuration view of a device. afaik, those commands operate on properties/links but not the basic status (e.g. on-state of a switch).

URL

https://www.home-assistant.io/integrations/insteon/

Version

2024.5.3

Additional information

sorry, this started out as a documentation question then morphed more into a feature request for the insteon integration... if it is more appropriate to post elsewhere, let me know.

@home-assistant
Copy link

Hey there @teharris1, mind taking a look at this feedback as it has been labeled with an integration (insteon) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of insteon can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign insteon Removes the current integration label and assignees on the feedback, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information) to the feedback.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information) on the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants