pvvx / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometers and Telink Flasher
https://github.com/pvvx/pvvx.github.io/tree/master/ATC_MiThermometer
Other
2.9k stars 202 forks source link

Question: Why zigbee? #437

Closed hapklaar closed 9 months ago

hapklaar commented 9 months ago

My HASS supports both BLE and Zigbee. Is there any reason to convert a LYWSD03MMC to Zigbee firmware? I read it consumes a bit more energy and was not able to discover any upsides.

Who can educate me?

pvvx commented 9 months ago

There is no point in switching to Zigbee. This is a dying protocol.

  1. BLE in version BT4.2 has a communication range with a conventional adapter of about 50..70 meters in a straight line.
  2. Zigbee option, if the coordinator uses a new modern chip - 200..300 meters in a straight line.
  3. BLE in the LE Long Range version has a communication range of 500 meters in a straight line with a conventional adapter.

"LE Long Range" can be enabled in any provided firmware.

If something happens to the coordinator, the Zigbee network will fail. The devices begin to search for the missing coordinator and consume a lot of energy.

hapklaar commented 9 months ago

Thank you, I thought as much.

About the Long Range mode for BLE. Do I need a special adapter for that or will any Bluetooth 5.x adapter do? I'm a bit hesitant to test this as I read some stories about people not being able to connect anymore.

pvvx commented 9 months ago

Button thermometers switch to "legacy" mode for connection at the touch of a button. Tested USB-BT adapter ($2..3) - all with RTL8761BU chips.