Open MonStar1 opened 2 years ago
I have two different devices, and they have the same behavior.
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] onDiscover peripheral: {"id":"582d343622d0","address":"58:2d:34:36:22:d0","addressType":"public","connectable":true,"advertisement":{"serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,32,170,1,78,208,34,54,52,45,88,13,16,4,3,1,173,1]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-59,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Discovered peripheral
Id: 582d343622d0
LocalName: undefined
rssi: -59
serviceData: 5020aa014ed02236342d580d10040301ad01
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Temperature: 25.9C
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Humidity: 42.9%
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] onDiscover peripheral: {"id":"582d343622d0","address":"58:2d:34:36:22:d0","addressType":"public","connectable":true,"advertisement":{"localName":"MJ_HT_V1","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,32,170,1,78,208,34,54,52,45,88,13,16,4,3,1,173,1]}},{"uuid":"ffff","data":{"type":"Buffer","data":[244,222,48,78,68,142]}}],"serviceUuids":["180f","180a"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-60,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Discovered peripheral
Id: 582d343622d0
LocalName: MJ_HT_V1
rssi: -60
serviceData: 5020aa014ed02236342d580d10040301ad01
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Temperature: 25.9C
[1/14/2022, 10:08:27 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Humidity: 42.9%
[1/14/2022, 10:08:31 PM] [Температура и Влажность в Зале] onDiscover peripheral: {"id":"582d343622d0","address":"58:2d:34:36:22:d0","addressType":"public","connectable":true,"advertisement":{"localName":"MJ_HT_V1","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,32,170,1,80,208,34,54,52,45,88,13,16,4,3,1,173,1]}},{"uuid":"ffff","data":{"type":"Buffer","data":[244,222,48,78,68,142]}}],"serviceUuids":["180f","180a"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-71,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:08:31 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Discovered peripheral
Id: 582d343622d0
LocalName: MJ_HT_V1
rssi: -71
serviceData: 5020aa0150d02236342d580d10040301ad01
[1/14/2022, 10:08:31 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Temperature: 25.9C
[1/14/2022, 10:08:31 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Humidity: 42.9%
[1/14/2022, 10:08:55 PM] [Температура и Влажность в Зале] onDiscover peripheral: {"id":"582d343622d0","address":"58:2d:34:36:22:d0","addressType":"public","connectable":true,"advertisement":{"localName":"MJ_HT_V1","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,32,170,1,92,208,34,54,52,45,88,4,16,2,4,1]}},{"uuid":"ffff","data":{"type":"Buffer","data":[244,222,48,78,68,142]}}],"serviceUuids":["180f","180a"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-72,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:08:55 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Discovered peripheral
Id: 582d343622d0
LocalName: MJ_HT_V1
rssi: -72
serviceData: 5020aa015cd02236342d580410020401
[1/14/2022, 10:18:05 PM] [Температура и Влажность в Зале] onDiscover peripheral: {"id":"582d343622d0","address":"58:2d:34:36:22:d0","addressType":"public","connectable":true,"advertisement":{"localName":"MJ_HT_V1","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,32,170,1,108,208,34,54,52,45,88,13,16,4,3,1,176,1]}},{"uuid":"ffff","data":{"type":"Buffer","data":[244,222,48,78,68,142]}}],"serviceUuids":["180f","180a"],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-60,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:18:05 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Discovered peripheral
Id: 582d343622d0
LocalName: MJ_HT_V1
rssi: -60
serviceData: 5020aa016cd02236342d580d10040301b001
[1/14/2022, 10:18:05 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Temperature: 25.9C
[1/14/2022, 10:18:05 PM] [Температура и Влажность в Зале] [58:2d:34:36:22:d0] Humidity: 43.2%
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Зале] [582d343622d0] Timed out, last update: 2022-01-14T19:18:05.234Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Зале] [582d343622d0] Timed out, last update: 2022-01-14T19:18:05.234Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Зале] [582d343622d0] Timed out, last update: 2022-01-14T19:18:05.234Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Зале] [582d343622d0] Timed out, last update: 2022-01-14T19:18:05.234Z
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] onDiscover peripheral: {"id":"a4c138fbdf0a","address":"a4:c1:38:fb:df:0a","addressType":"public","connectable":true,"advertisement":{"serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,48,91,5,217,10,223,251,56,193,164,13,16,4,3,1,194,1]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-71,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Discovered peripheral
Id: a4c138fbdf0a
LocalName: undefined
rssi: -71
serviceData: 50305b05d90adffb38c1a40d10040301c201
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Temperature: 25.9C
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Humidity: 45%
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] onDiscover peripheral: {"id":"a4c138fbdf0a","address":"a4:c1:38:fb:df:0a","addressType":"public","connectable":true,"advertisement":{"localName":"ATC_FBDF0A","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,48,91,5,217,10,223,251,56,193,164,13,16,4,3,1,194,1]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-72,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Discovered peripheral
Id: a4c138fbdf0a
LocalName: ATC_FBDF0A
rssi: -72
serviceData: 50305b05d90adffb38c1a40d10040301c201
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Temperature: 25.9C
[1/14/2022, 10:10:14 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Humidity: 45%
[1/14/2022, 10:17:49 PM] [Температура и Влажность в Спальне] onDiscover peripheral: {"id":"a4c138fbdf0a","address":"a4:c1:38:fb:df:0a","addressType":"public","connectable":true,"advertisement":{"localName":"ATC_FBDF0A","serviceData":[{"uuid":"fe95","data":{"type":"Buffer","data":[80,48,91,5,227,10,223,251,56,193,164,13,16,4,5,1,194,1]}}],"serviceUuids":[],"solicitationServiceUuids":[],"serviceSolicitationUuids":[]},"rssi":-74,"mtu":null,"state":"disconnected"}
[1/14/2022, 10:17:49 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Discovered peripheral
Id: a4c138fbdf0a
LocalName: ATC_FBDF0A
rssi: -74
serviceData: 50305b05e30adffb38c1a40d10040501c201
[1/14/2022, 10:17:49 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Temperature: 26.1C
[1/14/2022, 10:17:49 PM] [Температура и Влажность в Спальне] [a4:c1:38:fb:df:0a] Humidity: 45%
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Спальне] [a4c138fbdf0a] Timed out, last update: 2022-01-14T19:17:49.488Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Спальне] [a4c138fbdf0a] Timed out, last update: 2022-01-14T19:17:49.488Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Спальне] [a4c138fbdf0a] Timed out, last update: 2022-01-14T19:17:49.488Z
[1/14/2022, 10:20:01 PM] [Температура и Влажность в Спальне] [a4c138fbdf0a] Timed out, last update: 2022-01-14T19:17:49.488Z
I am also seeing the timeout issue, I have tried to check the temp and humidity from Xiaomi Home app and it's showing correctly, however it's unable to be pulled to Homebridge
did somebody find a workaround/fix?
Hi,
I have the same problem. I have 5 LYWSD03MMC and after some minutes/hours they are going to timeout one after each other.
I have no idea why.
If I disable/enable "Homebridge Mi Hygrothermograph" it does nothing more. If I restart "HomeBridge" (via the button on the WEB UI), it works again.
They bot are up-to-date.
I have no idea where to look. If you have some tips or things to do to debug that, I'll be happy to do it :)
I see data updating each 5-10 seconds. After some random time of work the homebridge stops to get updates. Last obtained peripheral has different format of data, it has LocalName: MJ_HT_V1 instead of LocalName: undefined. I've analized full peripheral data. The last one event has many differences.
Steps to Reproduce (for bugs)
Versions
1.3.9
homebridge-mi-hygrothermograph@3.1.0
v16.13.2
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian
Configuration
Homebridge Log / Command Output