Versions in this module Expand all Collapse all v1 v1.0.0 Dec 6, 2023 v0 v0.0.2 Dec 2, 2023 v0.0.1 Nov 10, 2023 Changes in this version + const ActionClose + const ActionOpen + var GarageDoors []*GarageDoor + var InitializeGdoFunc = gdo.Initialize + func CheckGeofence(car *Car) + func ParseGarageDoorConfig() + type Car struct + CurDistance float64 + CurGeofence string + CurrentLocation Point + GarageDoor *GarageDoor + ID int + InsidePolyCloseGeo bool + InsidePolyOpenGeo bool + LocationUpdate chan Point + PrevGeofence string + type CircularGeofence struct + Center Point + CloseDistance float64 + OpenDistance float64 + func (c *CircularGeofence) GetMqttTopics() []string + type GarageDoor struct + Cars []*Car + Geofence GeofenceInterface + GeofenceConfig map[string]interface{} + OpLock bool + Opener gdo.GDO + OpenerConfig map[string]interface{} + type GeofenceInterface interface + GetMqttTopics func() []string + type KML struct + Document struct{ ... } + type Point struct + Lat float64 + Lng float64 + func (p Point) IsPointDefined() bool + type PolygonGeofence struct + Close []Point + KMLFile string + Open []Point + func (p *PolygonGeofence) GetMqttTopics() []string + type TeslamateGeofence struct + Close TeslamateGeofenceTrigger + Open TeslamateGeofenceTrigger + func (t *TeslamateGeofence) GetMqttTopics() []string + type TeslamateGeofenceTrigger struct + From string + To string + func (t TeslamateGeofenceTrigger) IsTriggerDefined() bool