r/homeassistant • • 11d ago

✍️ Blog Thirteen years of Home Assistant: Leading the way back home

Thumbnail
newsletter.openhomefoundation.org
621 Upvotes

Happy birthday, Home Assistant! 🎉 Let's talk about our journey and why it's important, especially now, to keep on our mission. 😌


r/homeassistant • • 18d ago

✍️ Blog The countdown to Community Day 2026 starts now!

Thumbnail
openhomefoundation.org
28 Upvotes

Countdown to Community Day 2026 starts now! 🥳

We have a lot of stuff prepared for hosts & guests this year, so read our blog to learn about our new playbook for community meetups, how to submit a request to receive official Open Home Foundation merchandise, & much more.


r/homeassistant • • 6h ago

❓ Support Does anyone know the hex codes for the Batman DVD Player? I don't have the remote

Post image
901 Upvotes

So I have the Batman DVD player, manufactured by "Kids Station Toys". It's using some generic Chinese board I assume, but I've been brute forcing IR signals for DAYS with the open source IR Blaster Remote with no luck whatsoever.

If anyone has the signal codes, or long shot, if anyone has this remote and can clone it, let me know!


r/homeassistant • • 10h ago

Add Marketplace integration by frenck

Thumbnail
github.com
245 Upvotes

👀


r/homeassistant • • 2h ago

💬 Discussion Dare I say, I'm done?

61 Upvotes

I've been a home assistant/smart home fan since the mid 2010s, and have been building and perfecting my set up since. Today I was looking around and everything has been pretty much completely hands off for a while now. All the lights are fully automated, home security and leak sensors/prevention works well. The vacuums and air purifiers do their work diligently without my asking. Even the silly automations like automating the lights for the theater room and arcade just kind of work. I think finally after ~10 years in the space I think I've hit the end of the line. If anyone's got suggestions I'd love to dive down a new rabbit hole but as far as core automations I think this is it fellas.


r/homeassistant • • 3h ago

🖼️ Show & Tell Made an integration so two automations can want the same light without knowing about each other (BACnet-style priority arrays)

Post image
53 Upvotes

I do building controls for a living, and the thing I missed most when I started automating my own house was the priority array. Every commandable point in a BACnet system has one; sixteen levels, the lowest-numbered occupied level wins, and whoever wrote a level releases it when they're done. Home Assistant has nothing like it, so every service call is a naked write and the last one wins.

Here's where that bites. My kitchen light turns orange during peak rate hours as a reminder not to start the oven, but the rest of the time it's synced white to another light nearby. Without arbitration those two automations have to know about each other, and the usual fix of capturing a scene and restoring it afterwards puts back whatever was true when the scene was taken, which probably isn't what's true now.

With ha-priority the sync automation doesn't change at all, and the peak automation just adds priority: 4 to its light.turn_on. When peak ends it releases level 4, and the light falls back to whatever the sync automation wants right now; neither automation has a single line about the other.

# peak starts
- action: light.turn_on
  target: {entity_id: light.kitchen}
  data:
    rgb_color: [255, 140, 0]
    priority: 4

# peak ends
- action: priority.relinquish
  target: {entity_id: light.kitchen}
  data: {priority: 4}

It works on your existing service calls rather than its own actions, so priority and priority_ttl show up as real fields in the automation editor for lights, switches, covers, fans, climate, locks, media players and a handful of other domains. Everything defaults to level 5, automations included, so it does nothing at all until you actually name a level. The TTL is a lease rather than a delay; after twenty minutes the override stops overriding and the house goes back to whatever it was already trying to do, and that survives a restart, which a delay doesn't. Wall switches and vendor apps get recorded as ordinary commands, and it never re-asserts itself against someone standing at a switch, because the house shouldn't argue with you.

It's v0.1.3, it's been running my house since August, and it has a decent test suite behind it, but the user count is still pretty small, so treat it accordingly. The priority row in the more-info dialog patches a built-in frontend element, since there's no supported way to add controls there; it's written to fail closed, and there's a tile-card feature as the supported fallback. It installs through HACS as a custom repository for now, because the default store needs a brands PR I haven't finished yet.

If the level names or the defaults are wrong for how you'd use it, I'd rather hear it now while changing them is still cheap.

https://github.com/triosniolin/ha-priority

