custom-components / ble_monitor

BLE monitor for passive BLE sensors
https://community.home-assistant.io/t/passive-ble-monitor-integration/
MIT License
1.9k stars 246 forks source link

[Enhancement] Support MMC-T201-1 Xiaomi Miaomiaoce Zenmeasure Smart Thermometer #264

Closed dmatora closed 3 years ago

dmatora commented 3 years ago

Would really love to see support for this

2021-02-07 10:51:52 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0024c16fddf9810009002005c80d640d51b6
2021-02-07 10:51:54 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -71, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0025c16fddf9810009002005c80d640d51b9
2021-02-07 10:51:57 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -71, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0026c16fddf9810009002005c80d640d51b9
2021-02-07 10:52:02 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -73, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0028c16fddf9810009002005c80d640d51b7
2021-02-07 10:52:04 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -78, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0029c16fddf9810009002005c90d640d51b2
2021-02-07 10:52:07 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db002ac16fddf9810009002005c80d640d51b6
2021-02-07 10:52:14 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -77, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db002dc16fddf9810009002005c90d640d51b3
2021-02-07 10:52:17 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db002ec16fddf9810009002005c90d630d51b6
2021-02-07 10:52:22 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0030c16fddf9810009002005c80d610d51b6
2021-02-07 10:52:24 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -75, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0031c16fddf9810009002005c70d600d51b5
2021-02-07 10:52:27 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -79, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0032c16fddf9810009002005c70d600d51b1
2021-02-07 10:52:32 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -78, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0034c16fddf9810009002005c70d620d51b2
2021-02-07 10:52:34 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -87, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0035c16fddf9810009002005c70d620d51a9
2021-02-07 10:52:37 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -80, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0036c16fddf9810009002005c80d620d51b0
2021-02-07 10:52:47 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -78, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003ac16fddf9810009002005c60d620d51b2
2021-02-07 10:52:49 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -87, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003bc16fddf9810009002005c60d620d51a9
2021-02-07 10:52:52 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -78, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003cc16fddf9810009002005c60d610d51b2
2021-02-07 10:52:54 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003dc16fddf9810009002005c60d600d51b6
2021-02-07 10:52:57 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -76, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003ec16fddf9810009002005c60d600d51b4
2021-02-07 10:52:59 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -79, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db003fc16fddf9810009002005c60d5f0d51b1
2021-02-07 10:53:02 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -77, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0040c16fddf9810009002005c60d5f0d51b3
2021-02-07 10:53:04 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -81, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0041c16fddf9810009002005c60d5f0d51af
2021-02-07 10:53:07 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -87, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0042c16fddf9810009002005c60d5f0d51a9
2021-02-07 10:53:12 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -83, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0044c16fddf9810009002005c60d5f0d51ad
2021-02-07 10:53:27 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -75, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db004ac16fddf9810009002005c60d600d51b5
2021-02-07 10:53:29 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -79, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db004bc16fddf9810009002005c60d600d51b1
2021-02-07 10:53:34 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -76, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db004dc16fddf9810009002005c60d600d51b4
2021-02-07 10:53:37 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db004ec16fddf9810009002005c60d610d51b6
2021-02-07 10:53:39 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -80, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db004fc16fddf9810009002005c60d610d51b0
2021-02-07 10:53:47 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -75, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0052c16fddf9810009002005c60d600d51b5
2021-02-07 10:53:49 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -80, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0053c16fddf9810009002005c60d5f0d51b0
2021-02-07 10:53:52 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -70, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0054c16fddf9810009002005c60d600d51ba
2021-02-07 10:53:54 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -72, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0055c16fddf9810009002005c60d610d51b8
2021-02-07 10:54:04 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -81, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0059c16fddf9810009002005c60d600d51af
2021-02-07 10:54:07 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db005ac16fddf9810009002005c60d600d51b6
2021-02-07 10:54:09 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -76, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db005bc16fddf9810009002005c60d610d51b4
2021-02-07 10:54:12 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -73, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db005cc16fddf9810009002005c60d620d51b7
2021-02-07 10:54:14 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -78, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db005dc16fddf9810009002005c60d630d51b2
2021-02-07 10:54:19 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -70, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db005fc16fddf9810009002005c50d630d51ba
2021-02-07 10:54:22 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -72, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0060c16fddf9810009002005c50d620d51b8
2021-02-07 10:54:27 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0062c16fddf9810009002005c40d620d51b6
2021-02-07 10:54:39 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -70, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0067c16fddf9810009002005c50d620d51ba
2021-02-07 10:54:44 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -73, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0069c16fddf9810009002005c40d630d51b7
2021-02-07 10:54:47 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -72, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db006ac16fddf9810009002005c50d630d51b8
2021-02-07 10:54:49 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -73, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db006bc16fddf9810009002005c50d630d51b7
2021-02-07 10:54:54 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -74, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db006dc16fddf9810009002005c60d630d51b6
2021-02-07 10:54:59 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -79, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db006fc16fddf9810009002005c60d630d51b1
2021-02-07 10:55:04 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -83, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0071c16fddf9810009002005c50d630d51ad
2021-02-07 10:55:07 INFO (Thread-3) [custom_components.ble_monitor] BLE ADV from UNKNOWN: RSSI: -75, MAC: 0081F9DD6FC1, ADV: 043e2b02010000c16fddf981001f02010603020918171695fe7022db0072c16fddf9810009002005c40d620d51b5
vasil-github commented 3 years ago
  1. Yes the device works with MiHome app and Zen Measure app. PS. When we tested in OMG forum, the device transmits data very very often when connected/reading the temperature with ZenMeasure app. When device is not "read" by phone it does send data less frequently.
  2. Yes I did try to sleep/awaike the device by punting it in and out of the case. I own this device from 4 years and even changed the battery,
  3. HASS, HACS, BLE module up to the latest version at the time.. Phyton 3,9 with virtual environment installation.
  4. Sorry but I did not get/understand the statement.
dmatora commented 3 years ago

@vasil-github I was referring to FAQ of this component

Ernst79 commented 3 years ago

He was referring to this part of the faq. But it’s better to use this command to collect some data.

sudo hcidump --raw hci > dump.txt

Keep it running for a few minutes, and post the generated file here. I will check the data to see if I can find out why it doesn’t work for you

dmatora commented 3 years ago

I've been keeping an eye for a few days on values I'm getting and so far I was unable to spot major (more than 0.15) difference between ZenMeasure app, Home Assistance, and regular thermometer (wearing ZenMeasure above temple seems to provide best accuracy). In many (if not most) cases there were nearly no difference at all.

telegram-cloud-photo-size-2-5287761090144482065-y

@Ernst79 thank you again for integrating this and great job on the math!

Ernst79 commented 3 years ago

Ok, thanks. I'll close the issue than. Feel free to open again if you have new data or a modification is needed. I'll keep the calculation files.