Hi all, I’m really excited about diving into the world of smart home automation and wanted to share some experiences and questions I’ve had recently. I’ve been working on setting up MQTT automation in my Home Assistant setup, but I’m running into a bit of a snag. Specifically, when I include a payload in my automation.yaml file, the automation doesn’t trigger as expected. Without the payload, it works perfectly, but I really need that payload for my Sonoff/Tasmoto devices. Has anyone else encountered this issue or have a workaround? I’ve included a snippet of my current setup below for reference:
yaml
id: ‘1583497473605’
alias: motion gang voor
description: ‘’
trigger:
- platform: mqtt
topic: tele/hub/RESULT
payload: “92D3B8”
condition:
action:
- device_id: 929eecf9a0df45f991bb3bd57bda9362
domain: light
entity_id: light.gang_voor
type: turn_on
I’ve also been curious about the possibility of using an ESP32 board as a light switch. I’ve heard great things about ESP32s for DIY projects, but I’m not entirely sure about the practicality of using one directly as a switch, especially without additional wiring. Would there be any issues down the line, or is this a viable option? I’d love to hear from anyone who has experience with this setup.
Another thing I’ve been thinking about is the integration of Sonos devices. I’ve noticed that the battery levels for my Sonos Move and Roam aren’t showing up in my Home Assistant interface. It would be incredibly useful to have this information readily available, especially for devices that are on the go. Has anyone found a way to add battery level support for Sonos devices? I’d be more than happy to contribute to or test any potential solutions.
I’d also love to hear about others’ experiences with MQTT automation and any tips or tricks they’ve picked up along the way. It’s such a powerful tool, and I’m sure there’s always something new to learn. Thanks in advance for any advice or insights you can share!