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

Insteon: Some Fixes to Scan Link Tables and Link Table Nomeclature #467

Merged
merged 8 commits into from
Jul 27, 2015

Conversation

krkeegan
Copy link
Collaborator

  • Fixes Insteon: Improve Scan all Changed Link Tables to Skip PLM if Unchanged #402 - The status of the PLM link table is monitored and the PLM will only be scanned when calling 'scan changed link tables' if it has actually changed.
  • The nomenclature for referring to the link table health now uses (changed/unchanged) instead of the old (out-of-sync/good). The out of sync reference confused some users because of its similarity to "sync links".
  • Renamed the PLM voice commands for clarity.

This way, the record is added to the PLM cache no matter how the record was added to the PLM.  This includes manual linking.
…ync;

Handle both responder and controller links.

Handle manually delete links.

Mark out of sync if manually reset.
While not specifically enabled in the code, it may one day be, or an advanced user may somehow trigger it.
It was confusing to list both links and link tables as "out-of-sync."

At least for link tables, the likely command would be "sync ...." but in fact it is "scan ...".

Now, link tables can be unknown|empty|changed|unchanged.

This fits with the prior voice command "scan changed link tables."

Hopefully this will lead to less confusion.
Added a prefix to distinguish PLM/Global voice commands.

Changed the name of 'scan all device link tables' to 'force scan...' to try and underscore that it is not a routine function
@marcmerlin
Copy link
Collaborator

@krkeegan I see it's been sitting here for a while. We trust you to self merge your insteon code since you know better than us :)
Any reason not to merge this?

@JaredF
Copy link
Collaborator

JaredF commented Jul 27, 2015

I ran a quick test of this one and didn't encounter any issues. Any objections to merging this?

@hollie
Copy link
Owner

hollie commented Jul 27, 2015

No objection from me!

JaredF added a commit that referenced this pull request Jul 27, 2015
Insteon: Some Fixes to Scan Link Tables and Link Table Nomeclature
@JaredF JaredF merged commit 27a32c9 into hollie:master Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants