Hey everyone, I’m diving into the world of MQTT and ESP32, and I want to share my journey with you. I’ve been trying to connect my ESP32 to an MQTT broker, but I keep running into this error: Socket error on client , disconnecting. I’ve checked the logs, and it seems the connection is dropping immediately after establishing. I’m a bit puzzled here—what could be causing this issue? Is it a configuration problem on my end, or could there be something wrong with the broker setup? I remember reading that MQTT requires proper handling of client IDs and ensuring that the broker is accessible on the specified port. I’ve double-checked my network settings, and the ESP32 does have internet access. Maybe it’s a firewall issue? Or perhaps the broker isn’t configured to accept connections from my network. I’m not entirely sure. On another note, I’ve been experimenting with creating custom menu items using ESPHome’s lcd_pcf8574 component. The idea is to have a rotary encoder control a menu with various options, including some custom actions. I followed the documentation, but I’m hitting a snag with variable declaration. The example provided doesn’t work out of the box, and I’m getting an error: 'some_state' was not declared in this scope. I’m trying to figure out the best way to declare this variable so that it’s accessible within the lambda functions. Any tips or working examples would be greatly appreciated! Speaking of customizations, I’ve also been exploring the possibility of downloading QuickApp code without relying on the GUI. I’ve made some important changes to my HC3 setup, and I don’t want to lose them if I have to restore an older backup. Is there a way to retrieve the .fqa file directly via the API or some other method? I’m hoping someone here has tackled this before and can shed some light. Another challenge I’m facing is with my Zigbee network. I’ve migrated several bulbs from Philips Hue hubs to a Sonoff Zigbee Pro dongle, and now I have 48 devices connected to Home Assistant. The mesh visualization looks a bit messy, and I’m wondering if this is normal or if there’s a way to improve it. I’ve heard that the color scales can be confusing, with grey lines being harder to interpret than red ones. Should I be concerned about the current setup, or is this just the nature of a complex mesh network? On a more positive note, I’ve been absolutely thrilled with my recent purchase of Wyze curtain lights. They were on sale, and even though they weren’t the latest model, they’ve exceeded my expectations. Installing them above my TV archway was a breeze, and the effect is stunning. It’s amazing how a simple addition like this can completely transform a room’s ambiance. I can’t recommend them enough for anyone looking to add a touch of elegance to their space. As I continue to explore and integrate various devices into my smart home ecosystem, I’m learning that patience and persistence are key. Every challenge presents an opportunity to grow and understand the system better. I’m excited to see what other projects I can tackle next and how I can optimize my setup for even better performance. If anyone has insights or solutions to the issues I’ve mentioned, or if you’d like to share your own experiences with MQTT, ESP32, or Zigbee, I’d love to hear from you. Let’s keep the learning and sharing going!