3rd Party Bluetooth Binding. Beta testers needed

Hi thank you
two Q,

  1. when you say its in the new snapshot, do i need update my OH setup?
    or i can take the files and put them somewhere?
  2. do i need some dongle to make bluez work ?
  3. can you link me a working keyboard and a dongle ?

Thanks

Dear,

i want to set up the gat services in de binding set up, but i save the i get an error;
==> /var/log/openhab2/openhab.log <==

2019-09-05 16:32:37.655 [ERROR] [ore.internal.binding.BindingResource] - Cannot update configuration for service bluetooth: Permission denied

java.io.IOException: Permission denied

at java.io.UnixFileSystem.createFileExclusively(Native Method) ~[?:?]

at java.io.File.createTempFile(File.java:2024) ~[?:?]

at org.apache.felix.cm.file.FilePersistenceManager._store(FilePersistenceManager.java:719) ~[?:?]

at org.apache.felix.cm.file.FilePersistenceManager.access$200(FilePersistenceManager.java:105) ~[?:?]

at org.apache.felix.cm.file.FilePersistenceManager$4.run(FilePersistenceManager.java:692) ~[?:?]

at java.security.AccessController.doPrivileged(Native Method) ~[?:?]

at org.apache.felix.cm.file.FilePersistenceManager._privilegedStore(FilePersistenceManager.java:687) ~[?:?]

at org.apache.felix.cm.file.FilePersistenceManager.store(FilePersistenceManager.java:673) ~[?:?]

at org.apache.felix.cm.impl.persistence.CachingPersistenceManagerProxy.store(CachingPersistenceManagerProxy.java:291) ~[?:?]

at org.apache.felix.cm.impl.ConfigurationImpl.update(ConfigurationImpl.java:454) ~[?:?]

at org.apache.felix.cm.impl.ConfigurationAdapter.update(ConfigurationAdapter.java:145) ~[?:?]

at org.eclipse.smarthome.io.rest.core.config.ConfigurationService.update(ConfigurationService.java:132) ~[120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]

at org.eclipse.smarthome.io.rest.core.config.ConfigurationService.update(ConfigurationService.java:71) ~[120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]

at org.eclipse.smarthome.io.rest.core.internal.binding.BindingResource.updateConfiguration(BindingResource.java:167) [120:org.eclipse.smarthome.io.rest.core:0.10.0.oh240]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [171:org.glassfish.jersey.core.jersey-common:2.22.2]

at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [172:org.glassfish.jersey.core.jersey-server:2.22.2]

at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]

at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [20:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.Server.handle(Server.java:531) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [84:org.eclipse.jetty.server:9.4.11.v20180605]

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]

at java.lang.Thread.run(Thread.java:748) [?:?]

The reason is this: Can’t store name for private addressed device /org/bluez/hci0/dev_18_B4_30_EA_66_28

greatz tom

Hi! Is there any comprehensive instruction of installing and configuring tinyb/bluetooth/bluez and other prerequisites (e.g. for ubuntu) to be able to use this binding? I’m using CSR4.0 adapter. I’m kind of lost.

Hi,
first thanks for this amazing project. But i have still a few problems with pairing my devices. They connecting and disconnecting repeatedly. The openhab log showing me this line:
2019-09-12 12:16:57.864 [WARN ] [impl.AbstractBluetoothObjectGovernor] - Error occurred while updating governor: /00:15:83:F7:3B:F1/AC:9A:22:F1:6D:C8 / 4da46e : GDBus.Error:org.bluez.Error.Failed: Cancelled
When i try to pair with bluetoothctl i always get Failed to pair: org.bluez.Error.AuthenticationFailed
In the bluetoothctl printout it is showing me the device:
[NEW] Device AC:9A:22:F1:6D:C8 MiKettle
and after a few seconds:
[DEL] Device AC:9A:22:F1:6D:C8 MiKettle
This is going through an infinite loop.
Could you please help me? If you need more informations, let me know.

Thanks, Eric

I really appreciate your work on this!

However, I cannot discover any things.
So I checked your links about prerequesits.

I run Bluez 5.23 and tried to upgrade it with this guide.

Anything worked ok (no error), but I still have 5.23 according to
[16:15:14] openhabian@Homer:~$ bluetoothd -v
5.23

EDIT:
This returns the correct version:

    [16:28:27] openhabian@Homer:~$ sudo systemctl status bluetooth
    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
       Active: active (running) since Mi 2019-09-18 16:06:36 CEST; 22min ago
         Docs: man:bluetoothd(8)
     Main PID: 636 (bluetoothd)
       Status: "Running"
       CGroup: /system.slice/bluetooth.service
               └─636 /usr/libexec/bluetooth/bluetoothd
    Sep 18 16:06:36 Homer bluetoothd[636]: Bluetooth daemon 5.47
    Sep 18 16:06:36 Homer systemd[1]: Started Bluetooth service.
    Sep 18 16:06:36 Homer bluetoothd[636]: Starting SDP server
    Sep 18 16:06:36 Homer bluetoothd[636]: Bluetooth management interface 1.14 initialized
    Sep 18 16:06:36 Homer bluetoothd[636]: Failed to set privacy: Rejected (0x0b)

So what’s the truth?
And what about Failed to set privacy: Rejected (0x0b)

Even though my post above mentions 5.23, the newer version is obviously installed and I was able to detect the Bluetooth devices.

I get constantly the following leg entry regarding my Raspberry Pi internal BT adapter:
[th.manager.impl.BluetoothManagerImpl] - Removing stale device: tinyb:/xx:xx:xx:...

Any idea?

Just little bit out of topic but I was not able to achieve fully with this plugin. I found another solution using cron and just cpp app w which talks direclty over BT. Check here.

Hi,
I have problem with socast/ser2net connection.On Openhab server it’s not recognized properly.
I have additional BlueGiga dongle connected in RaspberryPi and shared with ser2net. It seems it works properly:
Configuration:
3333:raw:0:/dev/ttyACM0:115200 8DATABITS NONE 1STOPBIT
Status:

● ser2net.service - LSB: Allows network connections to serial ports
Loaded: loaded (/etc/init.d/ser2net; generated)
Active: active (running) since Sun 2019-10-13 09:49:06 BST; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 618 ExecStart=/etc/init.d/ser2net start (code=exited, status=0/SUCCESS)
Memory: 1.5M
CGroup: /system.slice/ser2net.service
└─625 /usr/sbin/ser2net -c /etc/ser2net.conf -P /run/ser2net.pid
Oct 13 09:49:06 raspberrypi systemd[1]: Starting LSB: Allows network connections to serial ports…
Oct 13 09:49:06 raspberrypi ser2net[623]: ser2net startup
Oct 13 09:49:06 raspberrypi ser2net[618]: Starting Serial port to network proxy: ser2net.
Oct 13 09:49:06 raspberrypi systemd[1]: Started LSB: Allows network connections to serial ports.

On Openhab server:
socat.conf
OPTIONS=“pty,link=/dev/ttyNET0,raw,user=openhab,group=dialout,mode=777 tcp:192.168.X.XXX:3333”

/dev info:
lrwxrwxrwx 1 openhab dialout 10 paź 13 10:43 /dev/ttyNET0 → /dev/pts/3
crwxrwxrwx 1 openhab dialout 136, 3 paź 13 10:43 /dev/pts/3

socat status:

● socat.service - LSB: Start/stop (socat a multipurpose relay)
Loaded: loaded (/etc/init.d/socat; generated; vendor preset: enabled)
Active: active (running) since Sun 2019-10-13 10:43:07 CEST; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 11965 ExecStop=/etc/init.d/socat stop (code=exited, status=0/SUCCESS)
Process: 11976 ExecStart=/etc/init.d/socat start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/socat.service
└─11982 /usr/bin/socat -d -d -d -lf /var/log/socat.log pty,link=/dev/ttyNET0,raw,user=openhab,group=dialout,mode=777 tcp:192.168.X.XXX:3333
paź 13 10:43:07 omvserver systemd[1]: Starting LSB: Start/stop (socat a multipurpose relay)…
paź 13 10:43:07 omvserver socat[11976]: Starting multipurpose relay: socat.
paź 13 10:43:07 omvserver systemd[1]: Started LSB: Start/stop (socat a multipurpose relay).

