Xiaomi Mijia BLE Temperature Sensor No Longer Reporting

Hi, I have an issue that has suddenly came about and I’m not sure what else to try to fix it.

I have two flashed, have been working fine for months and now suddenly one of them just won’t report. I’ve changed nothing so I’m not sure what has caused it.

I have tried to get it working again but with no success, I can see in the logs the following but nothing ever reports and yes the temperature has been changing loads so it should be reporting…

[13:38:23][D][esp32_ble_tracker:719]: Found device A4:C1:38:23:06:B5 RSSI=-88
[13:38:23][D][esp32_ble_tracker:740]:   Address Type: PUBLIC
[13:38:23][D][esp32_ble_tracker:742]:   Name: 'ATC_2306B5'

The one that is working I see this, but not for the one that’s not;

[13:33:20][D][xiaomi_ble:313]: Got Xiaomi LYWSD03MMC (A4:C1:38:07:93:10):
[13:33:20][D][xiaomi_ble:316]:   Temperature: 20.5°C
[13:33:20][D][xiaomi_ble:319]:   Humidity: 38.0%
[13:33:20][D][sensor:113]: 'Hall Temperature': Sending state 20.50000 °C with 1 decimals of accuracy
[13:33:20][D][sensor:113]: 'Hall Humidity': Sending state 38.00000 % with 0 decimals of accuracy

Here is my yaml (unchanged from when it was working, blanked out passwords etc with #)

esphome:
  name: home
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: myssid
  password: #####
  manual_ip:
    static_ip: 192.168.0.90
    gateway: 192.168.0.1
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Home Fallback Hotspot"
    password: "#####"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  # password: "#####"

ota:
  # password: "#####"

esp32_ble_tracker:

sensor:
  - platform: xiaomi_lywsd03mmc
    mac_address: A4:C1:38:23:06:B5
    bindkey: "05e04076be48f427f3d90e166d0fbd5e"
    temperature:
      name: "Bedroom Temperature"
    humidity:
      name: "Bedroom Humidity"
    battery_level:
      name: "Bedroom Battery Level"
  - platform: xiaomi_lywsd03mmc
    mac_address: A4:C1:38:07:93:10
    bindkey: "05e04076be48f427f3d90e166d0fbd5e"
    temperature:
      name: "Hall Temperature"
    humidity:
      name: "Hall Humidity"
    battery_level:
      name: "Hall Battery Level"

The one that’s not working is the “Bedroom” one. Any help would be great, thanks!

One have original firmware, other ATC firmware

For ATC you dont need bindkey
For the other bindkey may have changed

Anyway for ATC

  - platform: atc_mithermometer
    mac_address: A4:C1:38:xxx
    temperature:
      name: "MMC E3 Temp"
    humidity:
      name: "MMC E3 Hum"
    battery_level:
      name: "MMC E3 Batt"

Both of them were flashed and have been working like this for months, what’s changed that means I’ve got to change it all?

https://atc1441.github.io/TelinkFlasher.html

I’ve done this before and it was working. I’ve tried it again not but still with no luck.

I have the same problem. After updating to esphome 2021.11.4, values from the BLE-Tracker won’t be forwarded to HA. My second Gateway with esphome 1.18. is still working without any problems.

1 Like

Same here. Did you managed to solve it? Any suggestions?
Thanks!

I am also having this same issue. Have 12 units which have slowly been dropping off and not returning.