Hi All
I have been looking for something like this in our forum, but couldn’t find anything like this
I need some help in order to create a “Guest notification automation” using my Wifi (no automation adding them)
Everything is working I just need some help creating the rules and notification setup
The Unifi controller is very quick to find anyone approaching my property (Open guest WiFi with web password)
So first I would create a group for my known guest’s looking in my known devices
home_iphone_group:
name: iPhones
entities:
- device_tracker.iphone_1
- device_tracker.iphone_2
- device_tracker.iphone_3
- device_tracker.iphone_4
- device_tracker.iphone_5
I would then need to do some automation for the ios notification and some variable to input the friendly name of the guest’s known_device ID?
Notify when we have new guest home
- alias: ‘Notification: Guest’
trigger:- platform: zone
event: enter
zone: zone.home
entity_id: device_tracker.“guest_list” ???
condition: - condition: time
after: ‘07:00’
before: ‘24:00’ - condition: state
entity_id: device_tracker.“guest_list” ???
state: ‘home’
action: - service: notify.ios_group_home
data:
message: “Guest “variable” arrived at {{ states(‘sensor.time’) }}”
title: “Home Assistant”
- platform: zone
Sorry I think I have to create a template? or maybe a script is better?
I know what I want to do, but not how to do it