I might be very stupid or something but i really don’t get why the below config isn’t working
zone:
name: Home
latitude: 51.9049640
longitude: 4.3352800
radius: 100
icon: mdi:home
device_tracker:
platform: unifi
host: 192.168.2.250
port: 8443
username: dennis
password: *password*
# Seconds between each scan for new devices (default: 12)
interval_seconds: 12
# Seconds to wait till marking someone as not home after not being seen
# (default: 180)
consider_home: 180
track_new_devices: no
alias: 'Test trigger'
trigger:
platform: zone
entity_id: device_tracker.samsung_s7_dennis
zone: zone.Home
event: enter
action:
service: scene.turn_on
entity_id: scene.Normaal-avond
It never triggers the trigger, but when i’m checking the webinterface it nicely says that my phone is “Home” instead of “Away”. What am i doing wrong?
You seem to have the unifi controller working with Home Assistant?
I also have a Unifi network with 3 APs and the Unifi CloudKey running the controller locally
Running Rasp3 and Hass:io
But no matter what I do I cant see any of my devices being logged?
I even tried creating a read only admin user on the controller…