-
Notifications
You must be signed in to change notification settings - Fork 4
Circular Geofence Config Options
brchri edited this page Dec 7, 2023
·
1 revision
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,
circularshould 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: closeevent. 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: openevent. 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