My automations with aqara products but in home assistant

First off I should point out these are through home assistant, every room has a std aqara motion, door and window sensors, except the kitchen and living room which are run by fp2.

1st and my most simplist one is the blinds go down auto at sunset, the not so simple is the going up after sunrise with various conditions for each room.

second, which I like a lot because I live in a dark street (street lights go off at certian time). if numberplater reconiser sees my car reg pull on to the drive (which is its own zone via frigate) and no motion has been detected in the house then the driveway light turns on, then when I open the street door the porch and living room lights come on.

Third automation is another simple one on stairs, you trip the sensor at the bottom and the light strip in the skirting chases up the stairs to become solid, then reversed down.

Forth is auto lights wind down, from 8 pm any light turned on or on will only be at 65% and over the next 30 mins will transition to 60% and then so on until it reaches 11pm. this does trick the brain to be tired.

the 5th one is simplistic when down stairs tv is turned off and time is past 10:30pm, turn on the bed cob strip and turn of the hue sync box, check all window sensors are closed and yale door lock is closed. if not flash under counter lights in kitchen red.

6th if door or window sensors are opened when alarm is on sound the alarm and flash all compatible lights red, speakers full volume stating pictures taken and police have been phoned.

if shed door gets opened and no one is home sound alarm.

7th, I used a template to give a sensor that gives me wather were ever a device tracker is. (example: car, phones, parents house etc)

8 kitchen under counter lights only turn on depending on what side your on (using fp2) if you go in there and start chopping under the work top a vibration sensor is stuck this detects the chopping and turns up the brightness of that strip to 100%.

9 wall tablet (android 10") shows custom dashboard and will auto dim down at night, its also connected via a light switch behind with a zigbee in wall switch, which when tablet is at 20% turns power back to the tablet, then when tablet is 80% turns power off to the tablet.

10 my son has a dum infa red controlled moon, this moon makes you press a button to get the desired moon phaze so I counted each press, then used a aqara opple in his room, when he presses the button it checks the moon phaze outside and then presses the button via ir blaster how ever many times it need to to get to the correct moon phaze outside.

ill add more soon this is only about 10 of 40 to 50…

1 Like

Wow, your home is basically a sci-fi movie set with all these automations! I’m giving you a virtual high-five for the creativity :scream_cat:

1 Like

I have not finished listing them all

  1. Probably was the hardest to set up as it needed some code on amazon developer account and requires alexa as well as 2 automations for each light in home assistant (alexa actionable notifications) basically once setup in amazon developer account, I can create a sequance of events so for example bathroom, toilet and sons bedrrom and ours has them as well as car and charger and heating.

So for lights its a simple, if no motion has been detected and light is on Alexa announces, the bathroom (or which ever room) light is still on would you like me to turn it off. you can reply yes or no (yes will turn it on and no will leave it on) its the same for ever room light its attached too, but the bathroom has a condition attaced to it of only if humidity is bellow a certian level dont ask (to cover the shower glass being steamed up and no movement detectected would be a given as motion detector wont see through steamed glass).

The charger one is my charger has a approval button when you plug it in before it activates on app, there is a integration for this and it enables me to get alexa to ask, The car has been plugged in, do you want to approve the charge, response is yes to approve it and obviously no if your away or something.

Also if temp in house drops bellow 16c alexa will ask, Hey I notice the temprature has dropped bellow 16c would you like to turn the heating on for a 1 hour or 2 hour boost, response 1 hour boost heating for 1 hour, response 2 hour boosts heating for 2 hours.

12 securing if a person is detected in garden and back door is not open (camera detecting a person) and presance detected in living room, browser pop up garden camera feed on wall mounted tablet.

13 all heating has a switch attached to it so in winter only a 10 minute burst will happen if we are away every 5 hours (to ensure no pipe freezing) but this switch also stops the smart heating auto cutting in which is a waste.

14 holiday lights, front light colour based on holidays when door bell is pressed, all weather stirng and driveway light goes christmas colors at christmas and flickering orange at halloween, I am also in the middle of creating a acrylic number sign for the front (door number) with addressible leds.

15 After a power cut, not every think can be perfect, so I have a setup related to the network connection via a few custom templates that on system boot it checks network connection if restart was not pressed within the last half hour restart. (think of this a self heal) I use this as well if any device become un responsive thats got its own integration to reload the integration if device is unresponsive.

16 holiday lights, this automation basically copies the paterns of my lights on a normal day and goes off and on based on typical behavour which in turn gives the impression I am home.

17, those pesky apple watches which you forget to charge sometimes, nope alexa announces when they are bellow 20% to remind us to charge.