So last week I had a Proxmox fuckup and lost everything. I learnt the hard way what living without backups is like and I don’t recommend it.

Silver lining is that I don’t have to tidy up all those old automations and entities anymore.

Anyway it made me realise what I’d miss if I didn’t have them, because I didn’t have them.

I’ve been really really tired this week. I get up at 5am and start work at 6, and while I don’t like it, I usually cope with it better than most and have comments about how “It’s too early for you.” But not this week.

I’ve put it down to losing my connection between my alarm clock and HA. I use SleepAsAndroid and have done for a long time. Back when I started it was because it connected to Tasker, but over the years I’ve moved to HA and still use it.

SleepAsAndroid with Tasker was done with web hooks but I use the MQTT integration with HA. This means it’s connected when I’m home but not in network when I’m away, so it can’t fire the messages, which is what you want.

Previously I used Node Red to set up this automation but I haven’t reinstalled it yet, I’m seeing if I can do it all on HA, then it’s one less thing and I can automate in the app.

I spent a while this morning trying to figure out how to reintegrate it with HA and struggled, but eventually I found an integration in HACS which meant I just had to change my device identifier in the alarm app by adding /MyName to the end of the SleepAsAndroid topic so it reads SleepAsAndroid/MyName, add the HACS integration and then add it again in the Integrations pane, with MyName plumbed in.

Then I added a blueprint from the add ons page and left the house to go on a day trip.

In and amongst the day trip I’ve been making my automation on the HA app via the blueprint, and have come home, loaded a bowl and set my alarm for 1 minute time, then smoke the bowl and wait…

Success!

Hopefully I’ll have more energy this week when I wake up to my lights turning on, instead of complete darkness and a strange noise.

Now what would you miss that isn’t obvious (like motion activated lights)?

  • june@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 months ago

    My hallway is shockingly dark when not lit, and the recessed light is so damn harsh I decided to install LED strips up in the corners. But I didn’t want to switch them, so the lights are motion controlled and conditional based on time. During the day, they’re full bright but with a nice color that’s not harsh. At night, only 6 leds light up a nice green so they don’t blast your eyes in the dark.

    I have similar control over the kitchen lights but kept the recessed lighting in there. Full bright during the day, dimmed at night.

    When the home alarm is triggered, all lights go full bright.

    When the garage door is opened, the garage lights turn on.

    When the temp in the living room is below 65 in the morning, or at noon, it kicks the heater on until it hits 70.

    In the evening, when the outside temp falls below the inside temp, I get sent a message to open the windows. This only triggers in warm months because that crossover doesn’t happen in the cold months. It’s just always warmer inside than out. Similarly, in the mornings, when the temp outside becomes warmer than inside, I get an alert to close the windows. I use Aqara temp sensors on my front and back porches to grab the temps, so it’s very local and takes into account the radiant heat built up from the direct sunlight and works really well. This also has me thinking I might be able to work my contact sensors into the automations too…

    I’ve got a contact sensor on my bedroom door to alert me if anyone enters while I’m not home.

    My crawl space is encapsulated and I have a large dehumidifier down there. I have a smart switch connected to it so I can have some easy control and monitor power usage. I also have a temp and humidity sensor down there with alerts for if either temp or humidity change too much.

    I set up LED lighting on my front porch and have HA turn it on an hour before sunset and off an hour after sunrise. I set it to different colors usually based on holidays, but have it set to a purple that I really like otherwise. Way less harsh than the white porch light.

    And of course I can control nearly all the lights in my house from my phone or with Siri.

    • SoNick@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Most of my automations are lighting-based, so my favorites are both simple in theory but I can’t imagine going without them:
      1.) When I get home (or near home) and it’s after dark, the living room lights and the TV turn on.
      2.) Not really an automation on its own, but when I lay down to bed I turn off my bedroom lights through the HA app. I’m so used to it that the thought of turning the bedroom lights off at the switch then fumbling through the dark to bed sounds barbaric at this point.