Home Assistant

414 readers
4 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 2 years ago
MODERATORS
1401
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/dirtybirds09 on 2025-03-14 11:04:04+00:00.


BLUF: I have a pretty big household (5 kids) and ADHD runs rampant and more common than a first name. What are some automations that you have found to be super useful in helping your kids with the day to day.

And in the words of smarthomesolver: had high spouse approval

1402
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/sysvival on 2025-03-14 10:47:57+00:00.


Made a home assistant powered this is fine meme using an esp32-c3 supermini which by pure luck fits perfectly inside this thing.

It is wired in a way that the button on the back still works and runs off the batteries, but once you feed it power via the USB-C port, the esp32 makes it smart.

My plan is to integrate it into our ticket system at work. Whenever there is a P1, this is fine lights up.

Github code here:

Video of home assistant activation here;

Local API command for activation: curl -X POST

remove the black pads to get access to the screws

esp32-c3 supermini will fit perfectly on the left of the main board

cut a hole in a box

stuck a cable in the box

final product

the esp config has the web server enabled so you can activate it using the local API (standard curl stuff)

1403
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/dmbymdt on 2025-03-14 01:37:09+00:00.


Made a few updates to HACS and Integrations and am always nervous what the logs will look like. Always a happy moment when after the restart I see this.

1404
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/t0m1o1 on 2025-03-13 18:07:36+00:00.


Quick and dirty modded airfreshner to let me control it from HA. ESP32C3 and a MOSFET. MOSFET grounds the "boost" button for 0.5 seconds when activated causing it to spray. All fits back in the original case and is currently running from the 2 AA batteries inside which is suboptimal - it browns out when activated and rough calculations say it'll probably only last a week on fresh batteries. Probably be running the ESP from usb going forward.

1405
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Individual_Cod_4726 on 2025-03-14 05:30:46+00:00.

1406
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Initial-Influence-22 on 2025-03-13 23:14:49+00:00.


I moved to VoicePE since it was release and replaced it with my Alexa.

One feature, that I missed instantly, is the possibility to play any song from Spotify on any speaker using my voice.

Hence, I came up with a couple of scripts to do it on my own and I thought this is worth sharing with you. (Spoiler: It does not require Music Assistant)

The idea is to use a custom sentence in HA that goes like: "Play in ".

To do that, first of all a Spotify DEV account and a client ID + secret must be created.

ID and secret must be stored base64 converted in the secrets.yaml in HA.

It is important to encode it like that "ClientID:Secret".

Now, two REST commands must be created in the configuration.yaml in HA.

The first one is used to get the access token and the second one is used for the actual search.

rest_command:
  access_spotify:
    url: https://accounts.spotify.com/api/token
    method: POST
    headers:
      authorization: !secret spotify_token
    content_type:  'application/x-www-form-urlencoded'
    payload: "grant_type=client_credentials"
  find_spotify:
    url: https://api.spotify.com/v1/search?q=%7B%7Bsearch_string%7D%7D&amp%3Btype=track&amp%3Blimit=1&amp%3Boffset=0
    method: GET
    headers:
      authorization: "Bearer {{token}}"
    content_type:  'application/json; charset=utf-8'

This can now be used in the custom sentence automation (German):

triggers:
  - trigger: conversation
    command: Spiele {search_track} [im|in|auf] {room}
    alias: Spotify
    id: Spotify
actions:
  - alias: Access
    action: rest_command.access_spotify
    response_variable: access_result
    data: {}
  - alias: Search
    action: rest_command.find_spotify
    data:
      token: "{{ access_result['content']['access_token'] }}"
      search_string: "{{ trigger.slots.search_track }}"
    response_variable: spotify_result
  - alias: Play
    if:
      - condition: template
        value_template: "{{ spotify_result['status'] == 200 }}"
    then:
      - alias: Parse data
        variables:
          url: spotify_result['content']['tracks']['items'][0]['external_urls']['spotify']
          track: spotify_result['content']['tracks']['items'][0]['artists'][0]['name']
          artist: spotify_result['content']['tracks']['items'][0]['artists'][0]['name']
          player: >-
            {% if trigger.slots.room == 'büro' %} media_player.buro
            {% elif trigger.slots.room == 'wohnzimmer' %} media_player.wohnzimmer
            {% elif trigger.slots.room == 'schlafzimmer' %} media_player.schlafzimmer
            {% else %} error {% endif %}
          error: "{{ spotify_result|length < 0 }}"
  - alias: Check and Play
    if:
      - condition: or
        conditions:
          - condition: template
            value_template: "{{ error }}"
          - condition: template
            value_template: "{{ player == 'error' }}"
    then:
      - set_conversation_response: Keine Titel oder Player gefunden
    else:
      - set_conversation_response: Spiele {{ track }} von {{ artist }} auf {{ trigger.slots.room }}
      - action: media_player.play_media
        metadata: {}
        target:
          entity_id: "{{ player }}"
        data:
          media_content_id: "{{ url }}"
          media_content_type: music

Now go ahead and roast me for this complicated (but working!) setup 😊

1407
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/ericbigguy24 on 2025-03-13 13:29:36+00:00.


If so inclined, please pile on to this feature request, thanks!

1408
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Dodoooh on 2025-03-13 19:17:01+00:00.

1409
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/BLOOMIN8 on 2025-03-13 17:32:26+00:00.


Hi guys, BLOOMIN8 team here—the same folks who brought the Arpobot Smart Shade (yep, the Matter-over-Thread one!). We're launching an exciting new project on the 19th this month: a vivid, paper-like, cord-free, smart colour e-ink frame fully integrated with Home Assistant!

Here's a quick peek at our progress: Check out the HA demo

Matter certification takes a long time, especially for startups (a lesson learned from the previous project. We just received the new cert last month), so we're kicking off with Home Assistant integration first this time. So we have the full control of everything and not betting on the BIGs.

We're looking for 3 developers to help us finalize and test our custom HA integration. We'll provide you with:

  • Be the first to experience the world's first SMART colour eink frame (with all the features combined, for sure we are the first)
  • Open source code for the custom integration
  • Full documentation of the RESTful API
  • Fun

If you already own a Spectra 6 eink display with SPI—perfect! We'll send you our board completely free of charge. If you don't have the display but still want to participate, you can chip in a sample price and join the fun! Drop a comment or DM.

For everyone else interested in the product, join our waitlist to secure the secret reward with a 40% discount.

Cheers, Francis

1410
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Technical_Raisin_246 on 2025-03-13 17:35:45+00:00.


Hi everyone! For those who might have missed it, we successfully launched the Sensy-One S1 mmWave sensor a few weeks ago, and it went viral! We sold more than 300 units in a very short time! I want to thank everyone for the tremendous support, love, and positive feedback!

Ever since the launch, I’ve received numerous questions about developing a PoE (Power over Ethernet) version of the mmWave sensor. That’s why I’m making this post to find out if there’s broader interest. If enough people are on board, I plan to release a PoE version in the near future!

For those interested in our existing (non-PoE) Sensy-One S1, you can check out our YouTube video and our GitHub repository for documentation.

I’d love to hear your thoughts. If you’re interested, you can sign up on our website to stay updated on the progress. Thanks again for all the support, and I look forward to your feedback!

1411
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/spdelope on 2025-03-13 16:24:19+00:00.

1412
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Alternative-Rush-717 on 2025-03-13 14:01:42+00:00.

1413
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Initial-Influence-22 on 2025-03-13 13:29:19+00:00.

1414
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Kat81inTX on 2025-03-12 23:51:10+00:00.


This info should be reposted every couple months. Or the solution pinned in a “stuff everyone needs to know” list.

I noticed my RPi 4 CPU was maxed at 98% even with all add-ons and no extra integrations active.

A search found the thread below.

I ran the command suggested and now my CPU utilization (with the Scrypted add-on running) is hovering around 30%.

1415
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Poat540 on 2025-03-12 21:30:50+00:00.

1416
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Undack on 2025-03-12 20:44:15+00:00.

1417
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/TheRealBigLou on 2025-03-12 21:21:37+00:00.

1418
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/TheProffalken on 2025-03-12 17:16:52+00:00.


EDIT: The answer appears to be "sign up to platform.openai.com instead of ChatGPT, because then you only get charged for the tokens you use, and not the $20/month ChatGPT charge"

Thanks to everyone who answered, I'm up and running, I'll feedback if it starts costing too much!

I don't have the money or the interest to spend on running a local LLM, so I want to run hosted.

I've noticed the OpenAI API is billed "per million tokens" rather than ChatGPT which is billed at $20USD/month, so I'm starting to work out how much it will cost me to run OpenAI as the backend for my HA setup.

Please note that I am only interested in hearing from people who are already running OpenAI with HA - if you're not doing this, I'm sure your project is awesome and if this doesn't work then I'll definitely be interested in what I should use instead, but right now I need this specific question answered.

Thanks in advance for your time!

1419
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/My-NameWasTaken on 2025-03-12 16:45:18+00:00.

1420
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/zeekaran on 2025-03-12 14:46:58+00:00.


My most common headscratcher is when this happens. The trace timeline says: "Choose: No action executed" but that makes no sense because it should've gone with the middle option in the action section. Regardless I'm not here to get help debugging this specific automation, I want general understanding. Why doesn't it clearly say why it chose no action? Each action has a bunch of conditionals yet there's no information to go on. The step config just prints out the entire action section with no details or stack trace to follow.

I can of course go through the device page referenced in the automation and see if one of them updated too slowly or perhaps never updated, causing it to skip. But it seems like this information should be highlighted in the automation trace itself.

1421
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/UnFukWit4ble on 2025-03-12 14:29:05+00:00.

1422
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/WinterPublic2445 on 2025-03-12 14:27:45+00:00.

1423
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/shaddixx91 on 2025-03-12 12:50:08+00:00.

1424
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/dror88 on 2025-03-12 00:19:40+00:00.


Last week I asked for advice because I was running into issues pairing 17 devices at once with ZHA and a Sonoff Dongle, and running into issues of ZHA only picking up a few at time.

Because of the wiring in my situation, I had to pair more than 50 IKEA Tradfri LED spots at once. So I knew I had to change something. Following the advice here I switched to Zigbee2MQTT and also used the SLZB-06 (connected via Ethernet). And wow, what a difference.

It did take 3-4 pairing attempts and 5 spots wouldn't pair, but I saved a lot of time going this route. Still took a lot of time identifying and naming all of it (over 100 spots in total), but I'm really happy I did the work.

The mesh is strong and now it runs very smoothly. Z2M is also much nicer when it comes to custom options, device integration and so on.

tl;dr: If you have a lot of devices or need to pair a lot of them, use Z2M. SLZB-06 is also worth it.

1425
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/True_Custard_7014 on 2025-03-12 01:29:02+00:00.


To be honest, this has been bothering me for quite some time.I have a lively and active kitten who seems to have endless energy. While I enjoy playing with him, he has an unbearable habit—he loves to scratch my door in the middle of the night, demanding that I get up to feed him.😫

I initially thought that as long as I prepared enough cat food before bedtime, the kitten would stop bothering me. However, after trying this for a while, I realized that the situation did not improve. After about a week of observing, I identified the reason: due to the humid climate in my area, the cat food easily becomes damp and soft after being left out for some time, and he refuses to eat it. Additionally, since my cat does not eat much at a time and prefers smaller, more frequent meals, I purchased a Litter Robot automatic feeder.

To address the issue of my cat waking me up at night and seeking food, I began exploring an intelligent solution that could automatically recognize the cat's feeding needs and dispense food accordingly. After some research, I stumbled upon an ingenious idea in Home Assistant forums—using a camera to detect the cat's approach to the feeder and automatically trigger the feeder to dispense food.

I then repositioned the Imou camera I had been using at home and unexpectedly discovered that this device features a zone alarm function ❗️(which allows me to define areas within the monitoring view that should trigger an intrusion alarm). I designated a one-meter radius around the feeder as the alarm zone. When the camera detects the cat staying in that area for more than 10 seconds, it sends an alert message to Home Assistant, which then automatically controls the feeder to dispense food. Now, the kitten can access fresh cat food at any time, and I am no longer awakened by meowing at four in the morning!

I am very excited to write down these words, hoping to provide some help to families who also have cats.😻😻

view more: ‹ prev next ›