Exploring MQTT Configuration and Device Automation

Hello fellow smart home enthusiasts! I’m reaching out to share some experiences and seek advice on optimizing MQTT configurations and device automation in my setup. I’ve been working with MQTT for a while now, and while I’ve managed to get most things working smoothly, there are a few areas where I’d love to refine my approach.

One of the challenges I’ve encountered revolves around MQTT state updates and ensuring that my system reflects the most current state of my devices. For instance, I’m using a Tasmota-flashed H801 LED light strip controller, and I’ve noticed that while the state updates via the tele/sonoff-vanity/STATE topic are reliable, they introduce a delay of a few minutes. This works well for initial setup and periodic updates, but it doesn’t provide real-time feedback when I adjust the color temperature manually outside of OpenHAB. I’ve considered monitoring the stat/sonoff-vanity/RESULT topic for immediate updates, but this approach doesn’t capture the initial state upon reboot.

Does anyone have experience with configuring MQTT things to listen to multiple topics for the same value? I’m curious if there’s a way to combine these approaches to get the best of both worlds—immediate updates when changes are made externally and reliable state capture upon reboot. Any insights or examples would be greatly appreciated!

Another area I’ve been exploring is automating my home’s lighting schedule. I’ve recently switched to smart bulbs and want to replace my old plug-in timers with a more sophisticated system. I’ve heard about the “Home and Away” settings in the Hue app but haven’t been able to locate them in my current setup. If anyone has tips on setting this up or alternative methods for scheduling lights to turn on and off at specific times, I’d love to hear about it!

Lastly, I’ve been experimenting with integrating various smart devices into my ecosystem, including motion sensors, door locks, and cameras. While most integrations have gone smoothly, I’ve encountered occasional hiccups with device connectivity and rule execution. For example, I’ve set up a rule where a motion sensor triggers a light to turn on, but occasionally the light doesn’t respond as expected. I’m wondering if others have faced similar issues and how they’ve resolved them.

I’d love to hear about your experiences, challenges, and solutions in these areas. Whether you’re a seasoned pro or just starting out, sharing knowledge always helps us improve our setups! Looking forward to your insights and tips.