I have a new installation of OpenHab2 on Raspberry Pi. I am using a BlueZ drivers and have added Bluetooth Interface openHABianDevice that works fine.
The AM43 thing was successfully detected on PaperUI as:
Bluetooth Interface openHABianDevice - AM43 Blind Drive Motor AM43 Blind Drive Motor 02:FA:B9:00:F6:FE
but when I add it, I the thing has OFFLINE status and Iâve found following error in logs:
2020-11-02 21:19:08.625 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method âThingHandler.initialize()â on âorg.openhab.binding.bluetooth.am43.internal.AM43Handler@14421cdâ: Duplicate channels bluetooth:am43:hci0:02fab900f6fe:rssi
at org.eclipse.smarthome.core.thing.util.ThingHelper.ensureUniqueChannels(ThingHelper.java:165) ~[?:?]
at org.eclipse.smarthome.core.thing.util.ThingHelper.ensureUniqueChannels(ThingHelper.java:157) ~[?:?]
at org.eclipse.smarthome.core.thing.util.ThingHelper.ensureUniqueChannels(ThingHelper.java:153) ~[?:?]
at org.eclipse.smarthome.core.thing.binding.builder.ThingBuilder.withChannel(ThingBuilder.java:76) ~[?:?]
at org.openhab.binding.bluetooth.BeaconBluetoothHandler.initialize(BeaconBluetoothHandler.java:107) ~[?:?]
at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.initialize(ConnectedBluetoothHandler.java:67) ~[?:?]
at org.openhab.binding.bluetooth.am43.internal.AM43Handler.initialize(AM43Handler.java:91) ~[?:?]
and
2020-11-02 21:19:08.548 [me.event.InboxRemovedEvent] - Discovery Result with UID âbluetooth:am43:hci0:02fab900f6feâ has been removed.
2020-11-02 21:19:08.587 [hingStatusInfoChangedEvent] - âbluetooth:am43:hci0:02fab900f6feâ changed from UNINITIALIZED to INITIALIZING
2020-11-02 21:19:08.678 [hingStatusInfoChangedEvent] - âbluetooth:am43:hci0:02fab900f6feâ changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Duplicate channels bluetooth:am43:hci0:02fab900f6fe:rssi
2020-11-02 21:19:19.517 [hingStatusInfoChangedEvent] - âbluetooth:am43:hci0:02fab900f6feâ changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Duplicate channels bluetooth:am43:hci0:02fab900f6fe:rssi to OFFLINE: Device is not connected.
The same Duplicate channels ... errors I got when I add a think manually:
bluetooth:am43:adapter3:motor1 âAM43 Blind Drive Motor 1â (bluetooth:bluez:hci0) [ address=â02:FA:B9:00:F6:FEâ, refreshInterval=300, invertPosition=false ]
Is your system running OH 2.5 or OH 3? If you are running OH 2.5 go look for my more recent posts on the bluetooth revivial topic where I left instructions for installing the latest bluetooth binding. Adding the linked bluetooth-2.5.9 jar to your addons folder should fix the issue for you after you uninstall your current bluetooth bundle through the OH cli.