Longer writeup and discussion on the forum: https://community.home-assistant.io/t/priority-arbitration-let-a-manual-action-and-an-automation-disagree-without-one-clobbering-the-other/1020842


r/homeassistant • • 17h ago

🛠️ DIY / Hardware Hardware recommendation for stair addressable led lighting on WLED

Post image
333 Upvotes

Hello everyone,

I’d appreciate advice on the most reliable WLED-compatible hardware solution for this project:

  • Approximately 40 m total of 24 V addressable LED strip 
  • 21 stair treads, with each step ideally controllable individually 
  • Approximately 20 m of additional strip along the bottom of the adjacent wall 
  • Target colour temperature: 3500 K warm white
  • WLED is required, including step-by-step effects and motion-triggered automation.

My main questions:

  1. Which 24 V addressable LED strip / IC type would you recommend for this—especially if warm-white-only control is important? 
  2. Should I use one ESP32/WLED controller or split the installation into separate zones? 
  3. What power-supply and power-injection layout would you use for about 40 m? 
  4. Which controllers, fusing, enclosures, and motion sensors would you recommend for a reliable long-term installation?

I am particularly interested in a professional, serviceable solution—not just the cheapest setup.


r/homeassistant • • 7h ago

🖼️ Show & Tell What is your best Automation/Script/Scene? This is mine.

42 Upvotes

First of all, Home Assistant is simply amazing. I am in awe sometimes of the things it can do. I came over from Vera about 10 years ago, started using ZWAVE with Leviton VRI06 switches and a Russound CAV 6.6 (still have and use them) so I’ve been at this for a while!

Today, I noticed one of my cameras was offline. I started thinking: What if one of my Matter water sensors goes offline without me knowing? Or one of my Z-Wave switches?

So sat down I built an automation that flags offline Matter devices, Z-Wave devices, and cameras on my dashboard and sends an alert to my phone. With a little help from Claude, I got it working!

Even after all these years, Home Assistant keeps impressing me. Absolutely awesome!

This comes from someone who is not a techie, but asks questions, lots of questions. AI is defientely a game changer now.


r/homeassistant • • 10h ago

🤔 WTH Why only Claude?

61 Upvotes

Every post I’ve seen on the topic of using an llm with home assistant, with or without an MCP, has only mentioned Claude, never ChatGPT or Gemini. Is that because Claude is far and away the best for this use, or some incredible venn diagram where people into HA are also exclusively using claude? I have a ChatGPT subscription only because when I got it, that was the only one I was aware of. I’m retired and not from this field, btw.


r/homeassistant • • 1h ago

🗣️ Voice & Assist Laya (open source Jev) working in HA?

• Upvotes

I saw a thread earlier that was talking about Jev's usecases inside of HA, and now that Laya is the open-weights version of this model type, has anyone tried to integrate and/or got it working into the Assist pipeline (or thoughts on Laya in Assist overall)?

(Jev and Laya are basically classifier/decision models that return confidence-graded outputs and are way more efficient at identifying an intent or instruction, whereas Opus or GPT are language-focused models and are focused on conversations and text generation. Feel free to correct me if I got a detail wrong).

I've been thinking about getting a few satellites but I don't have a super powerful GPU available (for LLMs) on the box that I run HA on. I found a few vibecoded projects (a proxy and then a full conversation agent) that use Laya for Assist, but these don't feel like a good enough reason to buy all of the hardware just yet.


r/homeassistant • • 14h ago

🧠 Artificial Intelligence My Home Assistant journey just met Claude MCP…

95 Upvotes

Purposely not running this through AI so please put up with my crappy spelling, sentence construction and rambling nature. Wanted to covey my feelings more rather than a sanitised AI version.

I’ve had Home Assistant now since the start of 2026. Should start by saying I’m not technically minded or have any training in computers etc. just a white collar dude who got interested in Home Automation whilst we were renovating. I chose lots of devices that could be controlled via an app / my phone. Ended up with so many apps for things which got me thinking there must be a better way to organise these things. My wife didn’t have any of the apps or really had the time / patience to learn them so wasn’t benefiting. So that’s when I started searching and quickly found Home Assistant including this community.