karaf:
openhab-transport-serial │ 2.5.0.SNAPSHOT │ │ Started │ distro-2.5.0-SNAPSHOT │ Serial Transport

/etc/default/openhab2
EXTRA_JAVA_OPTS=“-Dgnu.io.rxtx.SerialPorts=/dev/ttyBT:/dev/ttyZwave:/dev/ttyZigbee:/dev/ttyACM0:/dev/ttyACM1:/dev/ttyACM2:/dev/ttyNET0”

Logs:

2019-10-13 10:58:27.210 [DEBUG] [th.manager.impl.BluetoothManagerImpl] - Transport [bluegiga] reported 0 discovered devices
2019-10-13 10:58:27.210 [DEBUG] [th.manager.impl.BluetoothManagerImpl] - Lost: 0; New: 0; Rediscovered: 0; Stale: 0
2019-10-13 10:58:27.951 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - Discovered adapters requested
2019-10-13 10:58:27.951 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - Discovering adapters
2019-10-13 10:58:27.959 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - Discovered ports:
2019-10-13 10:58:27.960 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - Ports already in use:
2019-10-13 10:58:27.960 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - New adapters:
2019-10-13 10:58:27.961 [DEBUG] [r.transport.bluegiga.BluegigaFactory] - Discovered adapters:

Bluetooth binding configuration I’ve checked with:

  • both dongles: (/dev/ttyNET0)|(/dev/ttyACM0)
  • only with new one (/dev/ttyNET0)

When I connect new dongle directly to openhab server it’s recognized properly.

What I’ve missed? Any ideas?
How this dongle is recognized by openhab? As Bluegiga ?

EDIT:
It seems problem is fixed with last snapshot version.

Hi all small Q i was not able to get it from the post…
for RPI do i need a dongle or the stock chip will do?

i am using BLE devices only…
if not what is the recomend adpter for RPI+BLE Nuts

Thanks!

Hi,

Quick question: do you have any problems with refresh beacon status on the last snapshot version?
I can’t also edit bluetooth configuration in openhab2 2.5.0~S1725-1.

Hi all,

I have tried and using this Blutetooth binding now with success.

This is my setup:
Intel mini-pc using built-in bluetooth with BlueZ 5.51 and Fedora 29 Kernel 5.2.18-100 Openhab 2.5.0 M2

267 │ Active │ 80 │ 1.2.3 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.bluegiga
268 │ Active │ 80 │ 1.1.3 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.tinyb
269 │ Active │ 80 │ 1.1.6 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth

EDIT:
±–
Have added another BT adapter via usbip (Cambridge Silicon Radio, Ltd Bluetooth Dongle). USB via ip works like a charm! Going to add some more on in other areas to extend the bluetooth range. This seriously improves the presence detection with the iTag dongles or even the smartband watches.

The builtin BT adapter is a broadcom 43455 (serial/UART based).
±–

I bought a couple of Elistooop dongles and they work as desribed here: https://github.com/sputnikdev/eclipse-smarthome-bluetooth-binding/blob/master/tags.md

Also I tried my bluetooth smartband ID115HR and I can use that as a BLE presence device or indoor tracking as well. No other information (beside the default RSSI, distance etc.) is gathered, like time or my hart rate :heartbeat: HAHA :joy:, at least I don’t see or know how to check and enable that.

I have one question though, how can I stop the Openhab inbox from being filled with discovered devices? I know I can disable the “Discovery control” for the adapter, but that would stop the presence detection and all other functions as well, right?

Thanks!

BTW, I assume all other comparable (BLE) bluetooth smartbands/watches, like the ID115 would work as a presence sensor. That’s quite nice!
image
Smartband ID115HR

Found the answer, in the bluetooth binding disable this:

Nice, no more cluttered inbox :ok_hand:t3:

Hi,

Can anyone or you @vkolotov confirm my doubts with last openhab2 snapshot version ?
Are you able to edit bluetooth configuration and check if beacons change their state?
When I’m editig a binding I’m getting 500 - internal server error.

Just to let you know, I used your Binding to implement Presence Detection using MyFox/Somfy Protect KeyFobs.
I have a Somfy Protect alarm at home and the remotes it uses are BT Beacon devices. So i just added them to OpenHab2.

