Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XIAOMI Temp and humidity not discovered #85

Open
robygi opened this issue Jun 16, 2019 · 0 comments
Open

XIAOMI Temp and humidity not discovered #85

robygi opened this issue Jun 16, 2019 · 0 comments

Comments

@robygi
Copy link

robygi commented Jun 16, 2019

Hello to everybody,
I' running openHAB 2.4.0 and I'm not able to discover my XIAOMI Temperature and Humidity sensor in openHAB.
I installed the bluetooth-binding following the instructions, but when I try to discover the device in PaperUI it is not discovered.
I got other devices, but not the XIAOMI.

My bluetooth is working:

pi@mypi:~ $ sudo hciconfig -a
hci0:   Type: Primary  Bus: UART
        BD Address: fa:ke:ad:dr:es:01  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:11561 acl:0 sco:0 events:538 errors:0
        TX bytes:6737 acl:0 sco:0 commands:251 errors:0
        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'mypi'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Version: 4.1 (0x7)  Revision: 0x168
        LMP Version: 4.1 (0x7)  Subversion: 0x2209
        Manufacturer: Broadcom Corporation (15)

Moreover my raspberry get the XIAOMI device:

pi@mypi:~ $ bluetoothctl
[NEW] Controller fa:ke:ad:dr:es:01 mypi [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller fa:ke:ad:dr:es:01 Discovering: yes
[NEW] Device fa:ke:ad:dr:es:02 MJ_HT_V1
[CHG] Device fa:ke:ad:dr:es:02 ServiceData Key: ------removed-------

I can use gatttool to get notifications from the device.

When we come to openHAB the XIAOMI is not discovered.

What am I doing in the wrong way?
TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant