Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.11k stars 1.68k forks source link

LYWSD03MMC Temperature and Humidity calibration not working #22638

Open HalyconTron opened 5 months ago

HalyconTron commented 5 months ago

What happened?

I have several Xiaomi LYWSD03MMC Temperature/Humidity sensors and whenever I try to use the exposed temperature or humidity calibration, the following error is logged:

Publish 'set' 'humidity_calibration' to 'DEVICE NAME' failed: 'Error: ZCL command 0xa4c138fd3441852b/1 msRelativeHumidity.write({"16":{"value":-331,"type":41}}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

All other exposed options appear to be able to be set successfully without issue.

What did you expect to happen?

The temperature or humidity to be calibrated on the device.

How to reproduce it (minimal and precise)

Attempt to change either "Temperature calibration" or "Humidity calibration" from the device's Exposes page.

Zigbee2MQTT version

1.37.1

Adapter firmware version

20230507

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-P

Setup

Generic x86-64 HAOS install with Z2M add-on.

Debug log

No response

stefancn commented 2 months ago

Same here, have 10's of them (LYWSD03MMC) . Raspberry pi 4 and ...

Core 2024.8.0 Supervisor 2024.08.0 Operating System 12.4 Frontend 20240806.1

Zigbee2MQTT version [1.39.1 [unknown] Coordinator type EZSP v9 Coordinator revision 7.1.1.0 build 273 Frontend version 0.7.4 zigbee-herdsman-converters version 19.72.0 zigbee-herdsman version 0.55.3

paranoiq1 commented 1 week ago

Have you resolved it? Same problem here...

Core 2024.8.0 Supervisor 2024.08.0 Operating System 12.4 Frontend 20240806.1 FW loaded: 3001-1006 Zigbee2MQTT: 1.37.1-1

stefancn commented 1 week ago

Nope, still problem ...

aletzi1 commented 1 week ago

Also same UNSUPPORTED_ATTRIBUTE issue with "show smiley" option, doesnt work.