Circular Geofence Config Options - brchri/tesla-geogdo GitHub Wiki
These options define a circular geofence type, and should be used in the garage_doors
section of the config. Each garage door listed in this section must have a geofence type defined.
type
- Type: string
- Default:
undefined
- Required: true
- Permitted Values:
circular
,teslamate
,polygon
- Description: The type of geofence to be defined. For the settings described in this page,
circular
should be used. For the other types, see their respective Config Options pages
settings.center.lat
- Type: float
- Default:
undefined
- Required: true
- Description: The latitude of the center of the geofence. This should usually be the latitude of your garage
settings.center.lng
- Type: float
- Default:
undefined
- Required: true
- Description: The longitude of the center of the geofence. This should usually be the latitude of your garage
settings.close_distance
- Type: float
- Default:
undefined
- Required: false
- Description: The distance, in
kilometers
, the car must travel away from the geofence center to trigger agarage: close
event. Omit this if you do not wish to automatically close your garage.
settings.open_distance
- Type: float
- Default:
undefined
- Required: false
- Description: The distance, in
kilometers
, the car move within while travelling toward the geofence center to trigger agarage: open
event. Omit this if you do not wish to automatically open your garage.
Example (make sure to include leading spaces):
geofence:
type: circular
settings:
center:
lat: 46.19290425661381
lng: -123.79965087116439
close_distance: .013
open_distance: .04