Home Assistant

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

The original was posted on /r/homeassistant by /u/leonida_92 on 2026-05-13 09:06:08+00:00.


Let me start by staying this project will be completely FOSS, fully offline and you're only going to need a 1.3MB html file (which you can build yourself from the repo) and the 3D model.

I made some progress changing the architecture to React and refactoring it.

I'll made a list of the most useful features to me:

  1. Personalized views
  2. Personalized view thumbnails (can upload your own)
  3. Different rendering styles (even though for now its just white/clay mode)
  4. Change camera between Orthographic, Perspective and 2-point Perspective. Modify the field of view
  5. Set shadow quality based on the performance of your system
  6. Choose between different HDRIs (or upload your own) for different lighting effects
  7. Walk in the scene with WASD and change the walking speed
  8. Add pins to meshes assigned an entity. The pins are fully customizable and can display any attribute of the entity that you like (including multiple). The pins are only visible when selecting a view, not during oribiting or walking around.
  9. Tag system that lets you tag meshes for different purposes, including visibility so that you can create your own orthographic view of a single space.
  10. UI visibility option. After you've set everything up, you can choose what to display
  11. Material editor. A simple material editor for quick fixes to your scene.
  12. Lock/Unlock orbiting/moving around
  13. Create physical lights when assigning a light entity to a mesh. You can control its intensity, color and position
  14. Highlight meshes that are assigned a sensor or binary sensor based on the status (The door will be highlighted in your chosen color when opened)
  15. Every change you make is saved within a view, so you can even personalize the background of each view.
  16. QoL improvements

Now I want to focus on the UI and it should be ready for deployment.

You can host this html even outside of home assistant, but you won't be able to access the 'More Info' menu. Toggle works fine.

Let me know your thoughts.

Sorry for the messy video. I was too lazy to edit it.

EDIT: Something very important I forgot. The project is optimized to work even on the most outdated devices. When idle, you only generate frames when home assistant updates the entitites (usually 4-5 fps). The resource usage is minimal.

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

The original was posted on /r/homeassistant by /u/theplayingdead on 2026-05-13 07:45:41+00:00.


I plugged a tapo P110 smart plug to water bowl's pump to track the usage. I realized when water level is low wattage decreases by about 0.1 watt. Surprisingly, smart plug is sensitive to those changes and shows the difference in HA. I have created an helper to average last 10 minutes of data for a more smooth data.

Now I am notified when the water level is low or empty. This is no way fool-proof or reliable way to track the water level but it helps.

Here you can see the dip when water level is low and after I filled the bowl

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

The original was posted on /r/homeassistant by /u/t0m1o1 on 2026-05-13 04:27:54+00:00.

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

The original was posted on /r/homeassistant by /u/triston_h on 2026-05-13 02:15:35+00:00.

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

The original was posted on /r/homeassistant by /u/Commercial_Police on 2026-05-12 22:04:19+00:00.


For months, my house felt haunted. Lights randomly flickered on and off. I’d walk into a room, and the lamp would turn on like it was greeting me. At first I thought it was a wiring issue, so I called an electrician. He found nothing. Then I blamed the smart bulbs. Returned three sets, thinking they were defective.

Then things escalated. My thermostat would crank up to 80 degrees in the middle of the night. My coffee maker brewed at 3 AM. I even caught my robot vacuum doing donuts in the living room at midnight. I was ready to call a priest.

Then, one morning I opened my smart home app and saw that every single device had been renamed to "Secure your MQTT". I don’t know what it is but I set a password. I hope securing it helps. Will see.

Jason

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

The original was posted on /r/homeassistant by /u/Less-Quarter-4885 on 2026-05-12 15:59:33+00:00.

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

The original was posted on /r/homeassistant by /u/Fragrant-Coast5355 on 2026-05-12 14:31:28+00:00.


https://i.redd.it/ycal3hktqp0h1.gif

I have 11 Aqara FP2 presence sensors in my apartment today and they form the backbone of my smart home automation: lights fading on and off, turning on the extractor fan and towel heater in the bathroom, turn-on-alarm notifications, etc. They are amazing, but they're also full of bugs: people in bed disappear, ghosts are common, targets get stuck. I installed them knowing they were pretty bad but that at some stage something better would arrive and I'd be able to replace them.

So I was very excited to read about the Everything Presence Pro sensor which combines:

  • a motion sensor (for fast initial detection),
  • a target sensor for tracking 3 targets as they move through the room (but which can lose targets when they're still), and
  • a static sensor that detects ongoing presence even if the target is still

These three sensors combined allow you to:

  • react instantly when somebody enters the room, eg turning on the main lights
  • react when the person enters a zone of interest, eg when the person climbs into bed we can turn off the main lights and turn the reading lights on at a low level
  • react when the last person leaves the room, or prevent reactions if somebody is still in the room, eg not turning the lights back on while somebody else is in bed

Unfortunately, the zone configurator and firmware left me frustrated and disappointed, for a few reasons:

  • Noise: The target sensor feeds back raw X,Y coordinates which are noisy, so targets jump around.
  • Distortion: The radar's native view is distorted, so straight walls don't appear straight. That makes laying out a room tricky.
  • Limited zones: It has only four detection zones and two exclusion zones, all of which are rectangular and aligned with the sensor. Combined with the distortion problem above, it makes it very hard to lay out a room realistically.
  • Coarse detection: A target is either in a zone or it isn't. There's no way to express where it came from (the doorway vs. mid-room), how long it's been there, or how long since it last moved, which matters when someone is asleep.
  • Resolution mismatch: The configurator can draw at 5 cm precision but actually the target sensor resolution is 32 cm.
  • Chattiness: Every device streams high volumes of coordinate updates that Home Assistant mostly discards. With 10–15 sensors that adds up quickly.

But of course, this is open source! So I decided to see whether I could build something I liked more.

Today I'm releasing version 1 of Everything Presence Pro Grid, which allows you to map your room on a 20 x 20 grid that you can paint to assign cells to different zones. It is designed to work out of the box but still gives you access to the internal knobs when you need it.

Github Repo: https://github.com/clintongormley/everything-presence-pro-grid/

Documentation: https://clintongormley.github.io/everything-presence-pro-grid/

What this integration does differently:

  • Perspective-corrected grid: A four-corner calibration wizard maps the radar view onto your actual room. Walls are straight, and zones line up with real-world geometry. Cells are 30 cm × 30 cm (1 ft × 1 ft).
  • Seven painted zones, plus an eighth "Rest of room" fallback: Zones are polygonal, can be discontinuous, and are drawn by clicking grid cells.
  • Zone types: Bundle sensible thresholds and timeouts for each kind of area (e.g. bed, transit, rest, etc), so a bed zone can hold presence for minutes while a hallway zone clears in seconds. The Custom type exposes the underlying parameters.
  • Cross-zone target tracking: Targets are followed as they move from one zone to another, so the handoff between zones is clean and fast.
  • Overlays for refining detection: Mark doorways with Entry/Exit overlays, and noise sources with Interference or Suppress overlays.
  • Furniture layout: Drop furniture stickers on the grid so the live overview is easy to read.
  • On-chip processing: Home Assistant gets a single Occupancy binary sensor plus per-zone presence sensors, instead of a constant stream of target coordinates. Home Assistant only receives the updates you're interested in.
  • Position smoothing: Brief radar jitter is filtered out before it reaches the zone engine, so zones don't flap when a target is near a boundary.
  • Auto-dismiss for stuck targets: A target reported at exactly the same coordinates for several minutes is automatically dropped, so a phantom the radar got fixated on stops keeping a zone occupied.
  • Built-in flasher: Install and update firmware from the panel.

Hopefully others will find this useful, and I would love to hear what you think. If you do give it a go you will need to replace the firmware on the device, but it is easy to restore the original firmware should you decide to go back.

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

The original was posted on /r/homeassistant by /u/f17mkx on 2026-05-12 14:35:52+00:00.

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

The original was posted on /r/homeassistant by /u/StanleyLock on 2026-05-12 13:57:56+00:00.

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

The original was posted on /r/homeassistant by /u/S3rp1x on 2026-05-12 10:26:30+00:00.

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

The original was posted on /r/homeassistant by /u/KruseLudington on 2026-05-11 21:46:08+00:00.


Noonlight is a 24/7 monitoring service for police, fire and medical services available across all 50 states in the USA. The original integration supported very minimal dispatch context, primarily police, fire, and medical dispatch requests with no context. This fork modernizes and extends the integration so Home Assistant automations can provide much more useful context to Noonlight.

Major additions include:

  • Noonlight Dispatch API v2-compatible workflow support
  • Sandbox testing support
  • Sandbox server token override support
  • Production vs sandbox safety protections
  • Human-readable alarm cause support
  • Dispatch instruction support
  • Home Assistant dispatch lifecycle events
  • Webhook receiver support
  • Improved logging and diagnostics
  • API endpoint override support
  • Token endpoint override support
  • Better Home Assistant automation integration
  • Cleaner event-driven architecture

This allows Home Assistant automations to include information such as which sensor triggered, which room or area was involved, whether the alarm is intrusion/fire/medical related, whether the alarm is TEST or LIVE, occupancy context, property access information, dispatcher instructions, and contact workflows.

https://github.com/KruseLuds/noonlight-hass

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

The original was posted on /r/homeassistant by /u/sfrechette on 2026-05-11 19:22:11+00:00.

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

The original was posted on /r/homeassistant by /u/ActuallyReadTheBible on 2026-05-11 19:15:37+00:00.

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

The original was posted on /r/homeassistant by /u/Rude-News-8416 on 2026-05-11 18:11:08+00:00.


I am a slow adopter when it comes to smart home hardware. The companies below have earned permanent spots in my Home Assistant setup over several years of use. When I need a new sensor, camera, switch, or coordinator, I default to one of these without researching alternatives. That is the time-saving payoff of brand loyalty.

But it might also be making me miss something better. So: change my mind.

**Third Reality (sensors, smart plugs)**

When I need a sensor and they make it, I buy theirs without checking alternatives. Strict Zigbee 3.0 compliance, AA batteries instead of CR2032 in most sensors, OTA firmware through HA. They are good Zigbee mesh citizens, which matters when your mesh has devices from five other brands on it.

**Reolink (cameras and NVR)**

PoE cameras paired with their NVR means my video never goes to anyone's cloud. The native HA integration is genuinely good: doorbell events fire in real-time, snapshots come from the camera's API and not a buffered stream, AI detection events are granular enough to build real automations on. Worth knowing they support ONVIF and RTSP if you want to bypass their integration entirely.

**SMLight (Zigbee and Thread coordinators)**

Network-attached coordinators instead of USB sticks. The SLZB-06 line sits on Ethernet, can be PoE-powered, and lives wherever the mesh needs it. Devices that were finicky on USB coordinators tend to behave when you switch.

**Zooz (Z-Wave coordinators and devices)**

The workhorse of Z-Wave. Their 800-series coordinators support Z-Wave Long Range, which extends reliable range to several hundred feet through obstacles. Their switches and sensors are ETL certified, well documented, reasonably priced. Not flashy. Just consistently works.

**Inovelli (smart switches)**

Premium pick for smart switches. The RGBW notification bar turns the switch into an ambient information display: pulse red when the security system is armed, blue if rain is forecast, countdown for the laundry cycle. Outstanding customer support, often direct from company leadership. Worth the price for switches that matter.

**Shelly (invisible relays and miniature devices)**

Tiny relays that fit behind a traditional wall switch or inside the appliance you already own. They turn dumb devices smart without replacing them. Multi-protocol, local-first, MQTT to HA out of the box. The form factor is the magic. Anywhere a full smart switch will not fit, Shelly probably will.

Who is missing? What have you been using long enough to vouch for? Occasionally, it is a good idea to take a look around. This slow adopter is willing to be convinced.

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

The original was posted on /r/homeassistant by /u/internettingaway on 2026-05-11 16:18:35+00:00.

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

The original was posted on /r/homeassistant by /u/keybacpa on 2026-05-11 15:35:12+00:00.

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

The original was posted on /r/homeassistant by /u/retrohaz3 on 2026-05-11 14:35:16+00:00.

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

The original was posted on /r/homeassistant by /u/denzoka on 2026-05-11 13:02:26+00:00.


I have spend hours building the perfect dashboard ( did not achieve exactly what i wanted but it was good enough for me :p ), and at the end, the snappiness wasnt there.

So i went down a rabbit hole on how to speed up HA to get the snappiness that i wanted. Turns out it usually comes down to "hidden" health factors like recorder fragmentation, huge DB sizes or entity bloat ( application hygiene ). A high CPU usage doesnt seem to slow it down that much.

I have been codifying this into a project called HAGHS ( Home Assistant Global Health Score ). Its a scoring system that weights hardware metrics against application hygiene. It helped me identify some "zombie entities" that needed to be adressed and to shrink down my DB size. I can feel the difference now, automations trigger faster which i did like the most :)

