New binding for DAIKIN Madoka Controller (BLE)

This is absolutely correct. The misunderstanding here is that Madoka is NOT a binding, therefore there is no feature for it. The bundle for Madoka support is part of the bluetooth binding and is installed together with it. So only install the bluetooth binding and all should be fine.

The fact that it does not show any bridge is indeed a bug, since the thermostat reference dbusbluez as a bridge type, which does not exist - it should imho be bluez instead. Feel free to create a bug report or directly a PR with a fix for it!

Good spot Kai !

I am in touch with Connor to replace the BlueZ by the DBUSBlueZ one :wink:

I’ll do the 2 changes

Hi,

Please update once you fix it and what needs to be done in order to install it.

Thanks

Yaron,

It doesnt prevent you to have it working with the KAR I sent you. Just enable the “bluetooth” binding in your addons.cfg, and as Kai mentioned, the Madoka, which is part of it, will get installed.

Thanks but it doesn’t work :frowning:

I enabled the Bluetooth binding and your KAR:

binding=“zwave,astro,expire1,network,panasonictv1,darksky,sonyaudio,yamahareceiver,http1,weatherunderground,bluetooth-bluez,bluetooth

openhab> bundle:list | grep lue
277 x Active x 80 x 2.5.7.202007190343 x openHAB Add-ons :: Bundles :: Bluetooth Binding
281 x Active x 80 x 2.5.7.202007191831 x openHAB Add-ons :: Bundles :: BlueZ Bluetooth Adapter (via DBus)
285 x Active x 80 x 0.1.2.SNAPSHOT x bluez-dbus-osgi
286 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: Airthings Bluetooth Adapter
287 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: AM43 Bluetooth Adapter
288 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: BlueGiga Bluetooth Adapter
289 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: Blukii Bluetooth Adapter
290 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: DaikinMadoka Bluetooth Adapter
291 x Active x 80 x 2.5.8 x openHAB Add-ons :: Bundles :: RuuviTag Bluetooth Adapter

but when I check the Thing, its state is “UNINITIALIZED - BRIDGE_UNINITIALIZED” and when I edit it in papar-ui, I see that the Bridge is not defined to it, and I don’t see the Bridge I defined anyware.

Bridge bluetooth:dbusbluez:hci0 [ address=“00:00:00:00:00:15” ]
Thing bluetooth:brc1h:hci0:Amit (bluetooth:dbusbluez:hci0) [ address=“00:00:00:00:00:02” ]

So, based on the output of bundle:list, you are all good with prereqs!

There is a mistake in your bridge definition:

it should be bluetooth:bluez:hci0, and not bluetooth:dbusbluez:hci0

Similarly for your madoka, change the parent bridge to (bluetooth:bluez:hci0)

I think it should then be better!

You can check then if adapter comes online:

openhab> smarthome:things list
bluetooth:brc1h:hci0:BRC1HChambre2 (Type=Thing, Status=ONLINE, Label=Daikin BRC1H Thermostat, Bridge=bluetooth:bluez:hci0)
bluetooth:brc1h:hci0:BRC1HChambre1 (Type=Thing, Status=ONLINE, Label=Daikin BRC1H Thermostat, Bridge=bluetooth:bluez:hci0)
bluetooth:bluez:hci0 (Type=Bridge, Status=ONLINE, Label=Bluetooth BlueZ Adapter, Bridge=null)
bluetooth:brc1h:hci0:BRC1HSalon (Type=Thing, Status=ONLINE, Label=Daikin BRC1H Thermostat, Bridge=bluetooth:bluez:hci0)
openhab>

Amazing it works :champagne: :champagne: I managed to control my first thermostat :slight_smile:

Can you share the code for your widget?

Thank you very very much!

Awesome ! Happy to hear that !

Here is the Widget. I’m definitely not a HTML coder - so forgive me for poor code quality.Madoka.widget.json (5.8 KB)

You’ll also need files to be hosted in ${OH}/conf/html/brc1h (icons, font for 7segments TTF…). Everything is in the ZIP below:

Don’t be modest, It looks great!

  • Can I control the thermostat from both the Madoka App and OH (not at the same time)? Now that OH is connected, I don’t see the thermostat in the App. My question is if I can switch between the two?

  • I can’t see or change the value of the set point - I see ‘NaN’.
    When I try to change it in the widget I get below WARN:
    Update - I removed the “:Temperature” from the setpoint item and now it is OK

