device_tracker:
- platform: mqtt
devices:
cory_phone_st: 'location/Cory'
kayla_phone_st: 'location/Kayla'
april_phone_st: 'location/April'
mqtt payload is: home or not_home flagged to retain.
But I have tried so many things and the entity will not show up. its getting frustrating. lol.
just as i gave up I figured it out. I had flagged do not track new devices. I then found the devices in known_devices.yaml
1 Like
I freaking did exactly this when I started playing with MQTT device tracker
lol, i spent like 8 hours banging my head.
1 Like
Thank you for opening topic!
Was playing around for 2 hours myself too and could not figure the problem out. Until I found this topic and noticed that tracking was off.
reefland
(Reefland)
December 5, 2020, 8:21pm
7
That was enough of a clue to help me figure it out… but for the next soul who finds this. Look for the device in your known_devices.yml
file and set the damn track: true
, restart HA and then the MQTT device tracker entities will show up.
I wish I only wasted 8 hours before I found this.
hellcry
(Ciprian)
January 30, 2021, 12:09pm
8
also lost 1, 2 hours until I found this
Hello guys what about when you dont have the known_devices.yaml file? I´m ussing this:
########## Device Tracker ##########
device_tracker:
platform: mqtt
devices:
usuario01: “location/Usuario01”
qos: 1
payload_home: “Presente”
payload_not_home: “Ausente”
source_type: bluetooth
new_device_defaults:
track_new_devices: true
Any advice? Regards
simon2022
(Simon)
January 22, 2023, 5:20pm
10
As stated here:
Hello,
I am new here. I have Home Assistant installed as a Docker in Linux host.
I want to configure some mobile devices in known_devices.yaml, but there is no file in the configuration folder.
I configured the configuration.yaml this way:
device_tracker:
- platform: nmap_tracker
hosts: 192.168.0.0/24
I am missing something?
Thanks and best regards.
“Starting with version 0.94 known_devices.yaml is being phased out”