I figured we could all share some of the cooler things we’ve done to get the conversation moving in here.

Here are some of the automations I’m proud of and get the most use out of.

Blinds and Lighting

  • Open and close the blinds (Ikea Fyrtur) according to the light levels outside
  • If a window is open, the blind will only close to 50%, but it will close automatically after the window is closed
  • Turn all lights off when the blinds are opened, and turn lights on in occupied rooms when the blinds are closed
  • Automatically close the blinds in the bedroom and bathroom when the shower is on. Open them after we leave the master suite.

Websites

  • (Selenium) Auto login to Amazon to check on the status of my Kindle daily reading streak and notify me if I forget to read. We must keep the streak intact!
  • Auto categorize new transactions in YouNeedABudget and mark them as approved, as well as pull my net worth into Home Assistant
  • Get my most-listened to tracks and artists from Last.FM and pull those into Home Assistant
  • Notify me if there are documents in my Paperless-NGx server that need to be categorized and filed

Reminders

  • When I walk in the door, announce any outstanding Todoist tasks marked with the @alert label so I know to do it before I sit down. Examples are to change the furnace filter or Venmo my friend for Youtube TV
  • I run OCR on the camera feed from my garage camera to determine whether the bins are in the garage. The bins say Trash and Recycling on top, so I look for those words in the image. If they are in the garage in the evening before trash day, I receive an alert

Media and Torrenting

  • Notify me and display a badge in Home Assistant when there is a pending request in Overseerr
  • (Selenium) Log into my favorite private torrent tracker website from Node-RED to check whether I need to take any actions

HVAC

  • Preheat or pre-cool the house prior to peak electricity pricing going into effect. During peak hours, auto adjust the thermostat to prevent it from running
  • Turn the thermostat off if there are windows open. Automatically restore previous setting (cool or heat) when all windows are closed.
  • Turn the bathroom fan on after the shower is turned off and no one is around. Turn it off after 80 minutes or the humidity in the bathroom is within 10% of the humidity in the bedroom, whichever comes first.

Misc

  • Node-RED monitors the status of my UPSes for my servers. If the battery drops below 50% while the power is out, it initiates graceful shutdowns of my Synology and other servers
  • Auto sort the Home Assistant grocery list upon adding a new item
  • sylverstream
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I’m using HA to track device usage of my kids, and I can give them bonus time if they do something nice or a chore. And, negative time when they misbehave. Perhaps an idea for you?

      • sylverstream
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Yeah that’s quite complicated as e.g. Family Link (which we use on their Android devices) doesn’t have an API.

        1. Input boolean per child “Device in use”
        2. platform_history sensor to track how long it was on in a week.
        3. I’ve installed the Home Assistant app on their devices, whenever it turns on for more than a minute, it turns on the boolean input.
        4. They also play on the xbox together during the day. Whenever the xbox turns on, and they log out my account, it also triggers an automation to turn on both switches.
        5. Input helper with weekly device limit (time)
        6. template sensors that calculate the time left
        7. Switch can be manually turned on/off via our Home Assistant tablet in the living room, which also displays the remaining time etc.

        It’s very custom and sometimes buggy, e.g. this morning the xbox sensor suddenly become “On” despite the xbox being turned off. So I’ve also added some custom helpers to be able to decrease/increase the usage for that week if something had gone bonkers.