New binding for DAIKIN Madoka Controller (BLE)

That’s weird,

They all report online here:

Hi,

I am working with this binding for a month and it works perfect, but when I check the status of the Things, I see that they are OFFLINE (COMMUNICATION_ERROR):

bluetooth:brc1h:hci0:Master (Type=Thing, Status=OFFLINE (COMMUNICATION_ERROR), Label=Daikin - brc1h - Master, Bridge=bluetooth:bluez:hci0)
bluetooth:brc1h:hci0:Amit (Type=Thing, Status=OFFLINE (COMMUNICATION_ERROR), Label=Daikin - brc1h - Amit, Bridge=bluetooth:bluez:hci0)
bluetooth:brc1h:hci0:LivingRoomSLV (Type=Thing, Status=OFFLINE (COMMUNICATION_ERROR), Label=Daikin - brc1h - Living Room, Bridge=bluetooth:bluez:hci0)
bluetooth:bluez:hci0 (Type=Bridge, Status=ONLINE, Label=Bluetooth BlueZ Adapter, Bridge=null)
bluetooth:brc1h:hci0:Roy (Type=Thing, Status=OFFLINE (COMMUNICATION_ERROR), Label=Daikin - brc1h - Roy, Bridge=bluetooth:bluez:hci0)
bluetooth:brc1h:hci0:Yuval (Type=Thing, Status=ONLINE, Label=Daikin - brc1h - Yuval, Bridge=bluetooth:bluez:hci0)

Furthermore, once in a while I am getting bellow warning:

2020-10-19 11:52:27.518 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
org.freedesktop.dbus.exceptions.DBusExecutionException: No discovery started
at sun.reflect.GeneratedConstructorAccessor378.newInstance(Unknown Source) ~[?:?]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_265]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_265]
at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[?:?]
at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[?:?]
at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[?:?]
at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[?:?]
at com.sun.proxy.$Proxy276.StopDiscovery(Unknown Source) ~[?:?]
at com.github.hypfvieh.bluetooth.wrapper.BluetoothAdapter.stopDiscovery(BluetoothAdapter.java:290) ~[?:?]
at org.openhab.binding.bluetooth.bluez.handler.DBusBlueZBridgeHandler.setDiscovering(DBusBlueZBridgeHandler.java:318) ~[?:?]
at org.openhab.binding.bluetooth.bluez.handler.DBusBlueZBridgeHandler.recycleDiscoveringStop(DBusBlueZBridgeHandler.java:237) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_265]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_265]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_265]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]

Hello @Yaron_Cohen,

Regarding the device reporting as offline, it is a bug with the Bluetooth binding logic, determining the online/offline status based on the device RSSI.
The RSSI is determined on the advertising bluetooth packets. Once connection to the device established, because the device can only handle 1 communication at a time, it does not adverts itself anymore, which makes BlueZ incapable of determining its RSSI. As such, the OH Bluetooth binding considers it as offline, but as you highlighted it, it works.

The good news is that @cpmeister and myself are working on a new version of the Bluetooth binding (not the Madoka, the Bluetooth framework), which will fix this problem!

Regarding your second exception, I’ll take a look. once again, it does not come from the Madoka binding, but from the Bluetooth BlueZ binding (the DBUS one I coded). That is not very important, it just indicates that for some reason, your adapter is not in discovery mode, which prevents a correct refresh of devices in range.

We’re on it :slight_smile:

I seem to have all working (bridge online, etc) but the Thermostat things rhas this error:

UNINITIALIZED - HANDLER_INITIALIZING_ERROR Duplicate channels bluetooth:brc1h:hci0:salon:rssi

Can you help?

That’s correct @andresdrb.
I have made the correction, but not yet commit the PR. Will do tonight, and it will be for OH3 now.

1 Like

Here is the PR done if you want to follow: https://github.com/openhab/openhab-addons/pull/8813

Thanks! I´m sorry for the very basic question, but in order to get this change, so I just need to drop the https://ci.openhab.org/job/openHAB3-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-addons/target/openhab-addons-3.0.0-SNAPSHOT.kar file into my addons folder?

Once the PR will get accepted, it will automatically get into the OH official repositories. No need to take the full addons KAR, just the madoka JAR. You can then get it from the CI/CD chain:

https://ci.openhab.org/job/openHAB-Addons/lastSuccessfulBuild/artifact/bundles/org.openhab.binding.bluetooth.daikinmadoka/target/

Check the “last build date” so that you know if its fixed or not!

I saw it got merged, but for some reason the build after the change got merged failed :frowning: so will have to wait a bit longer

I managed to get it working now :slight_smile: The only issue is that I seem to not be able to configure the SetPoint correctly (to be able to control de temperature level). Any ideas? It shows as null

Also can you share again the widget icon files? the transfer link is expired…

