r/homeassistant • • 22h ago Bravo

๐Ÿ› ๏ธ DIY / Hardware Vindstille: Custom firmware for the IKEA VINDSTYRKA with 0.01ยฐC resolution

Post image
175 Upvotes

I have had a VINDSTYRKA for a while and used it mainly as a temperature sensor with a nice display, but have been disappointed with the lack of decimal precision for temperature and humidity.

After taking it apart and looking at teardowns, I saw the core chip is a lot more capable than what is reported via Zigbee. I found out the debug pads could be used to erase the IKEA firmware and flash a custom one.

After a lot of testing loops with AI to probe all the hardware, I now have a custom firmware that exceeds the stock IKEA one. As well as having 0.01 precision for temperature and humidity, it also exposes:

  • Backlight control and brightness
  • Configurable backlight timeout and always-on mode
  • Individual control of unused LCD icons
  • Temperature and humidity offset
  • Enable/disable IKEA automatic case compensation
  • Adjustable sensor reporting interval
  • Celsius/Fahrenheit display option
  • Show current VOC level on unused pollen display

This has been developed against Zigbee2MQTT, including an external converter and OTA updates for future releases.

As far as I can tell, this is the first native replacement firmware for the VINDSTYRKA. Unlike the existing ESPHome/ESPEasy mods, it runs on the original chip, so no ESP board is needed.

I've only tested this on my own device. It requires soldering wires to the debug pads and flashing over SWD; I used a Raspberry Pi as the programmer. The process completely wipes the stock IKEA firmware, with no way back that I know of.

Here is the repo: https://github.com/MrLemur/vindstille

I don't intend to provide any binaries for the firmware. This is quite an involved process, so building it yourself is a lot safer.

A large thanks goes to Dormouse, a project for a long-lasting Zigbee temperature sensor using the same chip as the VINDSTYRKA. The skeleton of the firmware comes from that project.


r/homeassistant • • 21h ago Bravo

๐Ÿง  Artificial Intelligence A moment of clarity

Post image
92 Upvotes

Was having AI walk me through building a card for my Kia EVโ€ฆ.


r/homeassistant • • 6h ago Heartwarming

๐Ÿช› ESPHome Introducing Matter-Reflex : let an ESPHome run your Matter automations faster, or when HA can't

80 Upvotes

I have a few IKEA BILRESA buttons, and they don't support Matter binding. That means every press goes through Home Assistant. When HA is down (updates, reboots, border router offline, or me breaking something ๐Ÿ˜…), the buttons stop working.

That always bugged me. The button and the light are on the same Thread network, so they shouldn't need HA to talk to each other.

So I built Matter Reflex. It's an ESP32-C6 running ESPHome that handles simple automations locally. You write your automations in HA as usual and add a reflex label to the ones you want. The integration then pushes the supported rules to the ESP and sets up the Matter permissions for you. After that, the ESP listens for button presses and sends commands straight to the lights, plugs or blinds. The rules are saved in flash, so they survive a reboot.

The name comes from spinal reflexes. HA is the brain, but turning on a light shouldn't always have to go through the brain.

There are two modes:

  • Direct: the ESP always runs the automation, and HA can take over if the ESP goes offline.
  • Fallback: HA runs the automation normally. The ESP only steps in when HA or Matter Server goes down, and it hands control back when HA returns.

You can also keep two versions of the same automation: the full one in HA and a simpler one on the ESP for outages.

In Thread-only mode, traffic between devices on the same mesh stays on Thread. That means it should keep working without your LAN or an external border router, as long as the rest of the mesh is still connected. There's also a Wi-Fi-only mode and an experimental Wi-Fi + Thread mode.

Right now I have BILRESA controlling my lights and a blind with HA completely off. Contact, motion, leak, temperature and humidity triggers are supported too, but I've only tested those in the simulator so far.

It's still experimental, so a few caveats:

  • It only handles simple automations. Templates, delays and complex conditions stay in HA.
  • Fallback can take up to about 10 seconds to kick in.
  • During a handover, an action might be missed or happen twice.

I'm using a Seeed Studio XIAO ESP32-C6. To set it up, you flash the ESPHome firmware, commission the board and install the custom HA integration.

Code and setup instructions (open source, MPL-2.0)

If you have the hardware, give it a try and let me know how it goes. I'm especially curious about other devices and what works or breaks with them. If something fails, please open an issue with your device models and an example automation.

PRs are welcome, but testing on different devices, fixing the docs or adding translations helps just as much. Even telling me where you got stuck during setup is useful.

I hope the community finds this open contribution useful. Enjoy!


r/homeassistant • • 19h ago

๐Ÿ› ๏ธ DIY / Hardware Costco Mirror/ESP32

Thumbnail
gallery
49 Upvotes

Has anyone reversed engineered the Costco bathroom mirror, working on doing it myself but taking a lot longer then anticipated, planning on using an esp32 to add it to home assistant. I appreciate any help!


r/homeassistant • • 17h ago

๐Ÿ–ผ๏ธ Show & Tell Update: the Zigbee capabilities database now has a proper site, and Zigbee2MQTT users can contribute too

43 Upvotes

Four months ago I posted here that I was building a community database of what Zigbee devices actually support, and asked ZHA users to help grow it. Thank you to everyone who shared a scan. Here's where it's got to.

It has its own site now: ๐Ÿ‘‰ zigbee.solgaard.uk (free, open data, no account to browse; the old address redirects there).

At 190 devices and 208 scans it had outgrown the technical search page I posted last time, so I've rebuilt it around the questions people actually ask. The aim is still answers based on evidence from real homes, where you can always see what an answer rests on, but presented so you don't need to read a device scan to use it.

  • "Which remote can dim a light without Home Assistant?" Find the right device gives a shortlist and says what's been tested and what's only declared.
  • "Is it the device or my setup?" Real-world insights separates problems seen by two or more people from one-off reports, and shows where results differ by firmware. Example: the IKEA Remote Control N2's group binding worked on firmware 0x00010024 (2 tests) and didn't on 0x02040016 (1 test).
  • "What's it like to live with?" Owners answer a few questions: do presses arrive, does it stay connected, battery life, a rating.
  • Every device has its own page you can link in a forum thread or a GitHub issue.

Zigbee2MQTT users can contribute now too. Last time it was ZHA only. Now there's:

And from any setup, you can tell us how a device behaves (it needs a GitHub account).

On "why not add this to Blakadder?", question from last post: fair point, and I don't want to be the 15th standard. Blakadder answers "does it pair?". This answers "what does it actually do once paired, on which firmware, and how sure are we?", from structured scans rather than write-ups. The data is open (CC0), so Blakadder or anyone else is welcome to use it.

What would you most want to know about a device before buying it?


r/homeassistant • • 18h ago

๐Ÿ–ผ๏ธ Show & Tell The universal 433Mhz + Infrared remote is done.

Thumbnail
gallery
30 Upvotes

It's done and in its place.

My Christmas Tree uses a radio remote to turn it on and change colors / fade scheme. I wanted to see if I could replace the remote with Home Assistant control, but I also didn't want a project that was only useful for basically a month and a half every year.

So, I also added in both an IR LED and an IR receiver so I could use it as a universal remote. I have an LG sound bar that is the worst when it comes to power management. There's a single power button it the remote for it, and after you turn it on, it will automatically turn itself off 4 hours later, even if it's currently playing something. You can turn off the TV and soundbar, watch something, turn it back off, leave for an hour, come back and turn it on again, and the speaker doesn't reset the timer, so it'll happily turn off in the middle of your next movie or TV show. It also will not come on automatically with the television. And the RokuTV remote won't control the soundbar, either.

With this setup, I've placed the box by the soundbar and I've got an automation that detects when the RokuTV is turned on and will turn on the soundbar via IR remote when you turn on the TV. There's a 5 second delay, but that's not a big deal. It saves "What'd we do with that tiny-a** remote again?!?" from happening. The radio signal for controlling the Christmas tree reaches through the walls easily to the living room where the tree is, so HA has full control of the tree as well.

Since it's a 433 Mhz radio, I imagine it would also work with a ceiling fan, or maybe even a mini-split HVAC head unit. It's just a matter of learning or finding the codes required.

Parts list:

  • Project box. I went with 3.94 x 2.68 x 1.97 inch so I'd have a bit of breathing room
  • USB-C power passthru for the box to make it pretty
  • ESP32-WROOM-32
  • CC1101 radio module
  • Multi-pack of 940nm IR LED diodes and VS1838B receiver
  • Assortment of resistors (needed a 22 ohm and 1k ohm resistor for the IR LED)
  • Assortment of transistors (needed a 2N2222 NPN for the IR LED)
  • Pack of 5mm plastic LED holders for panel mount
  • Bulkhead mount SMA male extension cable for mounting the antenna on the side

BONUS: I figured out a hidden remote button. The only power button on the remote is a power on/off toggle, but LG's controller in the soundbar supports a power-on button as well.

Optionally I could have exposed the IR receiver on the box but the ones I have don't easily mount on a panel and I figured if I need to learn other codes I can just pop the top off the box so it can get the signal.

Training both the RF codes and the IR codes was easy, then I hard-coded them into the YAML. I'd show pictures of the components in the box, but it's a bit embarrassing. I cut all my wires a bit long for flexibility, then basically just crammed it all in the box. Nothing rattles, not because it's mounted inside but because there's too much coiled wires for anything to flop around. lol


r/homeassistant • • 23h ago

๐Ÿ’ฌ Discussion Outside access to HA

28 Upvotes

What are you guys doing for access to your HA when out of the house? I had seen a Cloudflair option, tailscale and the HA $6/mo. Just wondering what everyone uses and if they have security concerns.


r/homeassistant • • 4h ago

๐Ÿ–ผ๏ธ Show & Tell Zigbee Pleasant Surprise

Post image
27 Upvotes

I now have my zigbee mailbox door sensor working and visible to home assistant which is close to 100ft away. I just built a small Esp32C6 Mail Notifier that lights up when mail is delivered (shown here). Excuse the ugly momentary contact switch.

As I was adding the zigbee mesh I noticed my down stairs hall light flashed a few times. When I went to my Zigbee network map I saw a new device ZLL Light by GE_Appliances. I had no idea what this was, then I remembered. Probably 10 years ago Home Depot had a sale on cloud controllable lights and a gateway (was it called Wink?). I think I bought a 3 three pack. Then about a year later they discontinued the product line and shut down their cloud services virtually bricking all the wireless capabilities. I thought I threw all out and replaced with them higher lumen LED lights, but I guess I forgot one. My zigbee mesh picked it up and now I can control it from home assistant. Like I said it was a pleasant surprise. I just love home assistant.


r/homeassistant • • 18h ago

๐Ÿ–ผ๏ธ Show & Tell Using the Wii as a controller

27 Upvotes

r/homeassistant • • 13h ago

๐Ÿ› ๏ธ DIY / Hardware Anyone found a good outdoor Zigbee gate sensor that can handle a wider gap?

Thumbnail
gallery
23 Upvotes

Iโ€™m using battery powered THIRDREALITY Zigbee sensors on two outdoor gates. The gates donโ€™t line up in quite the same spot every time they close, so sometimes Home Assistant still shows a gate as open even though itโ€™s latched. It needs to be Zigbee and hold up outdoors, but Iโ€™m open to modifying the sensors I already have, trying a different magnet, or rigging up something else entirely. Anyone found a setup that works reliably with a wider gap and a little misalignment? Curious what you used and roughly how far apart the sensor and magnet are with the gate closed.


r/homeassistant • • 20h ago

๐Ÿ–ผ๏ธ Show & Tell Done with your slow Shelly Wall Display?

Post image
23 Upvotes

In the meantime I created an hacs repo if you want to try https://github.com/Kimarie0000/fast-shelly-wall-dashboard

you're done with the lag on your Shelly Wall Display, this is for you. Mine annoyed me every single day: every tap had a delay, switching pages took a second or two, and any custom card or popup made it worse. I tried all the usual advice, native cards only, logic moved into template sensors, kiosk mode, no shadows. Better, but still it was not really responsive..
In the end I just stopped using the dashboard and made one small HTML page. That was the whole fix.
One file, plain JS and CSS, about 20 KB. No framework, no custom cards, nothing to load.
It lives in HA's www folder, so the display opens http://<ha>:8123/local/bedside/index.html.
The page talks to the HA WebSocket API directly: auth with a long-lived token, subscribe_entities for the dozen things I show, call_service when I tap.
Taps feel instant because the button flips right away and the real state arrives a moment later.
Token from a separate non-admin user, typed once, kept in local storage.
I'm sure others did this already, but I couldn't find a proper write-up, so here it is. Happy to share the WebSocket part if anyone wants it.


r/homeassistant • • 23h ago

๐Ÿ–ผ๏ธ Show & Tell Moved away from Apple Homekit. My new setup

Post image
20 Upvotes

this is my new home assistant setup. I have only fix the positioning of the device ๐Ÿ‘Œ


r/homeassistant • • 3h ago

๐Ÿ–ผ๏ธ Show & Tell Caregivers change every few weeks at my place, so my door now has a keypad with one code per person (ZHA, frient KEPZB-110)

19 Upvotes

I have a physical disability and 24h live-in care. The caregivers rotate every few weeks, plus family and a physiotherapist need to get in. Handing out keys and getting them back was a constant worry, and I can't get up to open the door myself.

So now there's a Zigbee keypad outside the apartment door.

Hardware: frient Intelligent Keypad KEPZB-110 (same as Develco KEYZB-110) in ZHA, 4x AA. A relay on the electric door opener does the actual opening.

The key idea: the keypad itself opens nothing. It only sends what was typed to HA, and one automation decides. Every person gets their own 4-digit code in a simple map inside that automation:

trigger:
  - platform: event
    event_type: zha_event
    event_data:
      device_ieee: <keypad>
      command: arm
variables:
  personen:
    "<code>": Name
  person: "{{ personen.get(trigger.event.data.params.code | default('') | string, '') }}"
condition:
  - "{{ person != '' }}"
action:
  - service: script.door_opener   # 1 s relay pulse
  - service: logbook.log          # "door opened by <person>"
  • New caregiver: add one line. Caregiver leaves: delete one line. Works instantly, no restart.
  • The logbook shows who opened the door and when.
  • From the 2nd wrong attempt I get a message on my phone (a counter in the same automation).

Lessons that cost me time:

  • The code is in params, not args. My first version checked args and never fired once.
  • Codes are strings, but a helper variable turned the input into a number, so it never matched the string keys. For two days no code worked. Fix: no helper variable, | string directly in the lookup.
  • The symbol keys (away / home / night) really arm ZHA's alarm panel, and "unlock" without ZHA's own master code sets it to triggered. My door doesn't depend on that panel, so I just ignore its state.
  • ZHA's alarm panel has its own default master code 1234. Change it, and never use it as a door code.
  • โœ• and SOS send nothing to HA (firmware 2.0.6). SOS is not usable as an emergency trigger the way I pressed it.
  • My NFC tag and my phone were not read as RFID at all, so it's codes only.
  • I wrote a small listener script that logs every zha_event of the keypad (codes masked). Ten minutes at the door with it answered more than the manual.

Text written with Claude (AI) from my own notes, because typing and speaking are hard for me. The build and the testing are mine.


r/homeassistant • • 19h ago

๐ŸŽด Custom Card Release: Layer Card: build a whole dashboard as one canvas, with layers, Photoshop-style effects and a visual editor (AI-assisted, full disclosure inside)

Thumbnail
github.com
17 Upvotes

I've been working on a custom card called Layer Card and wanted to share it in case it's useful to anyone else.

The idea: set a view to Panel (single card) and make Layer Card that one card. It becomes a full-screen canvas where you lay out your whole dashboard freely, like a Photoshop document. Any HA card can be a layer, and you can place it anywhere, at any size, on top of anything else. No more fighting grids and stacks. It's great for wall tablets, floor plans and control panels.

You design it at a screen size (iPad, phone, 16:9, or your own), and it scales as one piece to fill the screen, so nothing slides around. You can also give it separate layouts per device.

What it does:

  • Any card as a layer, plus text layers with live values, shapes, gradients and adjustment layers
  • Per-layer position, size, rotation, opacity, backgrounds, shadows and blur
  • Effects stack: drop shadow, glow, stroke, colour/gradient overlay, bevel, blur, blend modes
  • Visibility conditions and conditional overrides on every setting, and settings that follow entities
  • Folders, masks, Free Transform, transitions and loop animations
  • A full-window visual editor: layers panel, zoom/pan, grid, rulers, undo/redo, right-click menu
  • Camera layers pause when off screen to save performance

It works as a normal card in any view too, but Panel mode is where it really shines.

Install: HACS โ†’ Custom repositories โ†’ https://github.com/wayj84/layer-card (type: Dashboard). Then make a new view, set View type to Panel (single card), and add Layer Card.

Full disclosure: I built this with AI, specifically Claude. I came up with the ideas and design, tested it on my own setup and decided what went in, but Claude wrote most of the code. I know not everyone is comfortable with that, and that's fair. Sorry if it isn't your thing. It's been enormously useful for me and I wanted to share it rather than keep it to myself. The code is open (MIT), so anyone can read through it.

It's been tested in Chrome, Safari, and the HA app on Android and iOS. Bug reports and ideas are very welcome in GitHub Issues.


r/homeassistant • • 4h ago

๐ŸŽด Custom Card A bit different Climate card

Thumbnail
gallery
13 Upvotes

This is a showcase of what I'm currently working on - a Climate card with two variants - radial and a stepper (better to see on the youtube link attached below).

Animations can be turned off/on. It is possible to set materials, colours, icons and fonts in UI (without yaml). Basically it's fully customizable to suit everyone's needs.

I am no UX designer myself, but I want to make things look good and still usable. I sort of have my own vision, but I also browse the internet for dashboard design inspiration and then use AI to combine it with my ideas. I try not to create AI slop, just like a few other creators I've come across, but I guess this is on everyone else to judge ๐Ÿ™‚

Would you find any usage for this card?

