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

[benqprojector] Fix response processing for newer projectors #18009

Merged
merged 6 commits into from
Jan 5, 2025

Conversation

mlobstein
Copy link
Contributor

@mlobstein mlobstein commented Dec 31, 2024

Resolves #17996. The current implementation does not work at all with some newer projectors possibly due to an unexpected carriage return in the projector's response. This PR fixes the issue and also an issue where the off command needed to be sent twice to make the projector turn off.

Test build: https://github.com/mlobstein/openhab-addons/releases/download/v4.3.0-snapshot/org.openhab.binding.benqprojector-4.3.0-SNAPSHOT.jar

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
@mlobstein mlobstein added the bug An unexpected problem or unintended behavior of an add-on label Dec 31, 2024
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
@mlobstein mlobstein changed the title [benqprojector] Fix message processing for newer projectors [benqprojector] Fix response processing for newer projectors Dec 31, 2024
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
@mlobstein mlobstein added the rebuild Triggers Jenkins PR build label Jan 2, 2025
@jlaur jlaur added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jan 2, 2025
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
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.

@mlobstein i guess this should be backported to 4.3.0?

@lsiepel lsiepel merged commit b4bcf80 into openhab:main Jan 5, 2025
2 checks passed
@lsiepel lsiepel added this to the 5.0 milestone Jan 5, 2025
@mlobstein
Copy link
Contributor Author

Thanks, LGTM.

@mlobstein i guess this should be backported to 4.3.0?

yes that would be a good idea.

@mlobstein mlobstein deleted the benq_fixcomm branch January 5, 2025 21:31
lsiepel pushed a commit that referenced this pull request Jan 5, 2025
* Fix message processing for newer projectors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
@lsiepel lsiepel added the patch A PR that has been cherry-picked to a patch release branch label Jan 5, 2025
GearrelW pushed a commit to GearrelW/openhab-addons that referenced this pull request Jan 12, 2025
…#18009)

* Fix message processing for newer projectors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.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.

[Benq Projector] Serial Port will not connect. May be sending incorrect command
4 participants