Plugin Variables - reneboer/vera-TeslaCar GitHub Wiki
This describes the important variables that reflect the car status, their values and what they mean.
Car information
- CarType - Holds the Tesla model; models, models2, modelx, model3
- CarName - Holds the name you gave to the car
- VIN - Holds the car VIN. If you have more cars on one Tesla Account, you can put the VIN of the car to control in here.
- Mileage - Reported milage.
Configuration variables
- CarHasRearSeatHeaters - 0 = no rear seat heaters, 1 = rear seat heaters
- CarHasSunRoof - 0 = no sunroof, 1 = sun roof(s) installed
- CarHasMotorizedChargePort - 0 = cannot open/close charge port via app, 1 = can control charge port
- CarCanActuateTrunks - 0 = cannot open/close trunk or frunk, 1 = can open/close trunk/frunk
- CarCanActuateWindows - 0 = cannot open/close windows, 1 = can open/close windows
Status variables
- CarIsAwake - 0 = car is asleep no status updates, 1 = car is awake. This is the only variable updated each 60 seconds.
- LastCarMessageTimestamp - EPOC time of last time car was polled
- LocationHome - 0 = car not at home (Vera) location, 1 = at home location
- MovingStatus - 0 = not moving, 1 = moving
- BatteryRange - Range in KM or Miles
- BatteryLevel - Level in percent
- PowerSupplyConnected - 0 = not connected, 1 = connected ready to charge
- PowerPlugState - 0 = charge cable not connected, 1 = connected
- ChargePortLatched - 0 = no, 1 = yes
- ChargePortDoorOpen - 0 = closed, 1 = open
- ChargeStatus - 0 = not charging, 1 = charging
- SentryMode - 0 = inactive, 1 = active
- ClimateStatus - 0 = not climatizing, 1 = climatizing on
- LockedStatus - 0 = unlocked, 1 = locked
- DoorsMessage - Closed = all doors are closed, else message with doors that are opened
- WindowsMessage - Closed = all windows are closed, else message with windows that are opened
- DoorsStatus - json with state per door
- WindowsStatus - json with state per window
- SunroofStatus - 0 = closed, 1 = venting
- TrunkStatus - 0 = closed, 1 = open
- FrunkStatus - 0 = closed, 1 = open
- LightsStatus - 0 = off, 1 = on
- SoftwareStatus - 0 = no new software, 1 = downloading, 2 = ready to install, 3 install scheduled, 4 installing
- FrontDefrosterStatus - 0 = off, 1 = on
- RearDefrosterStatus - 0 = off, 1 = on
- PreconditioningStatus - 0 = off, 1 = on
- FanStatus - 0 = off, 1-7 = fan speed
- SeatHeaterStatus - 0 = off, 1 = on
- MirrorHeaterStatus - 0 = off, 1 = on
- SteeringWeelHeaterStatus - 0 = off, 1 = on
- WiperBladesHeaterStatus - 0 = off, 1 = on
- SmartPreconditioning - 0 = off, 1 = on
- BatteryHeaterStatus - 0 = off, 1 = on
- BatteryHeaterOn - 0 = off, 1 = on
- InServiceStatus - 0 = car not in service, 1 = car in service
- UserPresent - 0 = no user in the car (driver seat), 1 = user in the car ###Charging related variables
- RemainingChargeTime - Time to charge to full in hh:mm
- ChargePower - power taken from charge point
- ChargeRate - number of km/hr added per charge minute
- ChargeLimitSOC - The percentage charging will stop at. Normally 90%
- StandardChargeLimit - in percent as reported by car. Normally 90%
Climate related variables
- OutsideTemp - Measured temperature outside
- InsideTemp - Measured temperature outside
- MinInsideTemp - Minimum climate temperature that can be set. Default is 15C
- MaxInsideTemp - Maximum climate temperature that can be set. Default is 28C
- ClimateTargetTemp - The target temperature set for climate control
Other variables categories
- LastLogin - EPOC time of last login. Would match with last luup reload as security tokes are used in between.
- Latitude - reported latitude
- Longitude - reported longitude
- AtLocationRadius - radius around home location in KM to determine at home or not. Default 0.5 KM. Can be changed.
- CarApiVersion - Tesla API version number
- CarFirmwareVersion - Firmware installed on car
- DriveSpeed - Current drive speed in km/h ot m/h
- DrivePower - Power put in drive train in KWh
- DriveShiftState - P = park, D= drive, R = reverse
- GuiChargeRateUnits - in km/hr or mi/hr, is used as units to display charge rate
- GuiDistanceUnits - in km/hr or mi/hr, is used as units to display speeds or distance
- GuiTempUnits - C or F, plugin uses Vera's temperature units settings, not cars