If someone wants a link - it is a part of my bigger project called Glass Cards. Climate card together with the dashboard you see on the pictures, will be a part of it in a couple of days (still making some adjustments and collecting feedback).

GitHub: https://github.com/martinargalas/glass-cards

Documentation of all other cards: https://glass.argalas.org/docs

YouTube video of the card: https://www.youtube.com/watch?v=R8iqyLQXTrw


r/homeassistant • • 1h ago

๐Ÿ’ฌ Discussion Are you using test.mosquitto.org as broker?

8 Upvotes

I was just playing around with MQTT-Explorer, a really nice MQTT browser, and tried it on test.mosquitto.org.

Boy was I surprised what topics were active on this publlc broker! Lots of stuff from home assistant installations.

I am not sure if everyone using it is aware that ALL of their MQTT traffic is publicly visible. I have used it exactly once, as debugging help when I first set up my own broker.

Does anyone use it as main broker?


r/homeassistant • • 23h ago

โ“ Support Smart switches for 2,3,4 way lighting in the UK.

7 Upvotes

Doing up the lights in our new place and its literally ALL spot lights. One-way circuits are easy using Shelly 1 Minis, but I'm stuck on the 2-way (or more) ones.

The feed is at one switch and the light cable leaves from the other, and that end is a 3-gang with no room behind it. The spots only get switched live, so I can't put anything up there, and deeper back boxes aren't an option.

Main thing is I want the switches to keep working normally if HA goes down.

How have you handled your 2-way and 3-way circuits? Shelly at one end, smart switches, battery switches, rewiring? What worked and what would you avoid? I'm really trying to automate every light (our last place was all smart bulbs) by using switches this time.


r/homeassistant • • 20h ago

๐Ÿ–ผ๏ธ Show & Tell Dashboards for Christmas

6 Upvotes

Google Anti Gravity to make dash, added snow as a controllable helper.


r/homeassistant • • 7h ago

๐Ÿค” WTH Reminder: Test your leak sensors!!

5 Upvotes

I was lucky and heard the beep so the washing area was safe but no notification this time โ€ฆ while a few months ago it did work in a test -.-

Something for tonight once I have cleaned it all up.

Sensor used was the ikea variety.


r/homeassistant • • 4h ago

๐Ÿ–ผ๏ธ Show & Tell Finally posted a summary of my big matter over thread build

4 Upvotes

I built out an entire home assistant install from scratch on matter over thread last year using yellows and greens with zero tech experience. I spent a fair amount of time doing very dumb things and wishing I was smarter, but now, a year later, Iโ€™ve got 100+ inovelli switches deployed, a custom alarm system using 30 or so Eve sensors and konnected.io to pick up all the existing hardwired contacts - all on Alarmo, a custom 13 zone music system built on raspberry piโ€™s running hifiberry amp hats and picoreplayer, integrated automatic water shut off and water sensors at every logical point, zwave and matter smoke alarms, and an entirely local custom video security system - 8 or 9 Reolink cameras running frigate.

Iโ€™ve got buttons and remotes and nfc tags, Eve motion blinds, Samsung kiosks, humidity sensors, leak sensors, Nuki door locks, garage door controllers, backup power systems and the whole 9. Itโ€™s 392 devices in total, 190 of them matter over thread. The rest zwave and zigbee etc.

You can read about it here:

https://community.home-assistant.io/t/from-zero-tech-experience-to-a-whole-house-home-assistant-setup/1037873/20

but the short story is - I had no idea what I was doing and not only does it work incredibly well, it was a lot of fun to build. Itโ€™s magical. And if I can do it: you can, too.


r/homeassistant • • 10h ago

๐Ÿ–ผ๏ธ Show & Tell Recreated Homekits AI Summaries and "Story" push notifications

3 Upvotes

r/homeassistant • • 16h ago

๐Ÿ–ผ๏ธ Show & Tell Unifi UCI metrics in Home Assistant

Thumbnail gallery
3 Upvotes

r/homeassistant • • 21h ago

โ“ Support Fire 10 HD and Fully Kiosk/HA doesn't wake properly now

2 Upvotes

I have a 2021 version Fire HD 10 tablet running Fully Kiosk. It is set up so the android clock screensaver kicks after awhile and wakes when the onboard camera sees motion. It worked great for 5 years.

Then a few months ago something changed and now when it wakes there is a "connection lost, reconnecting" popup at the bottom and the HA pages don't refresh until I pull down to refresh the page.

I ran this through gemini and tried a handful of changes including invoking the refresh on connect options in Fully Kiosk settings.

Nothing has worked so far. There seems to be quite a few Fire / Fully Kiosk users here; have you seen this or know how to fix it?

Thanks!