Device tracker state Home while being off?

HI,

I have an issue with an audio device shown as Home in the dev <> state inspector, while in fact it is off (both power and Lan access)

Is the Home state only an indiction the device was tracked correctly before, and that the actual state of the device is irrelevant, or should it state Off, as expected of course.,…
Ive checked in the Router, and the device is not listed, which is correct. Since it is off.

So somehow this is retained in the Hassio setup.

Cheers,
Marius

which device tracker are you using? Ping is reliable but if another device is grabbing the ip then it would show as home.

i was using the Asuswrt and nmap and own tracks.

Silly thing it it didn’t happen before, and all seemed rather reliable until i installed a ikea trader hub yesterday.
Ive temporarily taken that out again to see what happend, but no change, so I’ve put it back again.
I now have nmap commented out, so ill see what happens

I had a similar problem with nmap and wrt trackers. For devices that never leave like the tv, blueray etc I just use ping and it works well.

ive defined platform: ping right now, but how does this work? i see no results what so ever.
is there any entity i should be able to find in the inspector <> ?

after you’ve setup the platform it will create an entry in known_devices.yaml for each ping device. If ‘track_new_devices’ is FALSE then it won’t add the entry. You may need to delete known_devices and let it repopulate for each device tracker. After it is added to known_devices it will appear within homeassistant and you’ll be able to see it and call it.

thanks,
ill check with yet unknown devices :slight_smile: don’t want to mess with my carefully protected setup as yet…
i was hoping to have some positive confirmation the Ping tracker would be at work, other than though tracked devices. Maybe somewhere in the logs?

Cheers,
Marius

I don’t believe so, unless it shows up in verbose logging. You’ll know it’s working when it shows up as device_tracker.ping_device or something along that lines.