hannseman / homebridge-mi-hygrothermograph

Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
MIT License
266 stars 52 forks source link

LYWSD03MMC no connection #143

Closed mvoss96 closed 3 years ago

mvoss96 commented 3 years ago

I'm trying to pair a LYWSD03MMC sensor to my homebridge running on a rpi4. The sensor works flawlessly in the mihome app and i got the ble key using the cloud extractor.

my config looks like this: { "name": "Temperature & Humidity", "address": "A4:C1:38:A1:18:C7", "temperatureName": "Temperature", "humidityName": "Humidity", "fakeGatoEnabled": false, "timeout": 15, "forceDiscovering": true, "forceDiscoveringDelay": 2500, "disableBatteryLevel": false, "lowBattery": 10, "temperatureOffset": 0, "humidityOffset": 0, "accessory": "Hygrotermograph", "bindKey": "A76B571F0F81B083999B8B7C73F4EFBC" }

however, in the home bridge log, I'm only getting the following: [16/04/2021, 11:49:03] [Temperature & Humidity] Initializing Hygrotermograph accessory...

no other lines from this plugin and temperature and humidity remain at 0. Any idea what went wrong?

Thanks in advance.

mvoss96 commented 3 years ago

Ok, i was able to connect to the sensors, but only after flashing the custom firmware on them.

hannseman commented 3 years ago

Cool! Feel free to add a section about that process in a PR. I think that would help others who struggle with that device.

lukyer commented 2 years ago

@mvoss96 @hannseman 👋 do you remember which firmware/flasher did you exactly use? I'm trying to add some LYWSD03MMC sensors to my homebridge but with no luck. Other Xiaomi (rounded) sensors work OK. I have tried 3 firmwares already, with and without bindKey, several flashers but still no luck. These tools/xiaomi app can detect temperature without any problems. Thanks!