#Geolocation automation never triggered

1 messages · Page 1 of 1 (latest)

patent quartz
#
description: ""
triggers:
  - trigger: geo_location
    source: device_tracker.tag_3_bag
    zone: zone.bus_check_point_big_zone
    event: enter
conditions:
  - condition: time
    after: "18:00:00"
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
actions:
  - action: notify.mobile_app_pixel_9_pro
    metadata: {}
    data:
      message: bus exit
mode: single

As shown in the middle blue section in picture, my tracking tag was in bus check point big zone but this automation never triggered.

scenic blaze
#

That will only trigger if an event: enter happens in zone.bus_check_point_big_zone after: "18:00:00" on those days. If you are already there at that time, it won't trigger.

#

Personally I would be tempted to track the state of that zone, and check if the state is > 1 which means someone is there.

frail onyx
# patent quartz ```alias: Arriving home description: "" triggers: - trigger: geo_location ...

That is the wrong trigger for what you are trying to do... The Geolocation trigger tracks whether or not a given Zone falls within the effected geographic area returned from a geolocation platform. It has nothing to do with device trackers. These triggers are usually related to weather, seismic, or other broad impact emergency notifications.

What you are trying to do is accomplished using a Zone trigger.

patent quartz
scenic blaze
patent quartz
# scenic blaze Next time I'll mention that...

i actually found yet another trigger......using the gui. not sure what it does

  - device_id: 7592c13a80c2a5f2a8ab1831587cc07c
    domain: device_tracker
    entity_id: 61fa28295ff5acc13100689f7227818e
    type: enters
    trigger: device
    zone: zone.bus_check_point_big_zone```
scenic blaze