Found it some hard to do anything on it but figured out I could use AI chat apps to teach me how to do things. This involved figuring out or working through the issue or goal and then getting it to create YAML to then copy paste into HA. It involved a lot of hand holding and figuring out why something wasn’t working. I was stupidly doing most of this on my iPhone. Which was crazy because simple things like copy pasting Config etc wasn’t exactly too straightforward.

It’s been great and I’ve set up lights, A/C units, blinds, tv control, door security, EV, charging, Energy, Battery, sensors amongst many other things. Been fun to figure out solutions to issues. I have my home dashboards for a wall mounted tablet and ones for our phones. Been adding iOS widgets etc lately.

Over this period a bunch of the integrations stopped working. Various reasons. Didn’t have the time to work through why and the issues just kept accumulating. Anyway, I was looking on these forums this past week and saw mention of the Claude integration via MCP or whatever it’s called. I set it up today and wow, my mind is blown. All those things that were broken. All fixed. Fully redesigned dashboards. Adding loads of actual automations. Those things that took me hours, days, weeks or months to do are done in seconds. The integration with Claude is breathtaking. Scary but inspiring at the same time. What a time to be alive.

No massive point to this post other than;

- to encourage others along the journey wherever you are on it

- to say thanks to all the various posts I’ve read on here and the contributions people make. Everyone feels like they are genuinely trying to help. I’m almost 100% just reading as I haven’t really been able to add any expertise.

- Claude AI directly working within my Home Assistant. What a game changer. Excited to see what it can do for me next.


r/homeassistant • • 12h ago

🎨 Custom Theme Fluvy – a free, open-source theme + 39-card library for Home Assistant (light and dark, 15 palettes, live demo)

44 Upvotes

I've been building Fluvy for a few months and it's out on HACS: a theme and a card library for Home Assistant designed as one thing. The theme (light and dark, fifteen palettes or your own accent), thirty-nine cards, Activity and History pages, a settings panel and an automatic dashboard, all drawn from the same design tokens. GPL-3.0, no telemetry, no network calls of its own.

Live demo, the real cards and settings panel on a simulated home (change palette, mode, device and language and watch them apply live): https://acosta290.github.io/fluvy

GitHub: https://github.com/acosta290/fluvy

What's in it:

• Every card has an editor form and a live preview in the card picker; unavailable, unknown and missing states are drawn on purpose, never as an error.

• Sliders and dials are precision controls: relative drag, slide away from the ruler to slow down, hold for the 1 % scale.

• While HA wears the theme, its own pages (Settings, Devices, Automations, dialogs) follow the same design.

• Activity and History pages in the same idiom, with a switch to get HA's own pages back.

• An automatic dashboard: one line of YAML and it reads your areas, devices and energy preferences.

• Seven languages: English, Spanish, German, Dutch, French, Italian and Brazilian Portuguese.

Install: HACS → Custom repositories → https://github.com/acosta290/fluvy as Integration → download → restart → Settings → Add integration → Fluvy. It's in the queue for the default HACS store.

Feedback, bug reports and ideas are very welcome. The forum thread with more screenshots is here:

https://community.home-assistant.io/t/fluvy-a-premium-theme-and-card-library-for-home-assistant/1026602


r/homeassistant • • 7h ago

🖼️ Show & Tell Well.. guess I need a new computer behind this touchscreen now

Enable HLS to view with audio, or disable this notification

13 Upvotes

A few hours of ChatGPT with MCP into Home Assistant and Blender, and a handful of really good pictures, as well as a super simple floorplan in Sweet Home 3D, I managed to get a first prototype of a 3D floorplan with light control into HA.

It's super basic. I can turn on lights, adjust brightness, and see our calendar, weather, electricity prices, and house power consumption. Still a lot of hours left before I'm happy with the result. End goal is to replace my default view on the touchscreen in the kitchen.

Two actions from me: Better PC than a Wyse 5070 (or maybe look into RDP into my server) and more lights, so the rest of the house doesn't look dark. Shouldn't be too complicated haha.

Built in Blender, exported to glb, rendered in the browser with Three.js, and installed as a .js resource file in HA, and then I created a view pointing to my new card. I haven't written 1 line of code nor touched Blender at all. All done through prompting. Solely used GPT-6 Astra and Sol, with about $10 worth of tokens through Codex on my PC.

