Hey ,
Finally took the plunge and started playing around with custom scripts on my Aqara M2 hub — and wow, it’s a whole new level. Thought I’d share and see what else is doing in this area.
So I’m more of a tinkerer than a hardcore dev, but after some trial and error, I’ve now got my M2 triggering different lights and sensors based on the time of day, presence, and even indoor air quality (thanks to a little integration magic with Home Assistant). Way more flexible than sticking to basic automations in the app.
One fun use case: I set up a script that dims the lights, closes the curtains, and plays my chill playlist on HomePod when the PM2.5 levels climb too high. Just feels futuristic every time it kicks in.
Would love to know if anyone else is writing custom scripts for their Aqara setups. What are you automating? Any cool tricks or pain points you’ve run into?
Let’s trade ideas — there’s so much untapped power here that I feel most people are sleeping on.
Cheers!