devbis / z03mmc

Xiaomi LYWSD03MMC Zigbee Firmware
GNU General Public License v3.0
943 stars 46 forks source link

Device showing up weird cluster endpoints on ZHA #153

Open Mr-Alicates opened 5 months ago

Mr-Alicates commented 5 months ago

Hello, I'm using the latest firmware (0x11003001) on HA 2024.5.5 with ZHA

When trying to use the attributes of the User interface cluster, I see this attributes:

image

Which do not match the description provided in the repository.

However, I've been able to successfully use them with ZHA_Toolkit.

Also the thermometers show this entities when paired, and I think there might be something wrong: image

devbis commented 5 months ago

Yeah, those parameters looks weird, but they are required for thermostat UI cluster that I'm using to change Cº/Fº. You can disable these entities freely.

gigamonster256 commented 2 months ago

I'm observing the same, no mention of the new customization attributes in the ZHA interface or diagnostic output.

I've never worked on Zigbee stuff before and it looks like here is where the device is defined for zigbee2mqtt, but I can't find any mention of the device in zigpy (what ZHA uses.) It looks like a special device handler may need to be written for the nonstandard customization attributes to work in ZHA.

gigamonster256 commented 2 months ago

Here's a ZHA quirk I wrote that fixes the issue you're seeing and exposes the display configuration attributes in the zigbee management interface: link.

You can enable it by following the Home Assistant instructions here: https://community.home-assistant.io/t/how-to-setup-local-zha-quirks/341226.

I am hoping to get it upstreamed into the main zha-device-handlers repo. (zigpy/zha-device-handlers#3329)