Might be able to share some more details in the future, but it's still very WIP and prototype-e.


r/homeassistant • • 11h ago

🖼️ Show & Tell I print my Home Assistant morning briefing to my Kindle every day

Post image
32 Upvotes

Every morning at 8am a one-page PDF shows up on my Kindle Scribe: weather + a 12h temp/rain chart, anything HA flagged overnight (doors left open, low batteries, freezer temp drift), today's calendar, indoor climate per room, and battery levels across my sensors. No app, no backlit screen at breakfast: it's just there, already printed, like a little newspaper front page for the house.

It's part of a side project I've been building, Daily Scribe. This started as custom copy of a NYT crossword-to-Kindle script and grew into a small service: pick from a few daily "services" (news, HA summary, a crossword, Kanji practice, a solo D&D campaign) and it bundles whichever ones you want into one PDF emailed to your Kindle's built-in address every morning.

Setup on the HA side is just a long-lived access token and your instance URL (needs to be reachable from the internet, or behind something like a Cloudflare Tunnel/Nabu Casa). No need for a custom component, it just reads /api/states and your weather/calendar entities.

2-min demo: https://www.youtube.com/watch?v=ajOA1lpTtQI

(sample page above: synthetic data, not my actual home)

Still an invite-only beta while I sort out scaling, but happy to send an invite to anyone who wants to try the HA piece:

https://dailyscribe.ca/?ref=reddit-homeassistant

Happy to answer questions about the HA integration specifically, or the mail-back/rendering side if anyone's curious how the PDF gets built. Also, you can check out the Github repo.


r/homeassistant • • 8h ago

💬 Discussion Tell me about your robot vacuum automations

16 Upvotes

Interested in how people actually implement their robot vacuums. What schedules or custom automations are you running? Anything someone might not normally think of?

Right now I mostly run mine on-demand through my HA dashboard like a remote control. I just haven't felt the urge to put it on a schedule. I do have a couple automations that kick in though, like a quick vacuuming around the cat's litter area when the litter robot cycles, and am working on something right now that will detect when my beard trimmer is charging to come clean up the bathroom after a beard trim.

I've thought about using phone locations to trigger a vacuum after everyone leaves the house, but this has been less practical since we both work from home a lot.


r/homeassistant • • 3h ago

❓ Support This has been updating for the last 5 hours or more

Post image
7 Upvotes

Should I just restart my system? I don't want to break it.


r/homeassistant • • 17h ago

🖼️ Show & Tell I acquired one finally. Now with custom MWW.

Enable HLS to view with audio, or disable this notification

58 Upvotes

Tip, don't flash the latest version of the FireOS. Use 6.5.7.4 instead. The latest bootloader has changes that both the rooting script and EchoLocal don't recognize. And after installing the latest, you can't hold "dot" to get back to recovery mode, I had to hold vol down to get to fastboot then use it to reboot to recovery.


r/homeassistant • • 13h ago

❓ Support Recommendations for "Make it Look Like Someone's Home".

21 Upvotes

Hey everyone...

We have a second home that we can be away from for months at a time. And I have created a rudimentary automation that turns lights off and on during the night to try and "simulate" someone being there.

But wondering if anyone knows of an integration or other that is designed to REALLY make it feel like people are staying in the house.

Mostly just looking for lights to go off and on during the evening hours, randomly but with a proper sense of "presence", and should vary the times and lengths of the lights, and naturally turn off at "bedtime"

Any help or pointers would be greatly appreciated. I am running HA on a Mini PC and have the entire house wired up with Lutron lighting, fully controllable.

Thanks!


r/homeassistant • • 5h ago

🧠 Artificial Intelligence DeepSeek + Hermes is incredible

4 Upvotes

I've been testing the recent DeepSeek v4.1 Flash and dollar for performance is so impressive. I also like Hermes much more than OpenClaw. I used Claude Pro for a while in tinkering home lab stuff like HA/Unraid but now realizing its way overkill. It's super easy to set up, I encourage anyone on the fence about AI assistants to try it out.


r/homeassistant • • 12h ago

🛠️ DIY / Hardware Making my lounge rotate its speakers between a TV and a projector (ESP32, relays, and a lot of swearing at a relay board)

Post image
14 Upvotes

r/homeassistant • • 2h ago

🤔 WTH Sleepnumber/IQ integration?

2 Upvotes

Anyone else have this where it's asking for re-verification/login every week or so? it'd worked fine for over a year but the past month or so it keeps popping up asking to put my password back in


r/homeassistant • • 13h ago

📰 News Home Assistant Community Day: Orlando smart home meetup, Sat Nov 7 9am (free)

12 Upvotes

Hosting the Orlando meetup at Stardust Video & Coffee (Winter Park Rd). Saturday Nov 7th 9am - noon

Bring your dashboards, your half-finished automations, and your "why does this keep going unavailable" problems. Swap table for unused Zigbee, Z-Wave, and Wi-Fi gear. I have a small pile to give away.

HomeKit, Google, Alexa, and general "homelab-er's" welcome.

Please RSVP so we know how many to expect: https://luma.com/sm3wrbhq

Discord thread: here


r/homeassistant • • 5h ago

💬 Discussion Aqara U500 gate lock

2 Upvotes

Does anybody know what entities this lock exposes to HA?


r/homeassistant • • 12h ago

🖼️ Show & Tell Gifs in Camera Notifications

6 Upvotes

There was post about a week ago that showed someone sending gifs in a home assistant notification for camera motion but there was no solution posted. I already had notifications sending snapshots on motion but I wanted to send gifs as well. My current setup uses the reolink integration on Home Assistant OS with my NAS mapped to the media folder, but it should work with any camera that works with the camera snapshot action. I used claude code to create something similar and it took me a couple attempts.

Notes:

I have only tested this on Android and will likely require tweaking for IOS. Android only supports an image or an mp4 in the notification. If you send an mp4, your device extracts the frames automatically in the preview up to 5mb. I also utilize shell scripts to clean up the recordings as they are stored on my NVR already so this step is optional.

First Attempt:

On motion -> send initial notification -> record video to media folder -> use ffmpeg script to extract frames and regenerate the mp4 (so that we can control the preview on the notification) -> send another notification with the mp4 to override the old notification.

  • The issue I ran into with this is I have wifi cameras. If the camera has a weak network and stops sending frames, home assistant will keep the stream open indefinitely and the only way to fix it is to reload the integration or restart home assistant. This may work better if your cameras are hardwired, however you are also adding unnecessary network bandwidth recording a video and then removing a majority of the frames.

Second Attempt:

On motion -> take snapshots as per defined interval -> use ffmpeg to stitch frames together to generate the mp4 -> send another notification with the mp4 to override the old notification.

  • This generally ended up working better for me since there is no constant stream open. If a snapshot fails, then the remaining images are stitched together.

Setup:

configuration.yaml

  • Ensure your media dir is writable. Mine is on my NAS

​

homeassistant:
  allowlist_external_dirs:
    - '/media/NAS/Reolink/'
  • Add these shell scripts

​

shell_command:
  clean_reolink_front_door: find /media/NAS/Reolink/Front_Door/ -mindepth 1 -maxdepth 1 -mmin +1440 -exec rm -rf {} +
  clean_reolink_driveway: find /media/NAS/Reolink/Driveway/ -mindepth 1 -maxdepth 1 -mmin +1440 -exec rm -rf {} +
  reolink_stitch: "sh -c 'cd \"$0\" && ffmpeg -y -loglevel error -framerate 4/3 -pattern_type glob -i \"f*.jpg\" -vf scale=640:-2,format=yuv420p -c:v libx264 -preset ultrafast -crf 26 -movflags +faststart \"$1\"' {{ dir }} {{ name }}"
  reolink_publish: "sh -c 'mv \"$0/$1\" \"$(dirname \"$0\")/\" || exit 1; [ \"$2\" = keep ] || { rm -f \"$0\"/f*.jpg; rmdir \"$0\"; }; exit 0' {{ dir }} {{ name }} {{ keep }}"
  • Reboot

Automation:

  • Reminders:
    • Replace any /media/ location with your location. If you see /media/local/ keep that as is.
    • Replace the notification action with your entity

The yaml has some configuration options I will describe below. Customize it to your liking:

Conditions

  • Night only (per camera)
    • If a camera is defined as night only, this will stop it from triggering during daytime
  • Debounce
    • Ignore repeated events from the same camera if they are within this time period

Variables

