Home Assistant

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

The original was posted on /r/homeassistant by /u/SendMeANicePM on 2025-05-21 00:54:44+00:00.


I've just received my HA Green and I'm learning along the way. I discovered today that besides setting up my dashboard and integrating everything, I can do things like notify me what train is going past my house, or what plane it is that I can hear overhead.

These won't contribute anything to me but satisfy curiosities. What integrations etc do you have just for the sake of your own interest? I'm looking for inspiration.

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

The original was posted on /r/homeassistant by /u/AdaminCalgary on 2025-05-20 22:27:59+00:00.


I’m just starting out. I have an N100 based NUC with win11 pro and HA is running under virtual box. But before I get too far along, I’m wondering if that’s the best way. I don’t use this nuc for anything else so thinking about installing HAOS, ie bare metal. Right now it’s on my desk so I can connect to a keyboard monitor to manage windows. But will eventually move it to its permanent home on top of a cabinet away from a monitor because windows allows me to rdp into it. But with HAOS that access goes away. So wondering what is best practice, VM or HAOS. note that I’ll be getting a zigbee dongle in a few days and also have a couple of Bluetooth air quality monitors I want to integrate too.

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

The original was posted on /r/homeassistant by /u/InternationalNebula7 on 2025-05-20 19:50:23+00:00.


Gemma 3n sounds like the perfect low latency model for HA voice. I wonder if users will be able to skip the STT parts of the pipeline to get a seamless experience. Anyone playing with this idea?

Gemma 3n can understand and process audio, text, and images, and offers significantly enhanced video understanding. Its audio capabilities enable the model to perform high-quality Automatic Speech Recognition (transcription) and Translation (speech to translated text). Additionally, the model accepts interleaved inputs across modalities, enabling understanding of complex multimodal interactions. (Public implementation coming soon)

Gemma 3n leverages a Google DeepMind innovation called Per-Layer Embeddings (PLE) that delivers a significant reduction in RAM usage. While the raw parameter count is 5B and 8B, this innovation allows you to run larger models on mobile devices or live-stream from the cloud, with a memory overhead comparable to a 2B and 4B model, meaning the models can operate with a dynamic memory footprint of just 2GB and 3GB. Learn more in our documentation.

https://preview.redd.it/f02am0i0tz1f1.png?width=1999&format=png&auto=webp&s=04a318e0c139a14f0c093acf405caea004a967a9

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

The original was posted on /r/homeassistant by /u/Effective_Run_4364 on 2025-05-20 19:59:55+00:00.


Hey all - newbie here (with some experience). I’ve run into a weird pattern and wondering if anyone else has seen this.

Tried automating my Xiaomi X20+ (via Xiaomi Miot) to clean a specific room or enable mopping. Read all the posts, docs, tried every suggestion — nothing worked. The vacuum card buttons work fine, but call_action in automations just... does nothing. I double-checked the siid, aiid, and params - they seem to be correct. So I gave up.

Then I moved on and tried something totally different: show a popup with Browser Mod when my Reolink doorbell is pressed. The popup works instantly from Developer Tools, but put the same yaml in an automation and... nothing. Automation triggers, no popup, no error.

So now I’m thinking the issue isn’t Xiaomi or Browser Mod specifically - maybe my setup just doesn’t run “perform action” services from automations at all?

Am I missing something. Anyone run into this? Ideas how to troubleshoot?

I have Home Assistant Green.

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

The original was posted on /r/homeassistant by /u/theloneranger08 on 2025-05-20 12:39:44+00:00.

Original Title: The documentation for actionable notifications leaves a lot to be desired IMO. So, for people who are curious, here's an easy example to follow. It uses a different notify service but works just as well. I use it to choose which vacuum routine to run. No variables, just a simple event.

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

The original was posted on /r/homeassistant by /u/Corporal-Pike on 2025-05-20 10:20:11+00:00.


Just an FYI, I updated to 2025.5.2 this morning, which toasted LocalTuya. So today has been spent migrating 25 devices to Tuya-Local, updating dashboards, scenes and automations, and feeling a little frustrated. Hopefully this integration stays maintained!

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

The original was posted on /r/homeassistant by /u/bri999 on 2025-05-20 09:35:24+00:00.

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

The original was posted on /r/homeassistant by /u/Lopsided_Quarter_931 on 2025-05-20 09:32:04+00:00.

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

The original was posted on /r/homeassistant by /u/TimJethro on 2025-05-20 07:30:18+00:00.

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