I don’t really have idea why. Just be careful, the “.5” are not supported by the controller. You need decimals. Are you in °C or °F ? I’ve only tested it in °C !

Here is the configuration of my items regarding setpoint:

Number climSalon_setpoint "Setpoint" (g_climSalon) { channel="bluetooth:brc1h:hci0:BRC1HSalon:setpoint" }

You can try to put the binding in debug mode and check (Logger: org.openhab.binding.bluetooth.daikinmadoka)

I´m using ºc too :slight_smile:

Not sure how can I put the binding in debug mode, I´ll have to check it out

Hi again,

Today I reinstalled Raspberry Pi3 with the latest stable openhab version (2.5.9).
I put the org.openhab.binding.bluetooth.bluez-2.5.7-SNAPSHOT.kar file in the addons folder and the Bluetooth BlueZ Adapter is online:

bluetooth:bluez:hci0 (Type=Bridge, Status=ONLINE, Label=Bluetooth BlueZ Adapter, Bridge=null)

But, when I added the brc1h thing, I got errors and it doesn’t work:

bluetooth:brc1h:hci0:LivingRoomSLV (Type=Thing, Status=UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;, Label=Daikin - brc1h - Living Room, Bridge=bluetooth:bluez:hci0)

feature:list | grep bluetooth
openhab-binding-bluetooth-bluez                   x 2.5.7.SNAPSHOT   x x        x Started     x org.openhab.binding.bluetooth.bluez-2.5.7-SNAPSHOT x Bluetooth Binding Bluez (over DBus)
openhab-binding-bluetooth                         x 2.5.9            x x        x Started     x openhab-addons-2.5.9                               x Bluetooth Binding

2020-10-23 19:01:24.936 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'DaikinMadoka.things'
2020-10-23 19:01:25.080 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler@16912b1': org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
java.lang.AbstractMethodError: org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_265]
at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:189) ~[?:?]
at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:1) ~[?:?]
at org.openhab.binding.bluetooth.BeaconBluetoothHandler.initialize(BeaconBluetoothHandler.java:98) ~[?:?]
at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.initialize(ConnectedBluetoothHandler.java:67) ~[?:?]
at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.initialize(DaikinMadokaHandler.java:94) ~[?:?]
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
2020-10-23 19:01:25.114 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'bluetooth:brc1h:hci0:LivingRoomSLV': org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
java.lang.AbstractMethodError: org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_265]
at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:189) ~[?:?]
at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:1) ~[?:?]
at org.openhab.binding.bluetooth.BeaconBluetoothHandler.initialize(BeaconBluetoothHandler.java:98) ~[?:?]
at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.initialize(ConnectedBluetoothHandler.java:67) ~[?:?]
at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.initialize(DaikinMadokaHandler.java:94) ~[?:?]
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
==> /var/log/openhab2/events.log <==
2020-10-23 19:01:25.056 [hingStatusInfoChangedEvent] - 'bluetooth:brc1h:hci0:LivingRoomSLV' changed from UNINITIALIZED to INITIALIZING
2020-10-23 19:01:25.113 [hingStatusInfoChangedEvent] - 'bluetooth:brc1h:hci0:LivingRoomSLV' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;

Any idea what i need to do?

I think there is a conflict with the bluetooth binding from the 2.5.9, and the one you installed manually.
Try to remove the 2.5.9 one ?

Hi, I am not sure what I need to do - to remove the bluetooth binding? which version to install instead of the 2.5.9 version?

You have 2 versions of the binding:

feature:list | grep bluetooth
openhab-binding-bluetooth-bluez                   x 2.5.7.SNAPSHOT   x x        x Started     x org.openhab.binding.bluetooth.bluez-2.5.7-SNAPSHOT x Bluetooth Binding Bluez (over DBus)
openhab-binding-bluetooth                         x 2.5.9            x x        x Started     x openhab-addons-2.5.9                               x Bluetooth Binding

The openhab-binding-bluetooth which comes with the distribution, and openhab-binding-bluetooh-bluezwhich is probably the one I gave to you a while ago. try to uninstall the 2.5.9 one, as there are some classes that might conflict (at least this is my only assumption - as I have no other idea as I never encountered this problem).

try:

feature:stop openhab-binding-bluetooth

or you can uninstall it:

feature:uninstall openhab-binding-bluetooth

Hi,

When I uninstalled the binding, the DaikinMadoka feature was missing:

openhab> bundle:list | grep lue
351 x Active x  80 x 2.5.7.202007191831      x openHAB Add-ons :: Bundles :: BlueZ Bluetooth Adapter (via DBus)
352 x Active x  80 x 2.5.7.202007190343      x openHAB Add-ons :: Bundles :: Bluetooth Binding

When I installed again the bluetooth binding, both items changed to UNINITIALIZED:

