Home Assistant

411 readers
1 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
101
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/reddit_give_me_virus on 2025-08-06 12:36:48+00:00.


Unifi is moving to a public API. The protect integration now requires an api key.

I wound up removing protect from my install during my initial attempts to get it to work again. Idk if the api key can be added without removing the integration.

When reinstalling you will be asked for an api key. You can create an api key by going to yourUnifiIP/protect/settings/control-plane/integrations. Where it says your api keys, enter a name and click create api key.

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

The original was posted on /r/homeassistant by /u/Xibby on 2025-08-06 05:30:08+00:00.


A few weeks ago, maybe a month or two, someone else posted something similar to this subreddit and I’m here to reiterate…

The best time to buy and setup your water leak sensors was a months ago, or yesterday. The next best time is now!

Yesterday evening our water heater’s tank sprung a leak and the tank emptied on the utility/laundry room floor. With the water turned on and tank leaking it overwhelmed the floor drain and got into the carpet in the hall.

Thankfully I had a load of laundry going and discovered the problem quickly, got things shut off, and multiple runs of the carpet cleaner took care of the patch of wet carpet.

Technician from install company came out and checked it today, saw it was still under warranty and scheduled a crew to replace it under warranty tomorrow. Warranty replacement was signed off on by technician so fingers crossed we won’t be paying for a new one.🤞🏼

We got so very lucky. It could have easily happened the day before when we didn’t get home until late.

I made a run to IKEA tonight, got 14 BADRING leak sensors (2 for utility room, 1 sump well that has no pump because it’s been dry for 24 years, 2 kitchen, 4 bathroom sinks, 3 toilets, 2 spares…)

I also got a handful of IKEA smart plugs to help build out the Zigbee mesh since I didn’t have any hard wired Zigbee. It’s just been on the todo list since I added the SkyConnect dongle to my Home Assistant Blue.

Warning, the BADRING sensors are kinda a pain to get paired. I’m alternating between lick fingers and touch the prongs and tapping the button every 10-15 seconds… setting off the sensors seems to have a higher success rate.

Don’t wait. If you’re on this subreddit, you presumably have Home Assistant setup. Even if you don’t have Home Assistant at least get leak detectors with an audible alarm.

My IKEA run for 14 sensors and 4 smart plugs was $250. I figure I’ve used up all my luck (had plumber come out and replace cheap plastic toilet shut off valves that were dripping in March.)

Do it! Do it now!

It will likely save you thousands or tens of thousands of dollars.

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

The original was posted on /r/homeassistant by /u/hydrakusbryle on 2025-08-06 03:58:12+00:00.

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

The original was posted on /r/homeassistant by /u/SocietyResponsible24 on 2025-08-06 00:16:02+00:00.

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

The original was posted on /r/homeassistant by /u/gamin09 on 2025-08-05 21:13:27+00:00.


i wrote instructions then told AI to make it readable for humans. This will show a picture of the motion event, and label it based on your facial training in frigate and ID'ing the users. I havent been able to do Multiple people in the frame yet.

If you're looking to integrate a Reolink doorbell camera with Frigate in Home Assistant (HA) for smart person detection, face recognition, and dynamic notifications (e.g., "JohnDoe is at the door" vs. "A stranger is at the door"), this guide covers it. This setup uses the Reolink integration for basic detection and Frigate for advanced AI (object/face detection). It's based on HA OS, Frigate v0.16.0-rc2, and assumes you have a compatible setup (e.g., Coral TPU for detection).

Prerequisites:

  • Home Assistant installed (Core 2025.7.4 or later; OS 16.0 recommended).
  • Home Assistant mobile app downloaded and installed on your phone (for mobile notifications via the group).
  • A Reolink doorbell camera (e.g., model with AI person detection).
  • MQTT broker set up in HA (e.g., Mosquitto addon).
  • Basic HA knowledge (editing configuration.yaml, adding integrations).
  • Hardware for Frigate:
    • GPU: Intel (e.g., Arc A770 with Quick Sync enabled) or Nvidia (with CUDA; requires Nvidia Container Toolkit in Docker).
    • TPU: Google Coral USB Accelerator for efficient object/face detection (highly recommended for speed; connect via USB and configure in Frigate).
  • Enable Advanced Mode in HA (Profile > Advanced Mode) for full options.

Step 1: Install the Reolink Integration

  • In HA, go to Settings > Devices & Services > Add Integration.
  • Search for "Reolink" and add it.
  • Enter your camera's IP (e.g., YOURLOCALIP), username (admin or YOURUSERNAME), and password (YOURPASSWORD).
  • Enable person detection in the Reolink app/web UI if not already.
  • After setup, you'll have entities like binary_sensor.front_door_person (triggers on person) and camera.front_door_fluent (for snapshots).

Step 2: Install HASS.Agent on Windows for PC Notifications

  • Download and install HASS.Agent on your Windows PC from the official GitHub (LAB02-Research/HASS.Agent).
  • Run the installer and configure it to connect to your HA instance (enter HA URL, long-lived access token from HA Profile > Long-Lived Access Tokens).
  • In HASS.Agent, enable notifications (add a notifier service).
  • Install the HASS.Agent Integration in HA via HACS: Go to HACS > Integrations > Explore & Download Repositories, search for "HASS.Agent Integration", install, and restart HA.
  • Add your PC as a device in HA (it will appear as notify.WINDOWSCOMPUTERHOSTNAME or similar; replace with your PC's hostname).

Step 3: Install the Frigate Addon

  • Frigate runs as a Docker container; install via HA Supervisor.
  • Go to Settings > Add-ons > Add-on Store.
  • Search for "Frigate" (official addon by blakeblackshear).
  • In the addon config, set the Docker image tag to ghcr.io/blakeblackshear/frigate:0.16.0-rc2 for the latest version.
  • Install and start it.
  • In Frigate's config tab, paste your obfuscated Frigate config.yaml (replace placeholders like YOURLOCALIP, YOURUSERNAME, YOURPASSWORD with your actual values). Example obfuscated config:
mqtt:
  host: YOURLOCALIP
  user: YOURUSERNAME
  password: YOURPASSWORD
  topic_prefix: frigate
  client_id: frigate # Optional
ffmpeg:
  hwaccel_args: preset-intel-qsv-h264 # Optimized for Arc A770 and H.264; fallback to preset-vaapi if issues
detectors:
  coral:
    type: edgetpu
    device: usb
    model: # Moved here for custom TPU model
      width: 320
      height: 320
      input_tensor: nhwc
      input_pixel_format: rgb
      path: /edgetpu_model.tflite
      labelmap_path: /labelmap.txt
face_recognition: # New in 0.16: Enable and configure here
  enabled: true
  model_size: large # Use 'large' for accuracy with your A770 GPU; switch to 'small' if CPU-only
  # Optional tuning (global defaults shown; adjust based on testing)
  detection_threshold: 0.7 # Min confidence for face detection (0.0-1.0)
  min_area: 500 # Min face size in pixels (increase to ignore distant/small faces)
  unknown_score: 0.8 # Min score to consider a potential match (marks as unknown below this)
  recognition_threshold: 0.95 # changes requested for speed recognition: Raised from 0.9 to 0.95 for stricter matching, reducing mis-IDs (e.g., back-turned as 'JohnDoe') at the cost of more "stranger" fallbacks; test and lower if too many unknowns
  min_faces: 1 # Min recognitions needed per person object
  save_attempts: 100 # Images saved for training per face
  blur_confidence_filter: true # Adjusts confidence based on blurriness
record:
  enabled: true
  retain:
    days: 7
    mode: motion
snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 7
  quality: 90
go2rtc:
  streams:
    front_door:
      - ffmpeg:http://yourlocalip/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=YOURUSERNAME&password=YOURPASSWORD#video=copy%23audio%3Dcopy%23audio%3Dopus
      - rtsp://YOURUSERNAME:YOURPASSWORD@YOURLOCALIP:554/h264Preview_01_main#backchannel=0 # Disable backchannel to fix 461 error
    front_door_sub:
      - rtsp://YOURUSERNAME:YOURPASSWORD@YOURLOCALIP:554/h264Preview_01_sub#video=copy%23audio%3Dcopy%23backchannel%3D0
cameras:
  front_door:
    ffmpeg:
      inputs:
        - path: rtsp://localhost:8554/front_door
          input_args: preset-rtsp-restream-tcp # changes to fix errors: Use TCP transport for more reliable streaming, reducing RTP packet loss and bad cseq errors
          roles:
            - record # Remove audio role to stop separate audio process; audio included via output_args below
        - path: rtsp://localhost:8554/front_door_sub
          input_args: preset-rtsp-restream-tcp # changes to fix errors: Same TCP for substream
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-copy # Moved here to include audio in video recordings without separate process
      retry_interval: 10 # changes to fix errors: Add retry interval for ffmpeg to automatically restart on stream drops (e.g., no frames received)
    live: {} # Removed stream_name as it's no longer needed/valid in 0.16; defaults to first go2rtc stream
    detect:
      enabled: true # Explicitly enable to ensure always on, even after reboots/migrations
      width: 640
      height: 480
      fps: 5 # changes requested for speed recognition: Kept at 5; increase to 10 if hardware allows for faster frame processing, but test for CPU/TPU load
    objects:
      track:
        - person
        - car
        - dog
        - cat
        # - face  # changes to fix errors: Removed 'face' from track list as it's not supported by your current model (logs show warnings); faces are handled separately via face_recognition section
      filters:
        person:
          min_score: 0.75 # changes requested for speed recognition: Increased from 0.7 to 0.75 for stricter person detection, reducing false triggers and speeding up recognition by filtering junk early
      mask:
        - # Removed masks as requested
    record:
      enabled: true
      retain:
        days: 7
        mode: motion
    snapshots:
      enabled: true
      retain:
        default: 7
    zones:
      # Removed zones as requested
    motion:
      mask:
        - # Removed masks as requested
    review:
      alerts:
        required_zones:
          - # Removed zones as requested
      detections:
        required_zones:
          - # Removed zones as requested
version: 0.16-0
semantic_search:
  enabled: false # Disable without Frigate+; re-enable if subscribing

Save and restart Frigate. Access Frigate UI at http://your-ha-ip:5000/ (or via HA sidebar if integrated).

  • Train faces: In Frigate UI > Faces, upload 10-20 images of each person (front/side/back views). Label them (e.g., "johndoe").

Step 4: Set Up Notification Group in configuration.yaml

  • Edit HA's configuration.yaml (Settings > Configuration > configuration.yaml or via File Editor addon).
  • Add this under notify: (create if missing):
notify:
  - name: mobile_notify_group
    platform: group
    services:
      - service: mobile_app_sm_f946u1  # Replace with your mobile app entity ID
      #- service: hass_agent_WINDOWSCOMPUTERHOSTNAME  # Replace with your PC notify entity ID

Save and check configuration (Developer Tools > YAML > Check Configuration), then restart HA.

Step 5: Create the Automation in HA

  • Go to Settings > Automations & Scenes > Create Automation.
  • Switch to YAML mode.
  • Paste this obfuscated YAML (replace placeholders like YOURLOCALIP, YOURACCESS_TOKEN with your values):
alias: Front Door - Person Detected Snapshot Notification
triggers:
  - type: turned_on
    device_id: YOURDEVICEID
    entity_id: binary_sensor.front_door_person
    domain: binary_sensor
    trigger: device
actions:
  - data:
      entity_id: camera.front_door_fluent
      filename: /config/www/snapshots/frontdoor.jpg
    action: camera.snapshot
  - delay: "00:00:02"
  - action: notify.mobile_notify_group
    data:
      message: >-
        {% set face = states('sensor.front_door_last_recognized_face') %} {% if
        face == 'None' or face == 'unknown' %} A stranger is at the front door!
        {% else %} {{ face | capitalize }} is at the front door! {% endif %}
      data:
        image: /local/snapshots/frontdoor.jpg?ts={{ n...
***
Content cut off. Read original on https://old.reddit.com/r/homeassistant/comments/1milkr3/reolink_doorbell_frigate_home_assistant_mobile/
106
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Vile-X on 2025-08-05 21:54:59+00:00.

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

The original was posted on /r/homeassistant by /u/ForsakenSyllabub8193 on 2025-08-05 15:18:01+00:00.

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

The original was posted on /r/homeassistant by /u/ozyri on 2025-08-05 12:33:33+00:00.


I imagine quite a few of you were not using it to begin with, so what's your provider?

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

The original was posted on /r/homeassistant by /u/deanfourie1 on 2025-08-05 11:45:42+00:00.

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

The original was posted on /r/homeassistant by /u/Throwaway603941 on 2025-08-05 11:13:43+00:00.


Hi all,

My spouse is going down the rabbit hole with Home Assistant and now everything needs to be automated or monitored.

I thought it would be fun to ~~enable~~ contribute to their ~~obsession~~ hobby by getting them some sort of odd or unusual sensor or device and hide it away for Christmas.

They already have cameras, motion sensors, thermometers, leak detectors, door/window sensors, etc. So I wanted to get them sometime weird, like a sensor that shows how many times you flushed the toilet or something.

Any ideas?

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

The original was posted on /r/homeassistant by /u/rando4lifeeeee on 2025-08-05 01:27:41+00:00.

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

The original was posted on /r/homeassistant by /u/tinker_tut on 2025-08-05 07:09:24+00:00.

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

The original was posted on /r/homeassistant by /u/Fun-Dentist8076 on 2025-08-04 21:37:08+00:00.

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

The original was posted on /r/homeassistant by /u/usafa43tsolo on 2025-08-05 03:24:58+00:00.


Question for the group: does anyone run an automation that gives you some kind of notification when you return home about things that happened while you were away? Thinking laundry, dish washer, 3d printer, non-critical security events, etc.

I want to set up something like this. The presence detection is easy which can set the home/away state. Where I’m struggling conceptually is how to track events and store that information until I return. I was curious if anyone else has done this and how they did it.

Thanks!

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

The original was posted on /r/homeassistant by /u/hydrakusbryle on 2025-08-05 00:39:27+00:00.

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

The original was posted on /r/homeassistant by /u/ENrgStar on 2025-08-04 20:01:55+00:00.

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

The original was posted on /r/homeassistant by /u/rodyon009 on 2025-08-04 15:16:57+00:00.


Hey everyone,

I'm looking to dive into some DIY projects with ESP32 boards and integrate them into my Home Assistant setup. I'd love to hear what you think are the most useful, creative, or just plain fun ESP32-based projects you've done (or seen) that work well with Home Assistant.

It could be anything — from sensors and automation controllers to displays, energy monitors, or something completely unique.

What's your personal favorite ESP32 + Home Assistant project, and why? Any links, photos, or guides are welcome!

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

The original was posted on /r/homeassistant by /u/Vearts on 2025-08-04 09:41:44+00:00.

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

The original was posted on /r/homeassistant by /u/Firesphere on 2025-08-04 09:03:57+00:00.


A few months ago, I was halfway through creating a Python plus MQTT system to plug my then Mitsubishi heatpump/AC in to my local network.

The AC however broke down, but now, 10 weeks later, we have a new AC. Our landlord has chosen a Panasonic AC.

Aside from providing me and my wife with a warm home, it also has a nice option to plug in a WiFi module (Only NZ$200! What a bargain! Plus, all your information gets sent to a very bad “cloud” implementation.)

Anyway, I'm not going to pay for a WiFi module, so thanks to Ingenious Makers their PCB design, I got it going without any cloud.

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

The original was posted on /r/homeassistant by /u/IRockSnackPacks on 2025-08-04 10:07:05+00:00.

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

The original was posted on /r/homeassistant by /u/gofiend on 2025-08-03 23:49:04+00:00.


Has anybody devised a good system of automations to default a dashboard to showing the “area” view of the specific room you are in?

I’m assuming either precise location or Bluetooth beacons can enable something like this? I’d love hints or tips on how to set it up so it works for my phone, my laptop and my spouse’s devices etc.

Edit: It looks like there is a way with esp32s detecting devices. Does anybody know of a more privacy preserving option where the device (ie my phone) client side finds the nearest BLE tag and changes the dashboard based on it?

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

The original was posted on /r/homeassistant by /u/BackHerniation on 2025-08-03 20:37:49+00:00.

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

The original was posted on /r/homeassistant by /u/ApZ3r0 on 2025-08-03 18:26:04+00:00.

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

The original was posted on /r/homeassistant by /u/richterpaul on 2025-08-03 17:24:33+00:00.


This weekend I’ve just created my first Home Assistant custom integration: Live F1 Data! This integration pulls real-time Formula 1 race data using websocket of the F1 website, including live race standings, track status, driver info, and much more.

Since this is my first integration, I’d love any feedback, bug reports, or feature suggestions. Feel free to open an issue or submit a pull request if you have any ideas for improvements!

Key Features:

  • Real-time updates for race standings, track status, and session information.
  • Driver details like name, team, color and headshot images.
  • Configurable switch to enable/disable updates around race times.

Check out the full source code and more details on the GitHub repository.

Example of the simple Driver Standings, and also Track Status & Race Leader (both represented by lights in my living room)

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

The original was posted on /r/homeassistant by /u/Zealousideal_Pen7368 on 2025-08-03 12:38:47+00:00.


Recently installed the add-on and my HA setup has been simplified with Matter local support.

https://preview.redd.it/os7hxq6qusgf1.jpg?width=960&format=pjpg&auto=webp&s=aaadf9fb14d95ac9694949e625e4eb661df60c0a

view more: ‹ prev next ›