The original was posted on /r/homeassistant by /u/mitsumaui on 2025-05-20 06:59:16+00:00.

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

The original was posted on /r/homeassistant by /u/jbmc00 on 2025-05-20 00:02:33+00:00.

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

The original was posted on /r/homeassistant by /u/memevertical on 2025-05-19 22:16:40+00:00.

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

The original was posted on /r/homeassistant by /u/r22cky on 2025-05-19 08:13:57+00:00.


I just stumbled upon this article, does this mean we will be able to use our voice assistant from HASS?

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

The original was posted on /r/homeassistant by /u/Bournerx on 2025-05-18 18:07:16+00:00.


Header

Hey Guys, its been some time since i posted my card last time. I work almost every day to make it better and i wanted to share again.

What does the card do?

It will show all your relevant entities gruped by domain/device_class that are in an active state.

You only need to link your entities or devices to one of your areas and the card will do the rest.

Light Theme

Dark Theme

  • 🤖 Auto generating card - Works when entities/devices are assigned to areas
  • ✅ Based on entity states - Shows entities that are in a on/active state (can be inverted)
  • 📚 Automatic Grouping - Entities grouped by domain/device_class
  • 📑 Popup View - Entities will render as Tile Cards in a new view
  • 🧠 GUI Editor - No code or scripts needed
  • 🔧 Highly customizable - almost everything customizable
  • 📱 Optimized for desktop and phones
  • 🌍 Available in all HA languages

With the latest update to 2025.5 i had to change the elements which are used in the card and now its even better. With the latest update you are able to show all entities regardless of the state and you are able to turn off/ turn on all entities at once.

Popup

I would be very happy if you leave some feedback. If you want to know more about it you can check Status Card on Github. You could also join my Discord if you like.

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

The original was posted on /r/homeassistant by /u/robl45 on 2025-05-18 04:20:42+00:00.

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

The original was posted on /r/homeassistant by /u/ByzantiumIT on 2025-05-18 11:31:17+00:00.

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

The original was posted on /r/homeassistant by /u/dmitridr81 on 2025-05-18 08:38:57+00:00.

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

The original was posted on /r/homeassistant by /u/dx4100 on 2025-05-17 20:58:59+00:00.

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

The original was posted on /r/homeassistant by /u/nutteloost on 2025-05-17 16:10:48+00:00.


Hi everyone! 

I’m happy to share Actions Card - a wrapper card that has the possibility to add a tap-action, hold action and / or double-tap action to any card you want!

Why I Created This Card

I noticed that many (custom) cards don’t support interactive actions, or I wanted to override their default behavior. For example, entity cards show the more-info dialog when tapped, but what if you want them to navigate to another view instead? My use-case was a custom camera card that did not support a tap-action, so I created my own custom card to achieve this.

Features

  • Add tap, hold, and double-tap actions to ANY card
  • Multiple action types:
    • Toggle entities
    • Navigate to other views
    • Open URLs
    • Call services
    • Show more-info dialogs
    • Open the Assist dialog
    • Fire custom DOM events
  • Optional confirmation dialogs
  • Configurable hold time
  • Can prevent / override default entity dialogs
  • Full visual editor support

Every Home Assistant action is supported!

You have a simple markdown card and you want to add an action? It's possible with this card.

You have a card and you don't like to native tap action? Wrap it in this custom card and replace the action.

You have a card which doesn't support actions? Wrap it in this card and configure an action.

There are alot of possibilities with this card.

Configuration Example

type: custom:actions-card
card:
  type: entities
  title: Lights
  entities:
    - light.living_room
    - light.kitchen
    - light.bedroom
tap_action:
  action: toggle
hold_action:
  action: more-info
  confirmation: Are you sure you want to see more info?
double_tap_action:
  action: navigate
  navigation_path: /lovelace/lights
prevent_default_dialog: true

Visual Editor

https://preview.redd.it/1uwot5ri8d1f1.png?width=2008&format=png&auto=webp&s=ba57ce2509a97c0a217d191d9f1c849b7f9eab92

Installation & More Information

For installation instructions and full documentation:

GitHub - nutteloost/actions-card: Wraps another Home Assistant card to add tap, hold, and double-tap actions 👈

I’d love to hear how you use this card in your setup and any suggestions for improvements!

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

The original was posted on /r/homeassistant by /u/ApolloAutomation on 2025-05-17 17:32:28+00:00.

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

The original was posted on /r/homeassistant by /u/ByzantiumIT on 2025-05-17 09:43:02+00:00.

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

The original was posted on /r/homeassistant by /u/anonymooseantler on 2025-05-17 09:12:51+00:00.

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

The original was posted on /r/homeassistant by /u/rogierlommers on 2025-05-17 08:35:56+00:00.


Every now and then I'm in a situation where an integration "needs attention". Sometimes it takes quite a while before I notice this. Therefore my question: would it be possible to receive an alert when this happens?

https://preview.redd.it/sd09ql1b0b1f1.jpg?width=2104&format=pjpg&auto=webp&s=45ba6c98b4427060cce933fd9daea812accb9219

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

The original was posted on /r/homeassistant by /u/ifight4theusername on 2025-05-17 01:23:16+00:00.


This took me hours of searching around to figure out, even though I've seen dozens of similar threads where people were looking to do this. So here it is, all the pieces you need in one place to make this work. Also, a little background on pressure and flow in case you don't know. With all of your faucets closed, no water flowing, you're basically going to have the exact same pressure everywhere. It isn't until you have flow that a pressure differential will form. The bigger the flow, the higher the pressure drop across the restriction (your filter). This drop will gradually get bigger and bigger as the filter gets clogged. There are a lot of factors here, but my system with new filters is around 2.5 psi drop with the bath tub on full blast (not shower head).

  • Hardware:
    • ESP32 (or whatever ESPHome device you want that is I2C capable)
    • ADS1115 (I ordered a few off of amazon)
    • Pressure sensor (I ordered 2 Autex 150psi sensors off of Amazon, mainly because they were cheap. They take 5V instead of the 3.3V the ESP is happy with, so the ADS1115 provides a 5V capable reading, plus a lot better ADC than the one in the ESP)
    • Whatever plumbing fittings you need to attach a sensor before and after your filter setup (the sensors I used are 1/8" NPT)
    • Some sort of breadboard and wiring to connect everything. I highly recommend soldering everything for the final product and not using the solderless breadboards. I know from past projects those can do very weird things when you have radio signals near them and/or doing things at frequencies higher than 1Hz. I did prototype on a solderless breadboard though at 1Hz sample rate.
    • My "final" product is a soldered protoboard, with all of the wiring covered in hot glue, wrapped in layers of electrical tape. Nothing but the finest workmanship
    • A USB power supply (mine is USB C, 2A capable but this is super overkill for this circuit)

solderless breadboard prototype

"Conformal coating"

Crawl space ready hardware

  • Software:
    • I'm not going to show you how to flash ESPHome, there are plenty of tutorials out there. Just get your ESP device talking on ESPHome with your HomeAssistant instance. I named mine "ESP_Water_Pressure" if you want to copy that so you can just copy pasta my code

Step 1: There are 4 wires to connect from your ESP to your ADS1115. Look at the pinout sheets for both of your devices, connect the 4 wires below to each component:

ESP -> ADS1115

5V -> 5V (VDD)

GND -> GND

SCL -> SCL

SDA -> SDA

Step 2: On the ADS1115, I wired the pre-filter sensor to A0, and the post filter sensor to A1. Follow that order if you want to copy pasta my code. The sensors have three wires, one 5V, one ground, and one signal. The signal wire goes to A0 or A1, then connect the 5V and ground wires to the power and ground from your ESP.

Step 3: Here's the code for your ESPHome device. Read through the comments for explanations or things you should change

#Use your board populated values except the friendly name
esphome:
  name: esphome-web-4f1d78
  friendly_name: ESP_Water_Pressure
  min_version: 2024.11.0
  name_add_mac_suffix: false

#Use your board populated values
esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:
- platform: esphome

#Change these values if you are not using the secret file, if you are make sure the names match
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Make sure you change the GPIO pins to match the ESP board you are using
i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  id: bus_a

#Config for the ADS1115, default address (not using multiple ADS1115s)
ads1115:
  - address: 0x48
sensor:
  #First sensor, pre filter
  - platform: ads1115
    #Choose the pin you want to use for the first sensor
    multiplexer: 'A0_GND'
    #This is the default gain, idk why, it works
    gain: 6.144
    name: "Pre-filter Water Pressure"
    #Read at 100Hz
    update_interval: 0.01s
    filters: 
      #Take 100 samples, average them together, then report every second. I had a lot of noise just using 1 or 10Hz. 
      - median:
          window_size: 100
          send_every: 100
          send_first_at: 1

      #Change this calibration if your sensor data is different, left side is voltage, right is PSI
      - calibrate_linear: 
          method: exact
          datapoints:
          - 0.5 -> 0.0
          - 2.5 -> 75.0
          - 4.5 -> 150.0
        
    unit_of_measurement: "PSI"
    #Only displays 2 decimals on dashboard but doesn't change reported value 
    accuracy_decimals: 2
    #This shows a gauge on the dash, nice to have
    device_class: pressure

  #Second sensor, same as the first except the name and multiplexer pin
  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 6.144
    name: "Post-filter Water Pressure"
    update_interval: 0.01s
    filters: 
      - median:
          window_size: 100
          send_every: 100
          send_first_at: 1

      - calibrate_linear: 
          method: exact
          datapoints:
          - 0.5 -> 0.0
          - 2.5 -> 75.0
          - 4.5 -> 150.0
        
    unit_of_measurement: "PSI"
    accuracy_decimals: 2
    device_class: pressure    

    

#Use your board populated values except the friendly name
esphome:
  name: esphome-web-4f1d78
  friendly_name: ESP_Water_Pressure
  min_version: 2024.11.0
  name_add_mac_suffix: false

#Use your board populated values
esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:
- platform: esphome

#Change these values if you are not using the secret file, if you are make sure the names match
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# Make sure you change the GPIO pins to match the ESP board you are using
i2c:
  sda: GPIO21
  scl: GPIO22
  scan: true
  id: bus_a

#Config for the ADS1115, default address (not using multiple ADS1115s)
ads1115:
  - address: 0x48
sensor:
  #First sensor, pre filter
  - platform: ads1115
    #Choose the pin you want to use for the first sensor
    multiplexer: 'A0_GND'
    #This is the default gain, idk why, it works
    gain: 6.144
    name: "Pre-filter Water Pressure"
    #Read at 100Hz
    update_interval: 0.01s
    filters: 
      #Take 100 samples, average them together, then report every second. I had a lot of noise just using 1 or 10Hz. 
      - median:
          window_size: 100
          send_every: 100
          send_first_at: 1

      #Change this calibration if your sensor data is different, left side is voltage, right is PSI
      - calibrate_linear: 
          method: exact
          datapoints:
          - 0.5 -> 0.0
          - 2.5 -> 75.0
          - 4.5 -> 150.0
        
    unit_of_measurement: "PSI"
    #Only displays 2 decimals on dashboard but doesn't change reported value 
    accuracy_decimals: 2
    #This shows a gauge on the dash, nice to have
    device_class: pressure

  #Second sensor, same as the first except the name and multiplexer pin
  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 6.144
    name: "Post-filter Water Pressure"
    update_interval: 0.01s
    filters: 
      - median:
          window_size: 100
          send_every: 100
          send_first_at: 1

      - calibrate_linear: 
          method: exact
          datapoints:
          - 0.5 -> 0.0
          - 2.5 -> 75.0
          - 4.5 -> 150.0
        
    unit_of_measurement: "PSI"
    accuracy_decimals: 2
    device_class: pressure    

Now you should have sensor data you can add to your dashboard and track... except wouldn't it be way easier to just subtract the values and set an alert when the pressure drop hits a certain PSI? Great, let's do that with a helper. Oh wait, it's 2025 and you CAN'T SUBTRACT TWO VALUES WITH A HELPER?!!?!?!

Fine, let's learn how to make a template sensor.

Step 4: Subtraction is hard. We have to use some YAML to do it. In Home Assistant, go to Settings -> Devices & Services -> Helpers tab -> Create Helper -> Template -> Template a Sensor. If you copied all of my names directly, you can just paste this into the "State template" but make sure you get the name of your device correct.

{{ states('sensor.esphome_web_4f1d78_pre_filter_water_pressure') | float(0) - states('sensor.esphome_web_4f1d78_post_filter_water_pressure') | float(0) }}

Choose psi for unit of measurement, pressure for Device class, measurement for state class, and choose the name of your ESP device for the Device. Your config should look like this:

https://preview.redd.it/y5ht1c9zt81f1.png?width=574&format=png&auto=webp&s=25d19a39a3d381e9605e3fcda72caf531d09da7a

Now you notice that we have way too many decimals... the easiest way I found to "fix" this is to just submit the template, then in your list of helpers, click the options on the template sensor we just made, go to Settings, then in the fourth dropdown box, change the display precision and hit update.

Step 5: slap ...


Content cut off. Read original on https://old.reddit.com/r/homeassistant/comments/1koh7ua/tutorial_esphome_dual_water_pressure_sensors_with/

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

The original was posted on /r/homeassistant by /u/prevoyant- on 2025-05-16 18:57:23+00:00.

view more: ‹ prev next ›