Im curious of what you guys think of this? Feel free to have a look and leave any feedback for me.

Cheers, D.

https://github.com/D-N91/home-assistant-global-health-score

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

The original was posted on /r/homeassistant by /u/Nyoka_ya_Mpembe on 2026-05-10 21:45:25+00:00.

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

The original was posted on /r/homeassistant by /u/Rude-News-8416 on 2026-05-10 19:34:15+00:00.


The standard way to add conditions to a device in HA is to include them in an automation. The automation has a trigger, a condition block, and an action. The conditions are checked when the automation fires, and only then. If the conditions are not met, the action is skipped.

This works for most situations. It fails when the rules are vital enough that a sloppy script, a voice command, or a stray tap on a dashboard can ignore them. These manual overrides walk right past your safeguards and leave your hardware in a state it was never meant to handle.

I was presented with this particular problem with my Motion Blinds. If a shade is closed on an open window, the Loja breeze catches the shade like a kite, damaging it instantly.

The solution is to stop treating safety like an afterthought and start treating it like a filter. A guarded entity acts as a suspicious middleman standing in between the command and the device. No matter where the command comes from, a voice assistant, a dashboard tap, or an automation, it has to clear the guard first. The guard inspects the request and either grants passage, edits the instruction to keep things safe, or drops the command entirely.