openhab> bundle:list | grep Blue
351 x Active x  80 x 2.5.7.202007191831      x openHAB Add-ons :: Bundles :: BlueZ Bluetooth Adapter (via DBus)
352 x Active x  80 x 2.5.7.202007190343      x openHAB Add-ons :: Bundles :: Bluetooth Binding
353 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: Bluetooth Binding
354 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: Airthings Bluetooth Adapter
355 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: AM43 Bluetooth Adapter
356 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: BlueGiga Bluetooth Adapter
357 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: BlueZ Bluetooth Adapter
358 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: Blukii Bluetooth Adapter
359 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: DaikinMadoka Bluetooth Adapter
360 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: Roaming Bluetooth Adapter
361 x Active x  80 x 2.5.9                   x openHAB Add-ons :: Bundles :: RuuviTag Bluetooth Adapter

bluetooth:brc1h:hci0:LivingRoomSLV (Type=Thing, Status=UNINITIALIZED (HANDLER_MISSING_ERROR), Label=Daikin - brc1h - Living Room, Bridge=bluetooth:bluez:hci0)
bluetooth:bluez:hci0 (Type=Bridge, Status=UNINITIALIZED (HANDLER_INITIALIZING_ERROR): BlueZ JNI connection cannot be established., Label=Bluetooth BlueZ Adapter, Bridge=null)

The Madoka log file:

2020-10-24 08:38:50.211 [DEBUG] [.internal.DaikinMadokaHandlerFactory] - Request to create handler for thing bluetooth:brc1h
2020-10-24 08:38:50.217 [DEBUG] [.internal.DaikinMadokaHandlerFactory] - Thing is matching BRC1H
2020-10-24 08:40:33.028 [DEBUG] [inmadoka.handler.DaikinMadokaHandler] - [LivingRoomSLV] dispose()

log file:

2020-10-24 08:38:50.197 [ERROR] [bluez.handler.DBusBlueZBridgeHandler] - Failed registering DBUS Property Handler after 3 attempts. Giving up.
2020-10-24 08:38:50.348 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler@1590b90': org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
java.lang.AbstractMethodError: org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_265]
	at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:189) ~[?:?]
	at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:1) ~[?:?]
	at org.openhab.binding.bluetooth.BeaconBluetoothHandler.initialize(BeaconBluetoothHandler.java:98) ~[?:?]
	at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.initialize(ConnectedBluetoothHandler.java:67) ~[?:?]
	at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.initialize(DaikinMadokaHandler.java:94) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
2020-10-24 08:38:50.381 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'bluetooth:brc1h:hci0:LivingRoomSLV': org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
java.lang.AbstractMethodError: org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_265]
	at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:189) ~[?:?]
	at org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.getDevice(AbstractBluetoothBridgeHandler.java:1) ~[?:?]
	at org.openhab.binding.bluetooth.BeaconBluetoothHandler.initialize(BeaconBluetoothHandler.java:98) ~[?:?]
	at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.initialize(ConnectedBluetoothHandler.java:67) ~[?:?]
	at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.initialize(DaikinMadokaHandler.java:94) ~[?:?]
	at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
==> /var/log/openhab2/events.log <==
2020-10-24 08:38:50.214 [hingStatusInfoChangedEvent] - 'bluetooth:bluez:hci0' changed from INITIALIZING to OFFLINE (HANDLER_INITIALIZING_ERROR): Library error.
2020-10-24 08:38:50.319 [hingStatusInfoChangedEvent] - 'bluetooth:brc1h:hci0:LivingRoomSLV' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2020-10-24 08:38:50.383 [hingStatusInfoChangedEvent] - 'bluetooth:brc1h:hci0:LivingRoomSLV' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org.openhab.binding.bluetooth.AbstractBluetoothBridgeHandler.createDevice(Lorg/openhab/binding/bluetooth/BluetoothAddress;)Lorg/openhab/binding/bluetooth/BaseBluetoothDevice;

The line

2020-10-24 08:38:50.197 [ERROR] [bluez.handler.DBusBlueZBridgeHandler] - Failed registering DBUS Property Handler after 3 attempts. Giving up.

suggests that your OH instance cannot register to the DBUS, and this could be caused by missing privileges. Openhab runs with openhab user, and by default, it cannot access the Dbus.
To remediate, try this:

sudo adduser openhab bluetooth
systemctl restart dbus
systemctl restart bluetooth
systemctl restart openhab2

If all of this does not work, do you have an important openHAB installation with lots of things/items/rules ?
If not, would you mind migrating to OpenHAB 3.0.0-M1 ? We will shortly merge the new Bluetooth BlueZ, which would be more easy to support you with very last updates of both bindings (bluez and madoka).

I don’t really know how, but after a few restarts, installation and removal of the bluethooth binding (2.5.8) it started to work.
I have lots of things/items/rules, so I don’t think i am going to migrate soon.

Thanks