[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at ‘items/Daikin_BRC1_HT_hermostat_Amit_Setpoint’ with an invalid status value ‘NaN’.

Switch Daikin_BRC1_HT_hermostat_Amit_OnOffStatus “Unit power status” {channel=“bluetooth:brc1h:hci0:Amit:onOffStatus”}
Number:Temperature Daikin_BRC1_HT_hermostat_Amit_IndoorTemperature “Indoor temperature” {channel=“bluetooth:brc1h:hci0:Amit:indoorTemperature”}
String Daikin_BRC1_HT_hermostat_Amit_OperationMode “Operation mode” {channel=“bluetooth:brc1h:hci0:Amit:operationMode”}
Number:Temperature Daikin_BRC1_HT_hermostat_Amit_Setpoint “Setpoint” {channel=“bluetooth:brc1h:hci0:Amit:setpoint”}
Number Daikin_BRC1_HT_hermostat_Amit_FanSpeed “Fan speed” {channel=“bluetooth:brc1h:hci0:Amit:fanSpeed”}
Capture4

  • I see lots of logs related to bluez every 1 min, is it ok? UPDATE - AFTER RESTART IT WAS FIXED

2020-09-21 15:41:41.126 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:41.131 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:41.162 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:41.165 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:41.628 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:41.628 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.250 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.253 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.257 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.256 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.266 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.267 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.879 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.879 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.887 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.
2020-09-21 15:41:42.890 [INFO ] [tooth.bluez.DBusBlueZBluetoothDevice] - Received a notification for a characteristic not found on device.

  • When I check the adapter status I see error (although I can control the thermostat) - UPDATE - AFTER RESTART IT WAS FIXED:

openhab> smarthome:things list | grep blue
bluetooth:brc1h:hci0:Amit (Type=Thing, Status=OFFLINE (COMMUNICATION_ERROR), Label=Daikin BRC1H Thermostat, Bridge=bluetooth:bluez:hci0)
bluetooth:bluez:hci0 (Type=Bridge, Status=ONLINE, Label=Bluetooth BlueZ Adapter, Bridge=null)

Thanksmadoka - Copy.log (15.3 KB)

Answer is No, because the Madoka uses an UART emulation over BLE. So serial communications are point to point, and the only available channel is used by openHAB ! However, you’ll realize that the Madoka app becomes useless with a well configured OpenHAB now ! For example, here is the interface to my controllers with Homekit (IOS):

Thanks again for all your help. You’ve done an amazing work!

1 Like

Hi again…

Now I have 4 connected thermostats and it works like magic:

.
Do you have an idea how to extend the range of the Bluetooth signal? I have another thermostat but it is far away from my raspberry pi. Do you know if I can connect more then 1 usb Bluetooth adapter to the raspberry pi?

Thanks

The BT of the PI is just convenient for small ranges.
For larger range, what I’m using home is this:

Less than 30 euros, and you can add a high-gain antenna (for couple of $ on Aliexpress…).
It works like a charm : approx 50 meters at home, with big 50cm stone wall in the middle.
Definitely worths!

Hello! I’ve been using this new binding for less than a week and I finally managed to make it work correctly. I even added the thermostat to Alexa successfully.

The only problem I was facing were bluetooth disconnections by the end of the day. Since my installation is on a raspberry pi that it is restarted every night is not much a problem but a bit annoying.

Yesterday, I upgraded to openhab 2.5.9 from 2.5.8 and everything broke up! There was an error that said something similar to duplicate channels error initialitizing the bluetooth connection. After downgrading, everything works again as it used to.

Will those problems with bluetooth be solved or it is better if I just stay at this version?

Thanks for all your great work

Hi,

Which Bluetooth binding are you using ? bluetooth-bluez ?

Are you using the Bluetooth for anything else that managing those Thermostat ? If not - I can offer you a binding which is not yet approved and included in OH, which uses different libraries, and is more reliable than the bluez one. Your daily disruption probably comes from the Bluetooth bridge rather than the Madoka binding itself.
Happy to share it

Yes, I am using blueZ provided in the OpenHAB bluetooth binding and bluetooth is only being used to pair with the thermostat.

If you can share this bluetooth binding, I would like to give it a try.

Thanks a lot!

Here it is :slight_smile:
https://github.com/blafois/openhab-bins/blob/master/org.openhab.binding.bluetooth.bluez-2.5.7-SNAPSHOT.kar
You must put it in $(OH)/addons
Keep me posted!

I don’t know if I’ve done something wrong but it isn’t working. Uninstalling this binding solves the problem.

2020-09-24 17:50:41.188 [ERROR] [com.github.hypfvieh.DbusHelper      ] - Critical error while reading DBUS response (maybe no bluetoothd daemon running?)
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[bundleFile:?]
        at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[bundleFile:?]
        at com.sun.proxy.$Proxy143.Introspect(Unknown Source) ~[?:?]
        at com.github.hypfvieh.DbusHelper.findNodes(DbusHelper.java:44) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.refreshGattCharacteristics(BluetoothGattService.java:50) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.getGattCharacteristics(BluetoothGattService.java:65) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.getDBusBlueZCharacteristicByUUID(DBusBlueZBluetoothDevice.java:147) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.disableNotifications(DBusBlueZBluetoothDevice.java:428) [bundleFile:?]
        at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.dispose(DaikinMadokaHandler.java:143) [bundleFile:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.228 [ERROR] [com.github.hypfvieh.DbusHelper      ] - Critical error while reading DBUS response (maybe no bluetoothd daemon running?)
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[bundleFile:?]
        at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[bundleFile:?]
        at com.sun.proxy.$Proxy143.Introspect(Unknown Source) ~[?:?]
        at com.github.hypfvieh.DbusHelper.findNodes(DbusHelper.java:44) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.refreshGattCharacteristics(BluetoothGattService.java:50) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.getGattCharacteristics(BluetoothGattService.java:65) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.getDBusBlueZCharacteristicByUUID(DBusBlueZBluetoothDevice.java:147) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.disableNotifications(DBusBlueZBluetoothDevice.java:428) [bundleFile:?]
        at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.dispose(DaikinMadokaHandler.java:143) [bundleFile:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.238 [ERROR] [com.github.hypfvieh.DbusHelper      ] - Critical error while reading DBUS response (maybe no bluetoothd daemon running?)
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[bundleFile:?]
        at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[bundleFile:?]
        at com.sun.proxy.$Proxy143.Introspect(Unknown Source) ~[?:?]
        at com.github.hypfvieh.DbusHelper.findNodes(DbusHelper.java:44) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.refreshGattCharacteristics(BluetoothGattService.java:50) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.getGattCharacteristics(BluetoothGattService.java:65) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.getDBusBlueZCharacteristicByUUID(DBusBlueZBluetoothDevice.java:147) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.disableNotifications(DBusBlueZBluetoothDevice.java:428) [bundleFile:?]
        at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.dispose(DaikinMadokaHandler.java:143) [bundleFile:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.248 [ERROR] [com.github.hypfvieh.DbusHelper      ] - Critical error while reading DBUS response (maybe no bluetoothd daemon running?)
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[bundleFile:?]
        at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[bundleFile:?]
        at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[bundleFile:?]
        at com.sun.proxy.$Proxy143.Introspect(Unknown Source) ~[?:?]
        at com.github.hypfvieh.DbusHelper.findNodes(DbusHelper.java:44) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.refreshGattCharacteristics(BluetoothGattService.java:50) [bundleFile:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService.getGattCharacteristics(BluetoothGattService.java:65) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.getDBusBlueZCharacteristicByUUID(DBusBlueZBluetoothDevice.java:147) [bundleFile:?]
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.disableNotifications(DBusBlueZBluetoothDevice.java:428) [bundleFile:?]
        at org.openhab.binding.bluetooth.daikinmadoka.handler.DaikinMadokaHandler.dispose(DaikinMadokaHandler.java:143) [bundleFile:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.253 [WARN ] [tooth.bluez.DBusBlueZBluetoothDevice] - Characteristic '2141e111-213a-11e6-b67b-9e71128cae77' is missing on device '00:CC:3F:FF:AE:2C'.
2020-09-24 17:50:41.262 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
        at org.openhab.binding.bluetooth.bluez.DBusBlueZBluetoothDevice.disconnect(DBusBlueZBluetoothDevice.java:122) ~[?:?]
        at org.openhab.binding.bluetooth.ConnectedBluetoothHandler.lambda$1(ConnectedBluetoothHandler.java:89) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.501 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.dispose()' on 'org.openhab.binding.bluetooth.bluez.handler.DBusBlueZBridgeHandler@69d104': Refusing activation, D-Bus is shutting down.
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        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.$Proxy146.StopDiscovery(Unknown Source) ~[?:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothAdapter.stopDiscovery(BluetoothAdapter.java:290) ~[?:?]
        at org.openhab.binding.bluetooth.bluez.handler.DBusBlueZBridgeHandler.dispose(DBusBlueZBridgeHandler.java:292) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2020-09-24 17:50:41.523 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while disposing handler of thing 'bluetooth:bluez:hci0': Refusing activation, D-Bus is shutting down.
org.freedesktop.dbus.exceptions.DBusExecutionException: Refusing activation, D-Bus is shutting down.
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        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.$Proxy146.StopDiscovery(Unknown Source) ~[?:?]
        at com.github.hypfvieh.bluetooth.wrapper.BluetoothAdapter.stopDiscovery(BluetoothAdapter.java:290) ~[?:?]
        at org.openhab.binding.bluetooth.bluez.handler.DBusBlueZBridgeHandler.dispose(DBusBlueZBridgeHandler.java:292) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]  at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        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:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
  1. is your openHAB running as root ? If not, it is likely like you need to grant the user running OH the DBUS privs
  2. is bluetoothd service running ?

Now, it is working. I had to physically restart the thermostat and pair the device again with bluetoothctl.

Curious thing is that the status of Daikin BRC1H Thermostat is shown as OFFLINE - COMMUNICATION_ERROR but it works perfectly.