I will use my motorized shades as the primary example because the failure is so easy to visualize. But this same blueprint works for door locks, smart appliances, and thermostats. It applies to any device where you want to put a set of hard rules in front of the "execute" button.

The shade case is simple. If a window is open and a strong gust comes in, a partially closed shade can catch the wind and damages the fabric or the motor. The shade should not be allowed to go below its safety limit while the window is open. That rule has to hold whether the command came from the dashboard, a voice assistant, or an automation.

The implementation is a template cover that wraps the real cover. Hide the real entity from your dashboard and your voice assistant. Expose only the wrapper.

Below is the version I run for my living room shades. The real entity is cover.living\_shades. The window sensors are the two window contacts. The disable toggle is an input_boolean for manual override. The wrapped entity I expose is cover.living\_shades\_guarded. My safety limit is 62, but you set whatever number works for your shades.

template:
  - cover:
      - name: "Living Shades Guarded"
        unique_id: "living_shades_guarded"
        device_class: shade
        state: "{{ states('cover.living_shades') }}"
        position: "{{ state_attr('cover.living_shades', 'current_position') }}"
        availability: "{{ has_value('cover.living_shades') }}"
        open_cover:
          - if:
              - condition: state
                entity_id: input_boolean.disable_living_room_shades
                state: 'on'
            then:
              - action: script.do_nothing
            else:
              - action: cover.open_cover
                target:
                  entity_id: cover.living_shades
        close_cover:
          - if:
              - condition: state
                entity_id: input_boolean.disable_living_room_shades
                state: 'on'
            then:
              - action: script.do_nothing
            else:
              - if:
                  - condition: template
                    value_template: >-
                      {{ not is_state('binary_sensor.window_living_room_left_contact', 'off')
                      or not is_state('binary_sensor.window_living_room_right_contact', 'off') }}
                then:
                  - action: cover.set_cover_position
                    target:
                      entity_id: cover.living_shades
                    data:
                      position: 62
                else:
                  - action: cover.close_cover
                    target:
                      entity_id: cover.living_shades
        set_cover_position:
          - if:
              - condition: state
                entity_id: input_boolean.disable_living_room_shades
                state: 'on'
            then:
              - action: script.do_nothing
            else:
              - if:
                  - condition: template
                    value_template: >-
                      {{ (not is_state('binary_sensor.window_living_room_left_contact', 'off')
                      or not is_state('binary_sensor.window_living_room_right_contact', 'off'))
                      and position | int(100) < 62 }}
                then:
                  - action: cover.set_cover_position
                    target:
                      entity_id: cover.living_shades
                    data:
                      position: 62
                  else:
                    - action: cover.set_cover_position
                      target:
                        entity_id: cover.living_shades
                      data:
                        position: "{{ position }}"
        stop_cover:
          - action: cover.stop_cover
            target:
              entity_id: cover.living_shades

script.do\_nothing is a one-line script with an empty sequence. It exists so the disable toggle has somewhere to send commands when you want the wrapped cover to ignore everything.

What the wrapper does:

open\_cover opens the real cover unless the disable is on. Wind cannot damage a blind that is going up.

close\_cover checks the windows. If either is open, it sets the position to the safety limit instead of fully closing. If both windows are closed, it closes the shade normally.

set\_cover\_position is the safety-critical handler. If the windows are open and the requested position is below the safety limit, it clamps to the safety limit. Otherwise it passes the requested position through.

stop\_cover always passes through. A stop is never unsafe.

The conditions live on the entity. Every command path has to go through them. There is no race condition, no watchdog automation racing the wind, no path that bypasses the safety check.

The same wrapper structure works for almost any entity in HA where you want a layer of protection between the dashboard and the device. A door lock you do not want HA to unlock when nobody is home. A smart plug for a space heater that should refuse to turn on if there is nobody in the room. Hide the real entity. Expose the wrapper. Put your conditions on the entity, not in a watchdog automation.

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

The original was posted on /r/homeassistant by /u/hampsterblade on 2026-05-10 16:31:48+00:00.

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

The original was posted on /r/homeassistant by /u/unammusic on 2026-05-10 11:58:23+00:00.


https://preview.redd.it/9orlhlo6ua0h1.png?width=1027&format=png&auto=webp&s=3bac70bd5be9c2ef8098dc6e4dead2a4c27d0078

Hey everyone,

A while back I shared git-ha-ppens, a native HA integration for version-controlling your config with git. The original version could auto-commit and push, but pulling was a missing feature.

v0.6.0 fixes that. The integration now periodically fetches from the remote (configurable interval, default 5 min) and pulls automatically when it detects you're behind. This means you can now actually do GitOps with your HA config:

  • Edit YAML in VS Code or on GitHub, push, and your HA instance pulls the changes automatically
  • Review config changes in a PR before they hit your live system
  • Roll back by reverting a commit and letting auto-pull do its thing

New in v0.6.0:

  • Periodic git fetch so auto-pull actually detects remote changes
  • Configurable fetch interval (60s to 3600s)
  • New sensors: Last Fetch Time, Last Pull Time, Last Push Time, Commits Behind, Commits Ahead
  • New git_ha_ppens.fetch service for manual fetch without merge
  • All existing features still work: auto-commit on file changes, auto-push, secret scanning, .gitignore management, AI commit messages

Everything is configured through the UI, installable via HACS.

⬇️ GitHub: https://github.com/manuveli/git-ha-ppens

PS: You should really try the AI Commit Message by just linking your conversation agent to the integration! My favorite feature so far!

PS2: Feedback and Stars⭐ welcome!

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

The original was posted on /r/homeassistant by /u/ScrapEngineer_ on 2026-05-10 10:31:52+00:00.


Hi all,

On mobile, so please forgive my formatting.

I got inspired by the cards of ESH, and decided to recreate them as lovelance cards.

For now I made

  • Possible issues card

This card shows devices with unavailable entities, you can filter out any entities you don't need. In addition it supports for checking if an entity as a certain value and then display a message.

  • Room card

A simple cards with an icon and an light entity. 2 additional sensors can be shown

  • Welcome card

Simple Welcome card that offers custom tabs.

Note: Even though I'm experienced dev, some AI tooling was used during the development.

https://github.com/brantje/ha-cards

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

The original was posted on /r/homeassistant by /u/chamathme on 2026-05-09 18:33:54+00:00.

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

The original was posted on /r/homeassistant by /u/xxpapertigersxx on 2026-05-09 17:52:13+00:00.


I made an open source Matter over Thread firmware for the Shelly 1 Gen 4.

Shelly said they likely won't add the feature via firmware update, offering Matter over Wifi instead. So I spent a chunk of time figuring it out for my off grid Sprinter van setup.

I have these little relays commissioned to both HA using the Matter integration and Apple Home simultaneously, all humming along as on/off devices for lights using Matter over Thread - both commissioned separately without a HomeKit bridge. What started this journey mainly surrounded requirements related to having a low infrastructure smart home on wheels where wifi isn't exactly the most reliable or power conscious option I wanted to go with on a mainly 12v solar/battery system.

Hope this helps someone else out like it did for me. It's fully reversible if you back up the stock firmware. Could even go ESPHome direction if you want OpenThread and don't care too much about the Matter protocol side of it.

view more: next ›