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] Fix legacy all link broadcast message not processed #18049

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

jsetton
Copy link
Contributor

@jsetton jsetton commented Jan 5, 2025

This change fixes a bug introduced in the legacy implementation where incoming all link broadcast messages aren't being processed. Previously, the Msg class method isBroadcast included both broadcast message types (standard and all-link broadcasts). After the rewrite, that method was decoupled only including the standard type, while a new method isAllLinkBroadcast was added to check for the other type. For reference, Insteon message requests (outgoing) can only be of direct or all-link broadcast types.

This fix should be back ported as physical button press events aren't processed by the legacy implementation delaying the state update of some of the channels until the next binding poll. I did run a successful test in my environment of this change.

Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
@jsetton jsetton force-pushed the insteon-legacy-bcast-fix branch from bbc5f1c to f50c95c Compare January 6, 2025 04:02
@jlaur jlaur added the bug An unexpected problem or unintended behavior of an add-on label Jan 6, 2025
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

Will backport later today

@lsiepel lsiepel merged commit 19ca89c into openhab:main Jan 6, 2025
2 checks passed
@lsiepel lsiepel added this to the 5.0 milestone Jan 6, 2025
@jsetton jsetton deleted the insteon-legacy-bcast-fix branch January 6, 2025 17:59
lsiepel pushed a commit that referenced this pull request Jan 6, 2025
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
@lsiepel lsiepel added the patch A PR that has been cherry-picked to a patch release branch label Jan 6, 2025
GearrelW pushed a commit to GearrelW/openhab-addons that referenced this pull request Jan 12, 2025
…b#18049)

Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
chilobo pushed a commit to chilobo/openhab-addons that referenced this pull request Feb 10, 2025
…b#18049)

Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
Signed-off-by: Christian Koch <78686276+chilobo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on patch A PR that has been cherry-picked to a patch release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants