ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
305 stars 191 forks source link

Xiaomi LYWSD03MMC Zigbee Tempsensor - please add #2120

Closed MaZchen closed 2 months ago

MaZchen commented 2 months ago

I followed the instructions in issue https://github.com/ioBroker/ioBroker.zigbee/issues/1929

After flashing and pairing it got identified as LYWSD03MMC-z with the error message explained at the bottom of issue #1929.

I followed then @xtraxion explanations (creating a file "lywsd03mmc.js"). After restarting the instance it threw an error "the code does not run: TypeError: batteryPercentage is not a function"

I then removed all instances of "batteryPercentage" in the file, restarted the instance and the error was gone.

After re-pairing the sensor got identified correctly! (w/o battery status of course)

Still, it would be easier if the adapter could support the device natively. PLEASE.

Adapter v1.10.3 Conbee 2

image

MaZchen commented 2 months ago

Seems, I got the wrong firmware.

With the steps described here "https://github.com/devbis/z03mmc/?tab=readme-ov-file" it works without any fiddling.