I’m running into some problems getting the Mi Flora sensor connected.
The instructions (https://www.home-assistant.io/integrations/miflora/) are very basic and only tell you how to scan for the MAC address, but doesn’t give any steps to show how to pair/connect the device.
I’ve used the bluetoothctl command to scan for the device, and then attempt pairing/connecting, but i’m running into a AuthenticationCanceled error.
Here’s what i’ve done so far:
[bluetooth]# scan on
Discovery started
[CHG] Controller DC:A6:32:17:46:9D Discovering: yes
[NEW] Device C4:7C:8D:6B:8F:17 Flower care
[bluetooth]# connect C4:7C:8D:6B:8F:17
Attempting to connect to C4:7C:8D:6B:8F:17
[CHG] Device C4:7C:8D:6B:8F:17 Connected: yes
Connection successful
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 00001204-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 00001206-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 0000fe95-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 UUIDs: 0000fef5-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 ServicesResolved: yes
[Flower care]# info C4:7C:8D:6B:8F:17
Device C4:7C:8D:6B:8F:17 (public)
Name: Flower care
Alias: Flower care
Paired: no
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Telephony (00001204-0000-1000-8000-00805f9b34fb)
UUID: UPNP IP Service (00001206-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Xiaomi Inc. (0000fe95-0000-1000-8000-00805f9b34fb)
UUID: Dialog Semiconductor GmbH (0000fef5-0000-1000-8000-00805f9b34fb)
ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
ServiceData Value:
71 20 98 00 67 17 8f 6b 8d 7c c4 0d 04 10 02 ee q ..g..k.|......
00 .
RSSI: -55
[CHG] Device C4:7C:8D:6B:8F:17 ServicesResolved: no
[CHG] Device C4:7C:8D:6B:8F:17 Connected: no
[bluetooth]# pair C4:7C:8D:6B:8F:17
Attempting to pair with C4:7C:8D:6B:8F:17
[CHG] Device C4:7C:8D:6B:8F:17 Connected: yes
[CHG] Device C4:7C:8D:6B:8F:17 ServicesResolved: yes
Eventually with an info, it reports the authentication cancelled:
[Flower care]# info C4:7C:8D:6B:8F:17
Device C4:7C:8D:6B:8F:17 (public)
Name: Flower care
Alias: Flower care
Paired: no
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Generic Telephony (00001204-0000-1000-8000-00805f9b34fb)
UUID: UPNP IP Service (00001206-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Xiaomi Inc. (0000fe95-0000-1000-8000-00805f9b34fb)
UUID: Dialog Semiconductor GmbH (0000fef5-0000-1000-8000-00805f9b34fb)
ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
ServiceData Value:
71 20 98 00 6b 17 8f 6b 8d 7c c4 0d 04 10 02 ee q ..k..k.|......
00 .
RSSI: -55
[CHG] Device C4:7C:8D:6B:8F:17 ServicesResolved: no
[CHG] Device C4:7C:8D:6B:8F:17 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
[CHG] Device C4:7C:8D:6B:8F:17 ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
[CHG] Device C4:7C:8D:6B:8F:17 ServiceData Value:
71 20 98 00 6e 17 8f 6b 8d 7c c4 0d 09 10 02 00 q ..n..k.|......
00
Is there anything i’m doing wrong here?
TIA.