Exploring Zigbee Integration and MQTT Message Handling

I’ve been diving into the world of Zigbee devices lately, and I must say, it’s been quite an adventure! :rocket: As someone who loves tinkering with smart home setups, I’ve been trying to get a better grasp on how Zigbee devices interact with my ecosystem. One thing that’s been on my mind is understanding the endpoints and clusters supported by each device. I assumed this information is gathered during the initial pairing, but I’m not entirely sure if it’s stored or accessible later on. Does anyone know how to retrieve the number of endpoints in a device or the profile and clusters on each endpoint? :thinking:

I’m working on developing some generic, device-independent Zigbee libraries, and I’d love to avoid hard-coding this information. Ideally, the driver would query this data dynamically for each device. If the platform already stores this info, that would be fantastic! Any insights or tips would be greatly appreciated. :blush:

On a different note, I’ve also been dealing with some MQTT message handling issues. It’s frustrating when certain messages aren’t picked up by my OpenHAB setup, even though they’re confirmed to be sent. Restarting the MQTT broker doesn’t seem to help, but restarting OpenHAB usually does the trick. I’m curious if others have encountered similar problems or have any strategies to diagnose this further. :face_with_monocle:

Overall, it’s been a mix of challenges and learning opportunities. I’m excited to keep exploring and hopefully find some solutions to these puzzling issues. If anyone has any advice or experiences to share, I’d love to hear them! Thanks for being such a supportive community. :blue_heart: