Skip to content

Comments

[insteon] Fix legacy all link broadcast message not processed#18049

Merged
lsiepel merged 1 commit intoopenhab:mainfrom
jsetton:insteon-legacy-bcast-fix
Jan 6, 2025
Merged

[insteon] Fix legacy all link broadcast message not processed#18049
lsiepel merged 1 commit intoopenhab:mainfrom
jsetton:insteon-legacy-bcast-fix

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 backported 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>
phenix1990 pushed a commit to phenix1990/openhab-addons that referenced this pull request Jul 31, 2025
…b#18049)

Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported A PR that has been cherry-picked to a patch release branch bug An unexpected problem or unintended behavior of an add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants