Home Assistant

412 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
126
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Carlos_Spicy_Weiner6 on 2025-07-24 21:14:36+00:00.

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

The original was posted on /r/homeassistant by /u/joostlek on 2025-07-24 19:44:34+00:00.

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

The original was posted on /r/homeassistant by /u/rhinopet on 2025-07-24 18:10:45+00:00.


What a great service. I was struggling a bit with my firewall and routing over my VLAN to Home Assistant. So, I decided to start my free trail with Nabu Casa. It didn't take long at all to get up and running externally and I even have my own custom domain. I did MFA my account as a admin. Well worth the $6.00 a month or whatever it is. What are your thoughts about MFA for non-admins?

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

The original was posted on /r/homeassistant by /u/Make_Itt_Work on 2025-07-24 16:50:46+00:00.

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

The original was posted on /r/homeassistant by /u/missyquarry on 2025-07-24 16:25:54+00:00.


I'm excited to share new position openings at the foundation! These roles are under our Ecosystem department which is responsible for the development of projects under the OHF umbrella like ESPHome, Voice, and Music Assistant. Here's what we have for you:

🔹 Frontend Engineer

🔹 Integrations Engineer

🔹 Protocol Engineer

🔹 Python/C++ Engineer

If you're located in Europe and you think you'd fit in one of these, we'd love to hear from you! 😊

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

The original was posted on /r/homeassistant by /u/missyquarry on 2025-07-24 13:58:19+00:00.

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

The original was posted on /r/homeassistant by /u/JohnWave279 on 2025-07-23 23:58:21+00:00.


Sometimes I have that irrational fear: Did I turn off the oven?

Is there a reliable way to find with any reliable sensors?

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

The original was posted on /r/homeassistant by /u/matze_1403 on 2025-07-24 02:03:11+00:00.


What are the advantages, possible disadvantages?

I use almost exclusivly Hue lights in my house and have no other Zigbee devices as of now.

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

The original was posted on /r/homeassistant by /u/2017macbookpro on 2025-07-24 03:11:24+00:00.

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

The original was posted on /r/homeassistant by /u/saltf1sk on 2025-07-23 21:59:04+00:00.

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

The original was posted on /r/homeassistant by /u/moosepiss on 2025-07-24 00:07:10+00:00.


Recently invested in the Reolink Home Hub to store all of the recordings from my battery powered cameras. The integration with Home Assistant, while it does give access to camera controls, notifications and live feeds, it does not provide a way to access videos that are stored on the Hub.

Here's what I was after: A dashboard that display the most recent motion event from each of my cameras. Do this by leveraging the Hub, so as not to wake/drain the cameras.

I built a HA integration that works around the current limitation and:

  1. Browses Reolink Home Hub to find the most recent event recording per camera
  2. Downloads the mp4 to HA box and generates jpg and animated gif
  3. Populates HA sensor information with the media urls and other extracted information (time, event type)
  4. Never wakes/accesses a camera
  5. Exposes a custom card that makes it easy/pretty to display

What I've created would definitely need to be tested on systems other than my own. I haven't looked into making available in HACS, but might. Happy to share. At this point I'm looking to gauge interest.

Most recent motion event from each Reolink Camera, via Home Hub

Edit:

Github: https://github.com/rcourtna/reolink_recordings

Can do some tech support in this reddit thread.

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

The original was posted on /r/homeassistant by /u/Pvk33 on 2025-07-23 17:45:27+00:00.


In my home I have 4 Google Mini's and 2 Google Hubs. They now are used as the Voice command devices to act on my Home Assistant Entities. I am experimenting with a Home Assistant Voice Preview edition. It seems the latest release is working better.

When I made a mistake and said "Okay Go..., only to correct myself to Okay Nabu", the Hub on my desk said "Remember I am the original". LOL

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

The original was posted on /r/homeassistant by /u/eightballpuddy69 on 2025-07-23 14:53:30+00:00.


Got some advice to connect my thermostat to a static IP and it has worked much better with home assistant since. What other devices do y’all assign static IP’s to?

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

The original was posted on /r/homeassistant by /u/mashed50 on 2025-07-23 16:19:02+00:00.


I'm sure this will get me a few down votes, but I'm sure some will appreciate this. For years, the deer have been feasting on my plants and nothing seems to deter them. I'm a newby to HA, and decided to get some decent Reolink cameras. I noticed that they do a really good job of detecting the deer every night and that got my creativity going. I put together an automation to turn on the lawn sprinkler whenever it detects the deer. Last night was the first run - it works great! They take off as soon as the heads pop up.

So before you flame me... I live in a retirement community. Everyone's in bed by 9. Even during the day, there's very little traffic and the speed limit is 15. I set the automation to only run in the dead of night. I guessing a few cycles of this will be enough to keep them away. I'm really enjoying the possibilities with this stuff.

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

The original was posted on /r/homeassistant by /u/icaranumbioxy on 2025-07-23 15:53:01+00:00.


See link.

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

The original was posted on /r/homeassistant by /u/sam_y14 on 2025-07-23 14:38:07+00:00.

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

The original was posted on /r/homeassistant by /u/Intrepid-Tourist3290 on 2025-07-23 08:22:00+00:00.


I love Music Assistant but the more I try and use it as my daily music client, the more that it being part of the HA Companion app becomes challenging....

If I'm using HA, I can't quickly switch to Music Assistant to change the music and most of the time I leave the companion app on Music Assistant, it either refreshes back to the initial Music Assistant dashboard or my main HA dashboard when I quickly go to change something.

I know people use MA as a webapp and that could help to a point but having MA as its own app (even a webapp wrapped up) would help with usability, right now it sometimes needs far too many taps to get to where you were. I know widgets exist too but they only help so much.

Would love to hear your thoughts!

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

The original was posted on /r/homeassistant by /u/kelvin1302 on 2025-07-23 12:07:24+00:00.

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

The original was posted on /r/homeassistant by /u/DenesGarda on 2025-07-23 09:11:52+00:00.


https://preview.redd.it/c1qow3zqalef1.jpg?width=1179&format=pjpg&auto=webp&s=a2770dabde2ceb4d9cea0d35397d5515bbd67b4a

These use custom button cards. I figured I'd share them if anyone would be interested in using them.

This is the template:

button_card_templates:
  status_pill:
    show_name: true
    show_label: true
    show_icon: true
    styles:
      card:
        - height: 40px
        - width: auto
        - padding: 6px
        - display: flex
        - flex-direction: column
        - justify-content: center
        - align-items: flex-start
        - border-radius: 150px
      grid:
        - grid-template-areas: |
            "i n"
            "i l"
        - grid-template-columns: 30px 1fr
        - grid-template-rows: 1fr 1fr
        - column-gap: 4px
      icon:
        - width: 22px
        - height: 22px
        - align-self: center
        - color: '[[[ return variables.icon_color || "#666"; ]]]'
      name:
        - justify-self: start
        - font-weight: bold
        - font-size: 12px
        - align-self: center
        - padding-right: 8px
      label:
        - justify-self: start
        - font-size: 11px
        - color: gray
        - align-self: center
        - padding-right: 8px
    icon: '[[[ return variables.icon || "mdi:help-circle"; ]]]'
    name: '[[[ return variables.name || "Default Name"; ]]]'
    label: '[[[ return variables.label || ""; ]]]'

This is an example of how I'm using them:

      type: custom:button-card
      template: status_pill
      variables:
        name: Lights
        icon: |
          [[[
            const lights = [
              'light.cync_reveal_full_color_a19',
              'light.cync_reveal_full_color_a19_2',
              'light.cync_reveal_full_color_a19_3',
              'light.desk_lamp'
            ];
            let count = 0;
            lights.forEach(e => {
              if (states[e] && states[e].state === 'on') count++;
            });

            if (count === 0) return 'mdi:lightbulb-outline';
            if (count === 1) return 'mdi:lightbulb';
            if (count === 2) return 'mdi:lightbulb-multiple';
            return 'mdi:lightbulb-group';
          ]]]
        icon_color: |
          [[[
            const lights = [
              'light.cync_reveal_full_color_a19',
              'light.cync_reveal_full_color_a19_2',
              'light.cync_reveal_full_color_a19_3',
              'light.desk_lamp'
            ];
            let count = 0;
            lights.forEach(e => {
              if (states[e] && states[e].state === 'on') count++;
            });

            return count === 0 ? '#6b6b6b' : '#FFC107'; // amber when any on
          ]]]
        label: |
          [[[
            let count = 0;
            const lights = [
              'light.cync_reveal_full_color_a19',
              'light.cync_reveal_full_color_a19_2',
              'light.cync_reveal_full_color_a19_3',
              'light.desk_lamp'
            ];
            lights.forEach(e => {
              if (states[e] && states[e].state === 'on') count++;
            });
            return count + " on";
          ]]]
      tap_action:
        action: navigate
        navigation_path: "#lights"
      triggers_update:
        - light.cync_reveal_full_color_a19
        - light.cync_reveal_full_color_a19_2
        - light.cync_reveal_full_color_a19_3
        - light.desk_lamp

It's really important to include the "triggers update" field, otherwise the icons and statuses won't update automatically.

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

The original was posted on /r/homeassistant by /u/Any-Information9091 on 2025-07-22 18:31:44+00:00.


Smarthome company goes bankrupt, new owner ransoms everyone's house: $5000 bounty to crack firmware!

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

The original was posted on /r/homeassistant by /u/war4peace79 on 2025-07-23 07:13:28+00:00.


Have you heard about our networking Lord and Savior, the mighty SNMP? :)

Most networking devices have a SNMP implementation. Some devices are obviously better than others, in that regard, but those who are worth their hide offer a wealth of information through this nice protocol.

Unfortunately, at the same time, the SNMP implementation is poorly documented for many devices, and getting relevant data out of them was usually a PITA. The fact that Home Assistant's SNMP integration is YAML-only adds to the setup complexity.. until now.

Enter LLMs, which, if used properly, can shorten configuration time by at least one order of magnitude.

General steps for SNMP integration into Home Assistant:

  1. Configure your devices to enable their SNMP. This step depends on each device, and there is no common ground between them. Some only support SNMP v1, others support v1 and v2, and others also support v3. I recommend using SNMP v3 wherever possible. The HA integration supports all versions.
  2. Use snmpwalk to parse and extract SNMP trees from each device, export the data into a CSV file, one file per device.

An example of snmpwalk command from a Windows machine, which exports SNMP data from an Ubiquiti USW-Aggregation device:

V:\Apps\snmp>SnmpWalk.exe -r:192.168.2.4 -v:3 -sn:username -ap:SHA -aw:password1 -pp:AES128 -pw:password2 -csv > USW-AGGREGATION.csv

  1. For each device, go to their web address and copy relevant data (data that you are interested in) from there, place it in a TXT or CSV file, one per device, this helps the LLM zero in to the correct SNMP codes for the data you are interested in. This step is not mandatory, but saves time in the long run. Don't worry about the data mismatching a little, compared to the SNMP exported CSV, any major LLM will be able to perform a fuzzy matching.
  2. Open the LLM solution of your choice; I used Google Gemini Pro 2.5 because it has a maximum token count of 1M, which ensures even large CSV files are completely parsed with room to spare. OpenAI free might struggle with this, though. Upload the CSV file and ask the LLM to generate a Home Assistant configuration for you.

Now, this is an important part: Describe the request as detailed and clearly as possible, with examples (this is where step 3 comes in). Here's how I asked Gemini (sorry, wall of text, but it is helpful if you want to use this route):

I have a Home Assistant server and two Ubiquiti Access Points. 
The first Access point is the UniFi UAP-AC-Pro and the second Access Point is the UniFi U6-LR.

The local IP for the UAP-AC-Pro is 192.168.2.21
The local IP for the U6-LR is 192.168.2.22

I have configured snmp access for each of those Access Points and used snmpwalk to obtain CSV files with snmp data from each Access Point. I have attached the relevant CSV files for both Access Points.

Create sensors for each access point, using this data for each sensor:

Sensor format example for the UAP AC Pro:
  - { platform: snmp, host: 192.168.2.21, username: username, auth_protocol: hmac-sha, auth_key: password, priv_protocol: aes-cfb-128, priv_key: password, scan_interval: 120, name: UAP AC Pro (relevant sensor name), unique_id: uap_ac_pro_relevant_sensor_name, baseoid: "(relevant_oid)" }

Sensor format example for the U6 LR:
  - { platform: snmp, host: 192.168.2.22, username: username, auth_protocol: hmac-sha, auth_key: password, priv_protocol: aes-cfb-128, priv_key: password, scan_interval: 120, name: U6 LR (relevant sensor name), unique_id: u6_lr_relevant_sensor_name, baseoid: "(relevant_oid)" }

Sensors I am interested in, for each Access Point:

1. Device Name
2. Device Uptime
3. Device Temperature (if it exists)
4. Channel Usage
5. Client Count (Clients and Guests)
6. Wi-Fi Experience Index for 2.4 GHz and 5 GHz
7. Memory Usage
8. Load Average
9. Uplink Speed
10. Activity (represented by throughput in Kbps)
11. Air Stats (for 2.4 and 5 GHz)
12. WLAN Channel and Width

Example data from the device page in UniFi Controller, for UAP-AC-Pro:

- General section:
MAC Address: [mac_address]
WiFi Experience (2.4 GHz): 98%
WiFi Experience (5 GHz): 99%
Uptime: 147d 22h 8m 18s
Memory Usage: 43.2%
Load Average: 0.24 / 0.13 / 0.10
Clients: 16
Guests: 0

- Uplink section:
Uplink: -
Speed: GbE
Power: 0 W
Down Pkts / Bytes: 2,384,703,262 / 2.64 GB
Up Pkts / Bytes: 717,280,099 / 626 MB
Activity: 55.7 Kbps

- Air Stats 2.4 GHz: 
Channel: 8(10,-1) HT40
Tx Pkts/Bytes: 301,870,011 / 95.8 GB
Rx Pkts/Bytes: 150,921,390 / 18.4 GB
Tx Retry/Dropped: 23.5% / 17.5%
Rx Retry/Dropped: 0.0% / 0.1%
Ch. Util. (Busy/Rx/Tx): 5% / 0% / 4%
Clients: 9
Guests: 0
- Air Stats 5 GHz: 
Channel: 42(36,+1) VHT80
Tx Pkts/Bytes: 2,000,371,356 / 2.63 TB
Rx Pkts/Bytes: 512,852,920 / 148 GB
Tx Retry/Dropped: 6.3% / 0.0%
Rx Retry/Dropped: 0.0% / 0.2%
Ch. Util. (Busy/Rx/Tx): 2% / 0% / 1%
Clients: 7
Guests: 0

Similar structure for the U6-LR Access Point.

Now, this specific chat used up close to 195K tokens, and AFAIK ChatGPT Free maxes out at 128K tokens. You can go around it by using one conversation per device, provided the exported SNMP tree is not humongous.

You might also want to tell the LLM which custom cards you use in your HA installation and whether you have HACS installed. You can also tell it to be a Home Assistant expert and how to generate its answer, I am not going to go too in-depth with this because this post is already way too long.

Below, a couple screenshots of the result, in Home Assistant. The backgrounds were generated using Google Gemini Pro 2.5 as well.

If you have any questions, I would be more than happy to respond, to the best of my abilities. I hope this will be useful to someone :)

Wired devices dashboard page

Wireless devices dashboard page

Current sensor count

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

The original was posted on /r/homeassistant by /u/dblue_one on 2025-07-23 04:25:04+00:00.

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

The original was posted on /r/homeassistant by /u/fuzz-on-tech on 2025-07-23 01:11:10+00:00.

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

The original was posted on /r/homeassistant by /u/-ToxicRisk- on 2025-07-22 18:23:57+00:00.


Hi everyone, I’m starting from scratch to build a smart home with HA.

My priorities are:

  • Reliability/Stability : no random disconnects, works long-term
  • Security : strong encryption, low risk of hacking

Thread/Matter, Zigbee, Z-Wave it’s hard to know which ones are actually solid in real life.

Thanks

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

The original was posted on /r/homeassistant by /u/RemoteSojourner on 2025-07-22 21:03:35+00:00.

view more: ‹ prev next ›