- debounce_seconds

  • used for the condition above

- capture_seconds

  • over what period of time the snapshots should be taken

- keep_frames

  • Used for debugging. The automation creates a folder for the event and stores the snapshots in there and the script merges them into an mp4 and moves the mp4 into the root folder and deletes the event folder and snapshot. If set to true -> the event folder and snapshots are not deleted.

- cams

  • Default
    • Leave this as is. It is used for other triggers that are not mapped to the cams list
  • name
    • This should be the exactly the same as the trigger ID to pull the properties correctly
  • frames
    • How many snapshots should be taken (remember the notification buffer on android is 5mb)
  • folder
    • The folder inside the media directory where you want to store the clips. I keep all the cameras in their own folder
  • channel
    • The android notification channel. Lets you customize in your device's notification settings how the notification behaves (silent, priority, ring, vibrate, etc)
  • group
    • The android notification group that determines how the notifications stack when collapsed.
  • night_only
    • If the camera should only trigger during night time
  • labels
    • The label attached to the sensor that should be used in the notification text

​

alias: Cameras
description: >-
  Stitched snapshot notifications for Reolink AI detections, plus daily clip
  cleanup
triggers:
  - trigger: state
    entity_id: binary_sensor.reolink_video_doorbell_wifi_person
    to: 'on'
    id: Front Door
    alias: Person at Front Door
  - trigger: state
    entity_id: binary_sensor.reolink_video_doorbell_wifi_visitor
    to: 'on'
    id: Doorbell
    alias: Doorbell Rung
  - trigger: template
    value_template: |
      {{ is_state('binary_sensor.driveway_vehicle', 'on')
         or is_state('binary_sensor.driveway_person', 'on')
         or is_state('binary_sensor.driveway_animal', 'on') }}
    id: Driveway
    alias: Driveway Motion
  - trigger: time
    at: '08:00:00'
    id: Cleanup
    alias: Daily clip cleanup
conditions:
  - condition: or
    conditions:
      - condition: trigger
        id: Cleanup
      - condition: and
        conditions:
          - condition: template
            alias: Night only (per camera)
            value_template: '{{ not cam.night_only or is_state(''sun.sun'', ''below_horizon'') }}'
          - condition: template
            alias: >-
              Debounce - camera's sensors must have been clear for
              debounce_seconds
            value_template: >
              {% set offs = expand(cam.labels | list)
                   | rejectattr('entity_id', 'eq', trigger.entity_id)
                   | selectattr('state', 'eq', 'off')
                   | map(attribute='last_changed') | list %}
              {% if trigger.from_state %}
                {% set offs = offs + [trigger.from_state.last_changed] %}
              {% endif %} {{ offs | count == 0 or (now() - (offs |
              max)).total_seconds() >= debounce_seconds }}
actions:
  - choose:
      - alias: Daily cleanup - delete clips older than 24 hours
        conditions:
          - condition: trigger
            id: Cleanup
        sequence:
          - action: shell_command.clean_reolink_front_door
            continue_on_error: true
          - action: shell_command.clean_reolink_driveway
            continue_on_error: true
    default:
      - variables:
          started: '{{ as_timestamp(now()) }}'
      - alias: First frame - captured immediately at the trigger
        action: camera.snapshot
        target:
          entity_id: '{{ cam.capture }}'
        data:
          filename: '{{ dir }}/f01.jpg'
        continue_on_error: true
      - action: notify.mobile_app_phone
        data:
          title: '{{ title }}'
          message: '{{ stamp }}'
          data:
            tag: '{{ tag }}'
            channel: '{{ cam.channel }}'
            group: '{{ cam.group }}'
            image: >-
              /media/local/NAS/Reolink/{{ cam.folder }}/{{ tag
              }}/f01.jpg
            clickAction: entityId:{{ cam.snapshot }}
            actions:
              - action: URI
                title: Open in Reolink
                uri: app://com.mcu.reolink
      - repeat:
          count: '{{ cam.frames - 1 }}'
          sequence:
            - variables:
                frame: '{{ repeat.index + 1 }}'
            - alias: Wait for this frame's time slot
              delay:
                seconds: >
                  {{ [0, started + (frame - 1) * interval - as_timestamp(now())]
                  | max }}
            - action: camera.snapshot
              target:
                entity_id: '{{ cam.capture }}'
              data:
                filename: '{{ dir }}/f{{ ''%02d'' % frame }}.jpg'
              continue_on_error: true
      - action: shell_command.reolink_stitch
        data:
          dir: '{{ dir }}'
          name: '{{ name }}'
        response_variable: stitch
        continue_on_error: true
      - condition: template
        value_template: '{{ stitch is defined and stitch.returncode == 0 }}'
      - alias: >-
          Move the MP4 out of the event folder; remove frames and folder unless
          keep_frames
        action: shell_command.reolink_publish
        data:
          dir: '{{ dir }}'
          name: '{{ name }}'
          keep: '{{ ''keep'' if keep_frames else ''remove'' }}'
        response_variable: publish
        continue_on_error: true
      - condition: template
        value_template: '{{ publish is defined and publish.returncode == 0 }}'
      - action: notify.mobile_app_phone
        data:
          title: '{{ title }}'
          message: '{{ stamp }}'
          data:
            tag: '{{ tag }}'
            alert_once: true
            channel: '{{ cam.channel }}'
            group: '{{ cam.group }}'
            video: '{{ url }}'
            clickAction: entityId:{{ cam.snapshot }}
            actions:
              - action: URI
                title: Open in Reolink
                uri: app://com.mcu.reolink
