-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Bluetooth] BluetoothUtils.toIntArray throwing type mismatch error from [Bluetooth.Airthings] (introduced in commit #13967) #15313
Comments
Fixes openhab#15313 Partially reverts openhab#13967 Signed-off-by: Jacob Laursen <[email protected]>
Fixes openhab#15313 Partially reverts openhab#13967 Signed-off-by: Jacob Laursen <[email protected]>
Fixes openhab#15313 Partially reverts openhab#13967 Signed-off-by: Jacob Laursen <[email protected]>
@dw-8 - thanks for your issue and detailed analysis. With that analysis I was able to quickly provide a pull request for reverting to the last known working state of the code. We aim to get this into a 4.0.1 hotfix release. |
Fixes #15313 Partially reverts #13967 Signed-off-by: Jacob Laursen <[email protected]>
Fixes #15313 Partially reverts #13967 Signed-off-by: Jacob Laursen <[email protected]>
@dw-8 - can you test org.openhab.binding.bluetooth-4.1.0-SNAPSHOT.jar just to be sure everything is working as expected? |
@jlaur - After deleting the original bluetooth binding, dropping in your jar file, and restarting OH, it is now working as expected. |
@jlaur - After deleting the original bluetooth binding, dropping in your jar file, and restarting OH, it is now working as expected. Thanks! Now you can revert that and upgrade to 4.0.1. 😉 |
Fixes openhab#15313 Partially reverts openhab#13967 Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Jørgen Austvik <[email protected]>
Current Behavior
With the recent changes made in commit #13967, the call to updateChannels(BluetoothUtils.toIntArray(data)) within org.openhab.binding.bluetooth.airthings.internal.AbstractAirthingsHandler is now silently failing for an Airthings Wave Gen 1.
This call is not converting the Byte data to Int data so sensor data is not getting updated.
Adding additional logging returned the following error message:
Expected Behavior
This call converts the Byte data to Int data and updates the sensor data
New code (commit #13967)
Previous code
Reverting this commit back to the original code restores the functionality for Airthings Wave Gen 1.
Your Environment
Debian 10 amd64
openHab 4.0
Zulu Embedded Java 17
The text was updated successfully, but these errors were encountered: