Home Assistant

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

The original was posted on /r/homeassistant by /u/scottymixer on 2025-12-22 04:20:48+00:00.

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

The original was posted on /r/homeassistant by /u/fastender on 2025-12-22 00:10:31+00:00.

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

The original was posted on /r/homeassistant by /u/kneave on 2025-12-21 22:48:17+00:00.


TLDR: A climate scheduler addon that lets you create schedules by clicking on a graph. Install by searching for "Climate Scheduler" on HACS or look at the link below:

https://github.com/kneave/climate-scheduler

I've been working on an addon that lets you create schedules for climate entities by dragging nodes around on a graph for the past month or so. You can create 24 hour, 7 day, or weekday/weekend schedules, each of which can have multiple profiles too which can be enabled using actions. You can create schedules for individual entities or group multiple together, control HVAC modes and fan speeds too.

An unexpected usage has been people switching schedule profile using presence detection, certainly not something I'd thought of but great to see inventive use of it. Pretty much all the functionality is exposed as actions so should be easy to integrate in to other setups.

https://preview.redd.it/28b5amqlwm8g1.png?width=1771&format=png&auto=webp&s=ea240f7b42baf6c94891619138297301ca1780b0

I've been using it for the passed month and according to HACS I've around 50 other installs too, a few folks have been providing excellent feedback which I'm appreciate of. It's still relatively early days though so I expect to find more bugs over time, for the most part I think the show-stoppers are taken care of at least.

Alongside climate scheduling it also creates derivative sensors that track how quickly rooms warm up and cool down. They aren't been used for anything other than reference purposes for now but could enable interesting automations. I've already seen the values change very quickly when doors and windows are opened for example, so could be a way to disable heating or cooling in areas to save energy for example.

If nothing else it's helped me find the rooms with draughts or poor insulation...

https://preview.redd.it/kzkktsirxm8g1.png?width=815&format=png&auto=webp&s=551707c84eed030676b723783cafcca2f5dc22ed

It's a pet project of mine and I'm trying to be responsive to GitHub issues and helping folks out, if this sounds interesting please take a look and if you hit any problems or have any requests please feel free to file an issue or create a PR.

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

The original was posted on /r/homeassistant by /u/Randomhero360 on 2025-12-21 16:36:07+00:00.

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

The original was posted on /r/homeassistant by /u/thinkbeforeyoupoke on 2025-12-21 12:45:07+00:00.

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

The original was posted on /r/homeassistant by /u/balloob on 2025-12-21 13:41:17+00:00.


A small holiday gift for all you Z-Wave lovers out there.

We just released a major upgrade to Portable Z-Wave. The performance over a wired Ethernet connection is now nearly identical to the performance of a direct serial/USB connection.

Portable Z-Wave is an experimental firmware for the Home Assistant Connect ZWA-2 and other ESPHome devices connected to Z-Wave adapters. It allows you to put your Z-Wave adapter in the best spot in the house, and have it connect to Home Assistant via your network. Read the announcement for more details.

Thanks to the performance upgrade, we felt comfortable to throw in a new feature: you can now use your ZWA-2 simultaneously for both Z-wave and Bluetooth (currently limited to portable Z-Wave firmware only). You can enable it on the device page in Home Assistant.

Turning the ZWA-2 into a Bluetooth proxy allows Home Assistant to use the Wi-Fi antenna in the ZWA-2 to pick up Bluetooth sensor data, control Bluetooth fans, or interact with any other Bluetooth device it supports.

As always, all these improvements are available as open source in ESPHome.

Happy holidays everyone!

Paulus

If you've previously installed portable Z-Wave on your ZWA-2 using the OHF toolbox, you will be offered an update in Home Assistant.

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

The original was posted on /r/homeassistant by /u/tjoskar on 2025-12-20 20:58:03+00:00.

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

The original was posted on /r/homeassistant by /u/scytob on 2025-12-21 03:58:22+00:00.

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

The original was posted on /r/homeassistant by /u/MassageGun-Kelly on 2025-12-21 02:59:26+00:00.


I don’t think enough people are talking about this. Earlier this week, the development team of Home Assistant announced Music Assistant v2.7. This includes a couple of notable additions/changes that I want to mention here:

  • A very welcome UI overhaul
  • A modular provider plugin system that has seen, and will see plenty of provider additions. Notably thus far (for me anyway) is Spotify Connect.
  • Sendspin: a music pipe synchronization protocol.

Why am I mentioning this? Because if any of you have been wanting a multi-zone or multi-room audio deployment that’s fully software based without needing to purchase expensive and/or closed-source ecosystem-proprietary hardware, you can do that now. Very easily.

  1. Configure your preferred music provider source. This could be local files; the Spotify, Apple Music, Tidal, or other streaming platform plugins; or, Spotify Connect.
  2. Normally, you need a server to pipe this audio stream out from. Music Assistant v2.7 comes pre-loaded with Sendspin configured, so you’re already set up.
  3. Now you just need compatible clients. Look at the Supported Clients heading on this page. Yes, this means that you can stream to a Home Assistant Voice PE, a web browser, or my personal favourite, a Linux box using nothing more than Python 3.12 or greater.

Historically, I have run a Snapcast Server container on my home server, and then I have installed Snapcast Client onto a variety of Linux boxes and configured them with settings to integrate them into a synchronized audio space. It has worked fine for me, but it isn’t the cleanest option for introducing multiple groups and zones.

Sendspin just changed this entire thing. Literally just install the Python library on a Linux box, run sendspin or find a way to run it as a service on startup, and then connect the Linux box to some audio output source. This means that you can use a Raspberry Pi Zero, or a Home Assistant Voice PE, or whatever other small form-factor device you have, and just connect it to whatever speakers you have.

  • In one instance, I have a box mounted outside on my patio. It contains a Raspberry Pi Zero, an amplifier, and cabling to connect to a set of passive speakers. This entire setup cost me $100.
  • In another, I have a Raspberry Pi 4 driving active speakers that have a built-in pre-amp. Total cost: the bill for the speakers + the Raspberry Pi 4.

You can shove a Raspberry Pi Zero into the casing of a soundbar for instance. You can embed them into the ceiling for ceiling speakers. The options are endless. And the fact that this is now all presented in a really easy-to-work-with interface within Music Assistant for grouping these into zones/rooms for a variety of streaming options is amazing. You can fully rid of Mopidy / MPD, Logitech Media Server, Volumio, or whatever other options you have or had. I’m not sure if Roon counts here as I don’t have experience with it, so I can’t speak on behalf of what solutions is provides.

Either way, the ease of use here is insane. I have implemented some janky setups over the last decade for hosting parties, and just generally enabling lower volume audio across multiple sources instead of having to blast music from a single source to reach ends of my home. This new software suite is such a huge treat that I feel deserves some more attention than what it received with its earlier announcement.

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

The original was posted on /r/homeassistant by /u/edgylukas on 2025-12-20 19:15:09+00:00.


HA WashData (v0.1, active development)

https://github.com/3dg1luk43/ha_washdata

Home Assistant custom integration to detect washer cycles from smart plug power, label programs, and estimate time remaining using NumPy shape correlation.

What it does

  • Detects start/finish from power draw with smoothing, off-delay, and ghost-cycle filtering.
  • Learns profiles from past runs; matches live traces via correlation, MAE, and peaks.
  • Provides sensors: state, program, time remaining, cycle progress, current power.
  • Manual program select entity to override/teach the system.
  • Notifications for start/finish and optional pre-completion heads-up.
  • Nightly maintenance to merge fragmented cycles and keep storage lean.

Status

  • Version: 0.1 (early stage, active development).
  • Expect rapid changes; breaking adjustments possible.
  • Feedback on detection stability, matching accuracy, and UI flow is welcome.

Install (HACS, Custom Repository)

  1. In HA, open HACS → Settings → Custom repositories.
  2. Add https://github.com/3dg1luk43/ha_washdata as type Integration.
  3. Install HA WashData from HACS and restart Home Assistant.

Manual fallback: copy custom_components/ha_washdata into your HA custom_components folder and restart.

Configure

  • Go to Settings → Devices & Services → Add Integration → HA WashData.
  • Pick your washer’s power sensor, set min power, name the device.
  • In Configure → Settings, you can Apply Suggestions to preload recommended values, then submit to save.
11
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/SignedJannis on 2025-12-20 19:12:54+00:00.


Sometimes an automation or script fails.

Example: my central heating automation, that has been working fine for years, just started silently failing due to "ecobee suddenly having expired keys" for whatever reason. That could be very bad, given our harsh winters. I've seen other users post about losing e.g thousands of dollars of wild meat, because their freezer failed and their notify automation also failed them, etc.

If an automation fails, I want to know about it.

The following automation will notify you if another automation/script fails unexpectedly. I suggest using a few different notification options, in case one fails - and use "continue_on_error: true" on each notification - because you dont want a notification-service-failure halting your automation-failure notifications! :)

I personally use a gmail notification, tts on a google home, "speak message aloud via tts on phone", and of course home assistant phone app notifications. Below example has email only, add whatever you need.

Note: you will need the following two lines in your configuration.yaml

system_log:

fire_event: true

automation:

alias: Automation Fail Detector - Notify
description: Triggers whenever any automation fails
triggers:
  - trigger: event
    event_type: system_log_event
    event_data:
      level: ERROR
conditions:
  - condition: template
    value_template: >-
      {{ 'automation' in trigger.event.data.name.lower() or 'script' in
      trigger.event.data.name.lower() }}
actions:
  - action: script.email_notification
    continue_on_error: true
    data:
      emailsubject: "Automation Failed: {{ trigger.event.data.name }}"
      emailbody: |-
        An automation has failed!

        Failed Component: {{ trigger.event.data.name }}

        Error Message: {{ trigger.event.data.message }}

        Source File: {{ trigger.event.data.source }}

        Time: {{ now().strftime('%Y-%m-%d %H:%M:%S') }}

        {% if trigger.event.data.exception != '' %}Exception Details:
        {{ trigger.event.data.exception }}{% endif %}
mode: queued
max: 20

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

The original was posted on /r/homeassistant by /u/BossRoss84 on 2025-12-20 06:48:13+00:00.

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

The original was posted on /r/homeassistant by /u/llzzrrdd on 2025-12-20 12:15:47+00:00.


Finally solved the problem that's been bugging me for years: my entire smart home depending on one VM staying alive.

The setup:

  • 3x Proxmox nodes with Pacemaker/Corosync clustering

  • DRBD replicated storage (3.6TB, dual-primary with OCFS2)

  • Floating virtual IP that moves between nodes on failure

  • Home Assistant, Mosquitto, Zigbee2MQTT, ESPHome, Node-RED all in Docker on NFS

  • Ethernet Zigbee coordinator (TubesZB) and Bluetooth proxy (Olimex ESP32-POE) — no USB dongles

  • Local voice assistant running on RTX 3090 Ti via Ollama — zero cloud

The big lesson: USB dongles and failover don't mix. Had to migrate everything to Ethernet-based peripherals before the cluster could actually fail over cleanly. Re-pairing 40+ Zigbee devices was... fun.

Now I can yank a power cable from any node and the house keeps working.

Full writeup with architecture diagram: https://kyriakos.papadopoulos.tech/posts/home-assistant-high-availability/

Happy to answer questions about the Pacemaker setup or the local voice stack.

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

The original was posted on /r/homeassistant by /u/babahumor on 2025-12-20 07:39:54+00:00.


I recently picked up the M5Stack Tab5 to use as a room controller. For those who haven't seen it, it's a 5" touch display running on the new ESP32-P4.

The best part is it runs ESPHome natively, so it integrates instantly into Home Assistant without needing an Android tablet setup or Kiosk browser issues.

What works:

  • 5" Touchscreen (super responsive)
  • Built-in Relays/Sensors [BMS, Mic, Camera, Rotation, Bluetooth, SDHC]
  • Direct API connection to HA

It took some work to get the config right since the chip architecture is new, but it's rock solid now. I've documented the full setup process and shared my config code here for anyone looking for a dedicated wall panel or a portable remote control to HA solution:

https://bababuilds.com/blog/esphome-on-m5stack-tab5/

Happy to answer questions if you're stuck setting one up!

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

The original was posted on /r/homeassistant by /u/NoAd9118 on 2025-12-19 22:35:18+00:00.

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

The original was posted on /r/homeassistant by /u/ginandbaconFU on 2025-12-19 23:38:03+00:00.

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

The original was posted on /r/homeassistant by /u/GeeHiAmyGee on 2025-12-19 17:37:27+00:00.

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

The original was posted on /r/homeassistant by /u/menofgrosserblood on 2025-12-19 12:58:51+00:00.


I installed Home Assistant on a Raspberry Pi 4 more than 3 years ago but for whenever reason, I never had much set up. The integration with Z-Wave was perplexing to me. Integrations versus devices versus entities. I got stuck on the dashboard, unable to change the primary dashboard.

For years I dreamed of having a working Home Assistant ecosystem but struggled.

In the last few weeks, I recommitted to it and finally understand the platform. And last night, I pressed an Aqara button from bed which turned off my TV and bedroom lights and turned on a fan. That complex automation worked Zigbee, Z-Wave and the Roku integration all at once, effortlessly.

I was able to get my door lock (Baldwin, Z-Wave) to display lock status on my dashboard. I put a temp and humidity sensor in our dahlia tuber cooler and had Claude write a bit of code that prints if the dahlias are happy or if they’re in the danger zone (too warm or too cool). I’ve integrated UniFi Protect and can see live video streams of my cameras from the dashboard. I can remotely turn off and on my Flex 8600M ham radio.

This is such a cool ecosystem and I’m excited to purchase more sensors.

Question: What sensor should I invest in to put around my house to create a Bluetooth presence map so I can find my wife’s iPhone when she misplaces it? The M5 Stack Atom?

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

The original was posted on /r/homeassistant by /u/joostlek on 2025-12-19 10:38:05+00:00.

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

The original was posted on /r/homeassistant by /u/angrycatmeowmeow on 2025-12-19 15:43:14+00:00.

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

The original was posted on /r/homeassistant by /u/k0enf0rNL on 2025-12-19 15:00:31+00:00.


So I just got a Hyundai Ioniq 5 2 weeks ago and I've created several automations to charge my EV at the cheapest times of the day. It is connected to my Google Calendar and uses the Google Routes API to figure out how much charge I need for the next event where I need the car.

When the car is plugged in it determines what charging strategy it should use based on the current charge and what I need for the next event in the calendar.

When the car is below 25% it starts charging immediately to 25% charge, no matter the current price.

Above 25% and below the target it will figure out how many minutes of charging it needs to reach the target and then calculates which moments to charge the car before the next event based on the energy prices.

Above the target it will charge the car when prices are cheap (below €0,20 per kWh for now) and calculates which of those moments where the price is cheap to use to get up to 80% charge. For example if the car needs only 30 minutes of charging and there are 2 moments of 15 minutes where the price is €0,16 per kWh it will use those 2 moments instead of other moments where the price is below €0,20 per kWh.

If prices are below €0,16 per kWh and the average of the day is above €0,22 (like last night) then it will charge to 100%. It will also charge to 100% if it has been 1 month since the last time it was charged to 100%, this is to extend the life of the battery. it will only do so if prices are below €0,20 per kWh.

When prices are not cheap enough the car will charge purely on solar energy.

To do all this I created some helpers which gather all events on the next day I need the car, total amount of km's that I need to drive for those events, the battery target based on the km's and an estimate of the amount of charge in the car because the car updates every 4 hours and I don't want to make that quicker and drain the 12V battery.

I also created the automations to charge the car at the right time of the day using a script which calculates the cheapest price window based on the amount of minutes I need and before which datetime I need it.

And to make it easily visible how much I have saved I used the Dynamic energy cost integration to track the actual cost per session, the normal cost for the session (using the daily price average), the total savings this session and the total savings since I started to track it.

This is what the dashboard looks like for now (forgive the Dutch)

https://preview.redd.it/3xd48o3uc68g1.png?width=1028&format=png&auto=webp&s=0ba4f8947fd4f1619fe6651ca4d6e58b3f3d1f83

Top right: Battery estimate (resets when car updates status)

Bottom left of top section: Total km's next day I need the car

Button top of middle section: Start charging the car NOW

Left select box of middle section: Charging strategy currently being executed (emergency, smart charge to target, cheap and force)

Right select box of middle section: Current state of the charger (currently pure solar)

Then the bottom section is Real session cost, Normal session cost, savings this session, total savings

Quite happy with how everything works so far, saved €2,73 last night which is about 34%. I will report back in a couple months to see how much home assistant has saved me.

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

The original was posted on /r/homeassistant by /u/BrightonBummer on 2025-12-19 14:42:14+00:00.

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

The original was posted on /r/homeassistant by /u/DiggingForDinos on 2025-12-19 14:02:44+00:00.

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

The original was posted on /r/homeassistant by /u/alyflex on 2025-12-19 11:10:06+00:00.


I have been programming for 2 decades at this point in a variety of languages, both high and low level, and I have intricate knowledge of python, yet despite this I feel utterly lost when trying to do much of anything in home assistant. I am currently running home assistant OS in a virtual machine on my server.

I have read the documentation on https://www.home-assistant.io/docs/ and have generally tried searching the forums every time I want to use home assistant for something. But it always just ends up being this kinda weird guesswork where I copy paste some stuff from someones yaml file and try to run it and if it doesn't work I'm fucked. Every time this happens I keep thinking how simple something like this would be to make if only I had my home assistant as a repository and python project that I could open in pycharm or visual studio, have type hints while programming, and click run or debug to test my solutions.

It is not even that I am completely unfamiliar with yaml programming. My server hosts a bunch of services all run through various docker compose files, however I feel like there is a huge difference between docker-compose.yaml, and the yaml's required by home assistant.

Am I doing something wrong? Is there an alternative to home assistant for people who actually do program?

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

The original was posted on /r/homeassistant by /u/GenericUser104 on 2025-12-19 10:13:17+00:00.

view more: next ›