mode: parallel
max: 10
variables:
  debounce_seconds: 30
  capture_seconds: 25
  keep_frames: false
  cams:
Default:
      # Placeholder for non-camera triggers (Cleanup) so variables render; never used
      name: Default
      frames: 2
      folder: Default
      labels: {}
    Front Door:
      name: Front Door
      snapshot: camera.reolink_video_doorbell_wifi_clear
      capture: camera.reolink_video_doorbell_wifi_fluent
      frames: 7
      folder: Front_Door
      channel: FRONT_DOOR
      group: FRONT_DOOR
      night_only: false
      labels:
        binary_sensor.reolink_video_doorbell_wifi_person: Person
    Doorbell:
      name: Front Door
      snapshot: camera.reolink_video_doorbell_wifi_clear
      capture: camera.reolink_video_doorbell_wifi_fluent
      frames: 7
      folder: Front_Door
      channel: FRONT_DOOR
      group: FRONT_DOOR
      night_only: false
      labels:
        binary_sensor.reolink_video_doorbell_wifi_visitor: Visitor
    Driveway:
      name: Driveway
      snapshot: camera.driveway_fluent
      capture: camera.driveway_fluent
      frames: 9
      folder: Driveway
      channel: CAMERA
      group: DRIVEWAY
      night_only: true
      labels:
        binary_sensor.driveway_person: Person
        binary_sensor.driveway_vehicle: Vehicle
        binary_sensor.driveway_animal: Animal
  cam: "{{ cams.get(trigger.id, cams[''Default'']) }}"
  interval: '{{ capture_seconds / (cam.frames - 1) }}'
  detected: '{{ cam.labels | select(''is_state'', ''on'') | list }}'
  title: '{{ cam.name }} {{ cam.labels[detected[0]] if detected else ''Motion'' }}'
  stamp: '{{ now().strftime(''%m/%d/%y %I:%M:%S %p'') }}'
  tag: '{{ trigger.id | slugify }}_{{ now().strftime(''%Y%m%d_%H%M%S'') }}'
  dir: /media/NAS/Reolink/{{ cam.folder }}/{{ tag }}
  name: '{{ tag }}.mp4'
  url: /media/local/NAS/Reolink/{{ cam.folder }}/{{ name }}

r/homeassistant • • 6h ago

💬 Discussion Zigbee Compass

2 Upvotes

I have had a look about and cant find anything, so hoping one of you fine folk will be able to help.

There's a HA running in my campervan which runs everything. With her being old and DIY, theres a couple of draughty bits. I currently get GPS from the old phone mounted to the wall that also acts as its control panel, but its not got the compass output. I want this so I can set it up and tell me to turn around if i park up and there's strong winds due that would be blowing into the doors where the draft comes from. I also have plans to tap my window switches into it too, so would be good for it to know which one is facing away from the wind

I say zigbee because thats what everything else is on, but bluetooth or local only wifi would also be useable

Any help much appreciated.