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

[Broadlinkthermostat] Index out of bounds error for #14547

Open
sstocker85 opened this issue Mar 7, 2023 · 1 comment
Open

[Broadlinkthermostat] Index out of bounds error for #14547

sstocker85 opened this issue Mar 7, 2023 · 1 comment
Labels
bug An unexpected problem or unintended behavior of an add-on external bug A problem or unintended behavior of an external library

Comments

@sstocker85
Copy link

Broadlink Thermostat goes offline after a while with following error:

COMMUNICATION_ERROR
Error while retrieving data for broadlinkthermostat:floureonthermostat:Raumtheromostat: Index 34 out of bounds for length 0

The error has already been postet here:
https://community.openhab.org/t/broadlink-floureon-hysen-thermostat-binding/81921/93

Environment

openHAB 4.0.0 Build #3296
Addon-Version 4.0.0.SNAPSHOT

@sstocker85 sstocker85 added the bug An unexpected problem or unintended behavior of an add-on label Mar 7, 2023
@lsiepel
Copy link
Contributor

lsiepel commented Jul 30, 2023

It seems to stumble at a dependency library at this line: https://github.com/mob41/broadlink-java-api/blob/master/src/main/java/com/github/mob41/blapi/pkt/cmd/hysen/BaseHysenCommand.java#L29-L38

Right before it logs the payload, do you see that anywhere in your logs when debug is enable? Not sure how openHAB handles logging of dependencies. The namespace is com.github.mob41.blapi.dev.hysen

There does not seem to be a newer version of this dependency and the last commit is 3 years old. There are some more active forks though, but they have not published it in maven, i guess that is mandatory?

Anyway, i found this PR that is probably a fix for this issue: https://github.com/mob41/broadlink-java-api/pull/28/files#diff-6d639a929465b80e5a0e44ceba9aeeff291cba0a72ed54cda01c174ad24414cb

@lsiepel lsiepel added the external bug A problem or unintended behavior of an external library label Aug 30, 2024
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 external bug A problem or unintended behavior of an external library
Projects
None yet
Development

No branches or pull requests

2 participants