Abstand-Integration in Home Assistant (2024)

Abstand-Integration in Home Assistant (1)

von Simon

In Home Assistant kannst du mit der Abstand Integration herausfinden, wer sich dem zuhause nährt und auch, wie weit derjenige noch weg ist was viel Potenzial für Automationen bietet.

Schau dir mein Video an & entdecke das volle Potenzial von Abstands-Geofencing in Home Assistant und wie du es einrichten kannst, mit einigen Beispielen für Automationen!

Inhaltsverzeichnis

  • Voraussetzungen
  • Automationen
    • Auf dem Weg
    • Türen öffnen
  • Fazit

Voraussetzungen

Die Grundlagen von Home Assistant sollten dir vertraut sein und ich würde dir empfehlen, die Home Assistant App auf allen Endgeräten der Personen zu installieren, die du verfolgen möchtest.

Schau auch gerne mal in meinem Exptertentipps-Video für einige Tipps rund um die App, wie diese eingerichtet sein sollte und was du bei Problemen tun kannst!

Automationen

Auf dem Weg

alias: Auf dem Wegdescription: Benachrichtigen, wenn sich jemand dem Haus näherttrigger: - platform: numeric_state entity_id: - sensor.sh42_arabella_oberstedt_entfernung for: hours: 0 minutes: 0 seconds: 15 below: 1000 id: Arabella - platform: numeric_state entity_id: - sensor.sh42_simon_muller_entfernung for: hours: 0 minutes: 0 seconds: 15 below: 1000 id: Simoncondition: []action: - choose: - conditions: - condition: trigger id: - Simon sequence: - service: notify.mobile_app_iphone15parabella metadata: {} data: message: Simon ist fast zuhause title: 🏠 Auf dem Weg - conditions: - condition: trigger id: - Arabella sequence: - service: notify.mobile_app_iphone15parabella metadata: {} data: message: Arabella ist fast zuhause title: 🏠 Auf dem Wegmode: single

Türen öffnen

Für mehr Details, schau gerne mal hier vorbei 😉

alias: Türen öffnendescription: Öffnet die Haustür und Wohnungstür bei Ankunfttrigger: - platform: state entity_id: - sensor.sh42_arabella_oberstedt_fahrtrichtung from: towards to: arrived enabled: true id: Arabella - platform: state entity_id: - sensor.sh42_simon_muller_fahrtrichtung from: towards to: arrived enabled: true id: Simoncondition: - condition: or conditions: - type: is_not_open condition: device device_id: b3fb6caba13b81df5afabbc1aebe8859 entity_id: 9e4d8f62d11768ac2436a1c546031d2b domain: binary_sensor - type: is_not_open condition: device device_id: 795e199c81d2255ddbe001c597158154 entity_id: 1ecef2a94711e81ecaf8ff58be049885 domain: binary_sensor - condition: template value_template: >- {{ state_attr("automation.turen_offnen", "last_triggered") == None or ( as_timestamp(now()) - as_timestamp(state_attr("automation.automation.turen_offnen", "last_triggered")) |int(0) ) > 300 }} alias: Automation wurde nicht in den letzten 5 Minuten ausgeführt enabled: falseaction: - variables: action_open: "{{ 'OPEN_' ~ context.id }}" action_no: "{{ 'NO_' ~ context.id }}" - choose: - conditions: - condition: trigger id: - Simon sequence: - service: notify.mobile_app_iphone14psimon data: message: Möchtest du, dass ich die Türen öffne? (Geht 5 Min.) data: actions: - action: "{{ action_open }}" title: Öffnen - action: "{{ action_no }}" title: Nein title: Bitte gedrückt halten! - wait_for_trigger: - platform: event event_type: mobile_app_notification_action event_data: action: "{{ action_open }}" continue_on_timeout: false timeout: hours: 0 minutes: 5 seconds: 0 milliseconds: 0 - parallel: - if: - type: is_not_open condition: device device_id: b3fb6caba13b81df5afabbc1aebe8859 entity_id: 9e4d8f62d11768ac2436a1c546031d2b domain: binary_sensor then: - if: - condition: device device_id: 4c80468524dc95931a283f24a61e7243 domain: lock entity_id: dadad051515ba437b2a664b07b7c15e6 type: is_unlocked then: - device_id: 4c80468524dc95931a283f24a61e7243 domain: lock entity_id: dadad051515ba437b2a664b07b7c15e6 type: lock - delay: hours: 0 minutes: 0 seconds: 4 milliseconds: 0 - device_id: 4c80468524dc95931a283f24a61e7243 domain: lock entity_id: dadad051515ba437b2a664b07b7c15e6 type: unlock else: - device_id: 4c80468524dc95931a283f24a61e7243 domain: lock entity_id: dadad051515ba437b2a664b07b7c15e6 type: unlock alias: Wohnungstür Aktionen bedingt ausführen - alias: Haustür Aktionen bedingt ausführen if: - type: is_not_open condition: device device_id: 795e199c81d2255ddbe001c597158154 entity_id: 1ecef2a94711e81ecaf8ff58be049885 domain: binary_sensor then: - if: - condition: device device_id: 6cea6c4d797de7ed9bc3bb8cbdf5005d domain: lock entity_id: f9dc4db3d2b6a972f63a0dcfcb67d982 type: is_unlocked then: - device_id: 6cea6c4d797de7ed9bc3bb8cbdf5005d domain: lock entity_id: f9dc4db3d2b6a972f63a0dcfcb67d982 type: lock - delay: hours: 0 minutes: 0 seconds: 4 milliseconds: 0 - device_id: 6cea6c4d797de7ed9bc3bb8cbdf5005d domain: lock entity_id: f9dc4db3d2b6a972f63a0dcfcb67d982 type: unlock else: - device_id: 6cea6c4d797de7ed9bc3bb8cbdf5005d domain: lock entity_id: f9dc4db3d2b6a972f63a0dcfcb67d982 type: unlock - service: notify.notify metadata: {} data: message: >- Die {{ states('input_text.automations_temporary_text') }} wurde abgeschlossen title: Tür verriegeltmode: parallelmax: 2

