Hello everyone, I’ve been diving into the world of Zigbee devices and automation lately, and I wanted to share my experiences and some questions I’ve come across.
First, I recently set up a Zigbee network using the Sonoff 3.0 key and integrated some Xiaomi Mija sensors. It’s been a fascinating journey, but I’ve encountered some quirks. For instance, one of my sensors occasionally shows as ‘not available.’ I’ve tried restarting my Home Assistant instance and checking the sensor statuses, but the issue persists. Does anyone have insights into why this might be happening or how to troubleshoot it further?
On the automation front, I’m experimenting with creating rules to control my Sonos player and Hue lights. My goal is to have the Hue lights turn red when the Sonos starts playing music, especially at night. I’ve written a basic rule, but I’m struggling with the syntax and execution. Here’s what I have so far:
plaintext
rule “Music Detection”
when
Item Sonos_Player changed to PLAY
then
sendCommand(Hue_Light, ON)
sendCommand(Hue_Light_Color, “100,0,0”)
end
I’m getting some parsing errors, and I’m not sure if I’m using the right commands. Any advice or tips from more experienced users would be greatly appreciated!
Another thing I’m curious about is integrating Aqara wired switches into my setup. I’ve noticed that the JSON data from Zigbee2mqtt is a bit different compared to wireless switches. Specifically, I’m not sure how to map the left and right button presses to trigger different actions. I’ve considered using a JavaScript transformation, but I’m not entirely sure how to implement it. Has anyone tackled this before and can offer some guidance?
Overall, I’m really enjoying the process of learning and experimenting with these devices. It’s been a great way to enhance my home’s functionality while also sharpening my automation skills. I look forward to hearing from the community and learning from your experiences!