-
Notifications
You must be signed in to change notification settings - Fork 2
Teslamate Geofence Config Options
brchri edited this page Dec 7, 2023
·
1 revision
These options define a teslamate 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.
For each event, a required from
and to
geofence must be defined. The recommended approach is to define a home
geofence in Teslamate, and then use the DEFAULT_GEOFENCE
environment variable in teslamate to define a not_home
geofence that will be used whenever the vehicle is not in a defined geofence.
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, teslamate should be used. For the other types, see their respective Config Options pages
settings.open_trigger.from
- Type: string
- Default: undefined
- Required: false
- Description: Defines which teslamate geofence the vehicle must be transitioning from to trigger an open event. Omit if you do not wish to automatically open your garage.
settings.open_trigger.to
- Type: string
- Default: undefined
- Required: false
- Description: Defines which teslamate geofence the vehicle must be transitioning to to trigger an open event. Omit if you do not wish to automatically open your garage.
settings.close_trigger.from
- Type: string
- Default: undefined
- Required: false
- Description: Defines which teslamate geofence the vehicle must be transitioning from to trigger a close event. Omit if you do not wish to automatically close your garage.
settings.close_trigger.to
- Type: string
- Default: undefined
- Required: false
- Description: Defines which teslamate geofence the vehicle must be transitioning to to trigger a close event. Omit if you do not wish to automatically close your garage.
Example (make sure to include leading spaces):
geofence:
type: teslamate
settings:
close_trigger:
from: home
to: not_home
open_trigger:
from: not_home
to: home