Fazit

Mit der Abstands-Integration in Home Assistant kannst du leicht herausfinden, wer sich deinem Zuhause nähert und wie weit die Person noch entfernt ist. Das eröffnet zahlreiche Möglichkeiten für nützliche Automationen.

Schau dir mein Video an, um das volle Potenzial von Abstands-Geofencing in Home Assistant zu entdecken und zu erfahren, wie du es einrichtest – und wenn du welche hast, lass mir sehr gerne deine Beispiele da 💙

Integration Home Assistant Automation Smarthome

Tipps, Anfänger

Transparenz: In diesem Artikel sind Partnerlinks enthalten. Durch einen Klick darauf ge­lan­gt ihr direkt zum Anbieter. Solltet ihr euch dort für einen Kauf entscheiden, erhalte ich ei­ne kleine Provision. Für euch ändert sich am Preis nichts & Partnerlinks haben keinerlei Einfluss auf meine Berichterstattung. Vielen Dank für deine Unterstützung!

Vorheriger

Meine 5 besten Home Assistant Experten-Tipps 🤫

Gründer von simon42. Schreibt hier ehrlich und leidenschaftlich über Smart Home und Technik Themen, denn das Zuhause wurde bereits von Sprachassistenten übernommen und die Kontrolle abgegeben 😁

Änliche Beiträge

  1. iCloud3 Integration in Home Assistant einrichten
  2. Home Assistant Google Home Sprachsteuerung 🗣️
  3. Home Assistant HomeKit Integration (richtig) einrichten
  1. Hi Simon,
    auf die Idee mit dem Tür öffnen bei Ankunft über Notifications war ich auch noch nicht gekommen - insoweit Daumen hoch für diese Inspiration Abstand-Integration in Home Assistant (7)

    Ich bin nur etwas verwirrt von dem Code-Block gegen Ende, aber vielleicht bin ich ja auch noch nicht ganz richtig wach Abstand-Integration in Home Assistant (8)

    Nachdem die Tür entriegelt/geöffnet wurde, folgt ab Zeile 137 die Benachrichtigung

     - service: notify.notify metadata: {} data: message: >- Die {{ states('input_text.automations_temporary_text') }} wurde abgeschlossen title: Tür verriegelt

    Das ist doch eigentlich das genaue Gegenteil zu der Aktion, die zuvor gemacht wurde…?!

  2. Kann ich über solche Zonen auch eine Automation einrichten, dass sich der Hotspot an meinem Handy (Pixel 6a) automatisch einschaltet, wenn ich mich der Zone “Parkplatz” nähere und aus, wenn ich mich in der Zone “Arbeit” befinde?
    Wenn ja, wie?

  3. Hi, bei mir klappt es. Bei meiner Frau leider nicht. Welche Einstellungen sind in der Android App dazu noch nötig?

  4. Diese Bereiche als Zonen anlegen und dann die entsprechende Automation dahinter bauen.

    Das aktivieren des HotSpot könnte z.B. über Tasker funktionieren. Da ist dann aber auch fraglich, ob das überhaupt noch mit Home Assistant zu tun hat, da es ja um Dein Handy geht.

  5. Die Zonen hab ich bereits angelegt. Danke für den Tipp mit Tasker! Ich probier das mal aus.
    Ob das was mit Home Assistant zu tun hat ist natürlich fraglich. Aus meiner Sicht schon, da ich nicht wie sonst Lampen, sondern eben ein Handy steuern will. Also nur ein anderes Gerät, das mit HA gesteuert wird…
    Kann man aber natürlich auch anders sehen.

    EDIT: Hab mir die Tasker-App mal genauer angeschaut. Ein Screenshot zeigt, dass sie wohl auch per Zonen etwas auslösen kann. Somit kann ich meine Idee mit dem Hotspot auch direkt in der App umsetzen und brauche somit den Umweg über HA nicht. Und damit hat es tatsächlich nichts mehr mit Home Assistant zu tun. Dennoch danke für den Tipp!

Setze die Diskussion fort unter community.simon42.com

5 mehr antworten

Teilnehmer

Abstand-Integration in Home Assistant (9)Abstand-Integration in Home Assistant (10)Abstand-Integration in Home Assistant (11)Abstand-Integration in Home Assistant (12)Abstand-Integration in Home Assistant (13)Abstand-Integration in Home Assistant (14)

Kommentare sind geschlossen.

Mehr zu entdecken

  • Meine 5 besten Home Assistant Experten-Tipps 🤫

    Smarthome Integration Add-on

  • Home Assistant auf Raspberry Pi 5/4/3 installieren (2024)

    Install Smarthome Home Assistant

  • Integration Smarthome Home Assistant Energie

  • Home Assistant Wand Panel – Tablet Dashboard

    Home Assistant Basics

  • Reviews Home Assistant Integration

  • Das neue Aqara Smart Lock U200 im Test

    Reviews Smarthome Home Assistant

  • Smarthome Home Assistant Integration

  • NFC-Tags zum Triggern von Automationen in HA nutzen

    Home Assistant Smarthome Automation

  • Der Luba 2 AWD 1000 Mähroboter im Test

    Reviews Smarthome

  • Home Assistant Organisation

    Home Assistant Automation Basics

Abstand-Integration in Home Assistant (2024)
Top Articles
What Does Fs Mean on Snapchat
Printable Coupon $3 Off Pull-Ups
Garrison Blacksmith Bench
Lifewitceee
News - Rachel Stevens at RachelStevens.com
COLA Takes Effect With Sept. 30 Benefit Payment
Blackstone Launchpad Ucf
America Cuevas Desnuda
Naturalization Ceremonies Can I Pick Up Citizenship Certificate Before Ceremony
30% OFF Jellycat Promo Code - September 2024 (*NEW*)
Lenscrafters Westchester Mall
Www Thechristhospital Billpay
Ou Class Nav
83600 Block Of 11Th Street East Palmdale Ca
A.e.a.o.n.m.s
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
2021 Lexus IS for sale - Richardson, TX - craigslist
4156303136
A rough Sunday for some of the NFL's best teams in 2023 led to the three biggest upsets: Analysis - NFL
Viprow Golf
Unit 33 Quiz Listening Comprehension
60 X 60 Christmas Tablecloths
Lehmann's Power Equipment
Abby's Caribbean Cafe
Nine Perfect Strangers (Miniserie, 2021)
Erica Banks Net Worth | Boyfriend
Teekay Vop
Gina Wilson Angle Addition Postulate
Avatar: The Way Of Water Showtimes Near Maya Pittsburg Cinemas
What Equals 16
11526 Lake Ave Cleveland Oh 44102
Shiny Flower Belinda
The Posturepedic Difference | Sealy New Zealand
Sam's Club Gas Price Hilliard
Chicago Pd Rotten Tomatoes
Hotel Denizen Mckinney
15 Downer Way, Crosswicks, NJ 08515 - MLS NJBL2072416 - Coldwell Banker
Whas Golf Card
Royals op zondag - "Een advertentie voor Center Parcs" of wat moeten we denken van de laatste video van prinses Kate?
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Oreillys Federal And Evans
Vanessa West Tripod Jeffrey Dahmer
Flashscore.com Live Football Scores Livescore
Edict Of Force Poe
Joey Gentile Lpsg
Gary Lezak Annual Salary
Academic Notice and Subject to Dismissal
Walmart 24 Hrs Pharmacy
Go Nutrients Intestinal Edge Reviews
St Anthony Hospital Crown Point Visiting Hours
40X100 Barndominium Floor Plans With Shop
Clock Batteries Perhaps Crossword Clue
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 5414

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.