Hi @druciak, quite possibly it can work in the new release. There will be some significant stability fixes. I’ve also improved logging so at least we will be able to troubleshoot.
Great work! Out of curiosity, will the miflora sensors give you the information of the device i.e. moisture level? Also, it picked up my mi-scale and returns all the fields like bluetooth:ble:C80F10A97462:181D-2A9D-weightsi, bluetooth:ble:C80F10A97462:181D-2A9D-weightimperial, bluetooth:ble:C80F10A97462:181D-2A9D-month and bluetooth:ble:C80F10A97462:181D-2A9D-heightimperial, but unfortunately doesn’t returns any numbers. Is this something that’s on your radar or easy to fix on my end?
Hi @Celaeno1, that one is the official binding created by @Kai not long time ago. The reason why my binding has not become official one is here: https://github.com/eclipse/smarthome/pull/4112. In short: I did not want to merge Bluetooth Manager into Eclipse SmartHome codebase in order to make it available to use for other opensource projects.
Hi @Pim_Verschueren, that’s great that you could see those channels. Please wait the upcoming release that is supposed to improve stability and fix some bugs that maybe prevent seeing readings for those characteristics.
Just to avoid confusion here as much as possible, I have added “3rd Party” in the title to make clear that this thread is not about the Bluetooth binding that is contained in the distro.
As I pointed earlier, your binding has the same identifier. People will confuse them. Or even worse, the bindings might not be able to work together nicely…
Also, I see that you have added some documentation here: https://docs.openhab.org/addons/bindings/bluetooth/readme.html
Would you be able to add documentation for my binding as well?
As far as I’m aware the documentation is generated from the README.md files submitted as part of the binding so you would need to submit your binding to the repo.
I’m pleased to announce that v1.1 of the binding is available for testing. You will need to uninstall the binding via Eclipse MarketPlace and install it again (autoupdate is not working in MarketPlace). Current version is v1.1.
The following changes are included in the release:
The ultimate goal: provide a comprehensive and integrated environment for building custom bluetooth devices (sensors) based on the Bluetooth binding, cheap $2 bluetooth board (nrf51822) and Mbed OS. This should bring an easy way to build your own wireless sensors for a very affordable price.
Please let me know how it goes. Any feedback will be appreciated.
Hi All, it’s strange, but Eclipse MarketPlace has not been updated with 1.1 version. It probably requires some time to get the update through… So please wait a bit.
Hi @druciak, I’ve added “units” support in the binding in the latest release. The screenshot shows no units, e.g. °C for temperature and % for humidity. You are probably still running the old version of the binding OR you have some custom GATT specs (XML files) configured in your OH. Could you please double check:
Login in the karaf console and check what version your are running:
openhab> bundle:list | grep bluetooth
217 │ Active │ 80 │ 1.1.0 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.bluegiga
218 │ Active │ 80 │ 1.1.0 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth
219 │ Active │ 80 │ 1.1.0 │ org.sputnikdev:org.eclipse.smarthome.binding.bluetooth.transport.tinyb
openhab>
You should see 1.1.0 for each component.
Remove custom GATT spec files that you may had to add before or configure the binding to use a different folder.