Nmap Presence Detection Not Triggering Zones


I’m using nmap presence detection on some of my devices (girlfriends, I don’t want to install owntracks on her phone) and owntracks on others. When I use owntracks and set triggers in my automations to zone and entering home, they trigger properly and all my automations happen happily (lights turning on automatically as I get home, set thermostat to home mode from away etc.).

However when my devices that are supposed to trigger these based on nmap detection get home, it seems zone.home is not triggered as “entering” in automation, is this expected behaviour and is there a way to fix this? I can post sample automations if necessary.



Are you using state triggers? Here’s the trigger section I have for one nmap only device:

  platform: state
  entity_id: device_tracker.my_device
  to: 'home'

That works 100% reliably for me.

I had been using zone triggers, I’ll give this a shot and let you know! Thanks!

Edit: Looks like it worked! Thanks a bunch.