Thank you @vkolotov !

1 Like

Hello. I currently have a raspberry pi 3 running openhabian, on WiFi and use the onboard Bluetooth module.
After a few hours, the onboard Bluetooth module seems to be crash.
I don’t know where to start looking for a fault. I have done a lot of googling, and got nowhere.
A point in the right direction, would be much appreciated!

HI Vlad,

i have found a problem on OH 2,4
I have installed bilding testet a little bit - everything went like a charm!
But after i cleaned the cache and restarted - i have found no one of this bindings http://prntscr.com/poohd4 and need to install the again.
As i installed them, erevithing came up.

PS
And one more. After i installed this binding i can not get in Orange Paper UI, only Blue one appear http://prntscr.com/poptpc and only if i go direct to it link. In Startscreen there is not paper ui http://prntscr.com/poptwz

Hi,

Regarding installation - you probably install binding from market (there is “market:” before binding version in Add-ons place). It’s temporary installed - when you clean tmp/cache it’s removed and need to install again - as you said configuration stay.
Problem with Paper UI - please try to ask in https://community.openhab.org/c/setup-configuration-and-use/beginners

I have actually issues with the connection (Thing Offline), that means I do not get any values for fertility and soil moisture, but RRSI and Temp are reported properly:

2019-10-30 19:29:14.044 [vent.ItemStateChangedEvent] - FlCare_RSSI changed from -45 to -46
2019-10-30 19:29:25.075 [vent.ItemStateChangedEvent] - FlCare_Temp changed from 18.5 to 18.7

FlowerCare lies right next to the raspberry with Bluetooth and I recently got a connection at a distance of about 1,5 m (but not stable either).

Shouldn’t -48 be good enough for a proper connection?

I am using your bluetooth binding and TinyB

Restarting one or both of the bindings does not help:

2019-10-30 19:37:20.519 [hingStatusInfoChangedEvent] - 'bluetooth:ble:C47C8D6AEC1D' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2019-10-30 19:37:20.595 [hingStatusInfoChangedEvent] - 'bluetooth:ble:C47C8D6AEC1D' changed from INITIALIZING to ONLINE
2019-10-30 19:37:20.605 [hingStatusInfoChangedEvent] - 'bluetooth:ble:C47C8D6AEC1D' changed from ONLINE to OFFLINE

But on the command line it looks ok to me:

[19:39:20] openhabian@Homer:~$ bluetoothctl
[NEW] Controller B8:27:EB:95:69:94 BlueZ 5.47 [default]
[NEW] Device C4:7C:8D:6A:EC:1D Flower care

EDIT:
According to bluetoothctl the FLowerCare was not connected:
So I connected it with bluetoothctl, and restarted the two bindings above.
Still no change.

EDIT II:
Even after connecting with bluetoothctl it just takes a few seconds and it’s disconnected again.

What am I doing wrong?

EDIT III:
After changing “Initial connection control” to ON it seems to be better.
(I thought that I have read somewhere that this supposed to be OFF)

EDIT IV:
bluetoothctl says:
Failed to pair: org.bluez.Error.AuthenticationFailed
Info xx:xx:xx:xx:xx… brings up:

 Name: Flower care
        Alias: Flower care
        Paired: no
        Trusted: no
        Blocked: no
        Connected: no
        LegacyPairing: no

I am lost and don’t know what’s wrong.
I also restarted the bluetooth service:
sudo systemctl restart bluetooth

Hi to all.
Has someone problems with the binding after updateing to Milestone M4?
The RSSI values are running much faster and the online switch doesn’t work. Installed in raspberrypi3+ and under ubuntu16.04. The same problem.
Thanks and greetings,
Markus

Yes, also problems here with 2.5 M4 Milestone. The channels for location and last-updated do not work anymore (remain with initial values).
@vkolotov : Could you please have a look at this?

When I downgrade back to 2.5 M3 everything works fine again (with the same version of the binding, so it seems to be related to some changes in OH core?). I am using the follwing versions:

263 │ Active  │  80 │ 1.1.6                 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth
264 │ Active  │  80 │ 1.2.3                 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.bluegiga