Hi,
I have three Xiaomi Temperature Sensors zhaquirks.xiaomi.mija.sensor_ht.Weather. However, two of them keep having problems while (re)adding them to HA. I read they are a little complicated - but how in general to handle connection / interview problems? I was never able to see a log of whats happening / going wrong.
I attached a screenshot where it is failing.
Thanks very much! This cleared already a lot for me.
One question stays open: How to get a good-to-understand output log while trying to pair a new device?
Setup of debug logging is one thing → https://www.home-assistant.io/integrations/zha#debug-logging (generally you just enable debug-logging that then try to reproduce the problem before saving/collecting the debug logs which can then be analyzed).
But reading debug logs is a different thing that is not covered in ZHA integration documentation because it is written for end-users and not developers, as such it only has information on how to report an issue once you collected the logs → https://www.home-assistant.io/integrations/zha#reporting-issues
Note that best practices regarding avoiding EMF/EMI/RMI interference and making sure that enough good Zigbee Router devices should be done before reporting an issue so not to spam the developers with problems that could be avoided by following the best practices.
PS: Remember that Home Assistant is a free and open-source project that is primarily being developed and supported by volunteers as a hobby in their spare time (which is why following best practices before reporting issues is respecting their time and effort, as they could instead be spending time developing new features and functions or improving the code in other ways).
Thanks @Hedda . Be sure I don’t want to spam developers, just to understand Zigbee and the HA implementation better to debug it, as me myself are a developer
@DeckardCain2014 If you are a developer yourself who are interested in contributing to the development of ZHA component and its dependencies then you are probably better off asking about debugging tips directly from the lead ZHA developers (e.i. puddly,dmulcahey, Adminiuga, and TheJulianJES) on Home Assistant’s Discord Chat Server + post new questions to the zigpy project discussions → https://github.com/zigpy/zigpy/discussions (by the way, would be great if you consider posting a summary guide about basic ZHA debugging as is something many others have also asked for as missing from both ZHA integration documentation and the readme for ZHA Device Handlers ). …anyway, they practically never post here in this Home Assistant community forum