Skip to content

Teslascope Binding ​

This binding integrates Tesla Electric Vehicles. The integration happens through the Teslascope API.

Supported Things ​

All Tesla vehicles supported by Teslascope are supported. Each vehicle is represented by its own vehicle Thing.

Discovery ​

After (manually) adding a Teslascope Account bridge, registered vehicles will be auto discovered.

account Bridge Configuration ​

Account configuration is necessary. The easiest way to do this is from the UI. Just add a new Thing, select the Teslascope binding, then Teslascope Account Binding Thing, and enter the personalAccessToken which can be generated from the Teslascope website.

As a minimum, the personalAccessToken is needed:

Thing ParameterDefault ValueRequiredAdvancedDescription
personalAccessTokenN/AYesNoPersonal Access Token generated from the Teslascope website
refreshInterval60NoYesThe frequency with which to refresh information from Teslascope specified in seconds

vehicle Thing Configuration ​

As a minimum, the publicID is needed:

Thing ParameterDefault ValueRequiredAdvancedDescription
publicIDN/AYesNoVehicle Public ID listed in Teslascope
refreshInterval60NoYesThe frequency with which to refresh information from Teslascope specified in seconds

Channels ​

All vehicles support a huge number of channels - the following list shows the standard ones:

Channel IDItem TypeLabelDescription
auto-conditioningSwitchAuto ConditioningTurns on auto-conditioning (a/c or heating)
battery-levelNumber:DimensionlessBattery LevelState of the battery in %
charging-stateStringCharging State“Starting”, “Complete”, “Charging”, “Disconnected”, “Stopped”, “NoPower”
charge-portSwitchCharge PortOpen the Charge Port (ON) or indicates the state of the Charge Port (ON/OFF if Open/Closed)
climateSwitchClimateClimate status indicator
door-lockSwitchDoor LockLock or unlock the car
inside-tempNumber:TemperatureInside TemperatureIndicates the inside temperature of the vehicle
located-at-homeSwitchLocated at HomeIndicates if the vehicle is located at the address set as Home
located-at-workSwitchLocated at WorkIndicates if the vehicle is located at the address set as Work
located-at-favoriteSwitchLocated at FavoriteIndicates if the vehicle is located at an address set as a Favorite
locationLocationLocationThe actual position of the vehicle
odometerNumber:LengthOdometerOdometer of the vehicle
self-driving-percentageNumber:DimensionlessSelf-Driving PercentagePercentage of driving that is on FSD
speedNumber:SpeedSpeedVehicle speed
vinStringVINVehicle Identification Number
vehicle-nameStringNameVehicle Name
vehicle-stateStringVehicle StateVehicle State

Additionally, these advanced channels are available (not all are available on all vehicle types, e.g., the sunroof):

Channel IDItem TypeLabelDescription
battery-rangeNumber:LengthBattery RangeRange of the battery
car-versionStringCar VersionCurrent software version of the car
center-rear-seat-heaterSwitchCenter Rear Seat HeaterIndicates if the center rear seat heater is switched on
chargeSwitchChargeStart (ON) or stop (OFF) charging
charge-ampsNumber:ElectricCurrentCharger CurrentCurrent actually delivered by the charger
charge-current-requestNumber:ElectricCurrentCharger Current RequestedCurrent requested from the charger
charge-current-request-maxNumber:ElectricCurrentMax Charger Current SupportedMaximum current supported by the charger
charge-energy-addedNumber:EnergyCharge Energy AddedEnergy added, in kWh, during the last charging session
charge-limit-socNumber:DimensionlessCharge Limit SOCCurrent charging limit of the vehicle, in %
charge-limit-soc-minNumber:DimensionlessCharge Limit SOC MinMinimum charging limit of the vehicle, in %
charge-limit-soc-maxNumber:DimensionlessCharge Limit SOC MaxMaximum charging limit of the vehicle, in %
charge-limit-soc-standardNumber:DimensionlessCharge Limit SOC StandardStandard charging limit of the vehicle, in %
charge-port-latchSwitchCharge Port LatchIndicates the Charge Port Latch status (ON/OFF if latched/unlatched)
charge-rateNumber:SpeedCharge RateDistance per hour charging rate
charger-powerNumber:PowerCharger PowerPower actually delivered by the charger
charger-voltageNumber:ElectricPotentialCharger VoltageVoltage (V) actually presented by the charger
driver-front-doorContactDriver Front DoorIndicates if the front door at the driver's side is open
driver-rear-doorContactDriver Rear DoorIndicates if the rear door at the driver's side is open
driver-tempNumber:TemperatureDriver TemperatureIndicates the auto conditioning temperature set at the driver's side
estimated-battery-rangeNumber:LengthEstimated Battery RangeEstimated battery range
fanNumberFanIndicates the speed (0-7) of the fan
flash-lightsSwitchFlash LightsFlash the lights of the car (when ON is received)
front-defrosterSwitchFront DefrosterIndicates if the front defroster is enabled
front-trunkSwitchFront TrunkIndicates if the front trunk is opened, or open the front trunk when ON is received
headingNumber:AngleHeadingIndicates the (compass) heading of the car, in 0-360 degrees
honk-hornSwitchHonk the HornHonk the horn of the vehicle, when ON is received
homelinkSwitchHomelink NearbyIndicates if the Home Link is nearby
left-temp-directionNumberLeft Temperature DirectionNot documented / To be defined
locationLocationLocationThe actual position of the vehicle
left-seat-heaterSwitchLeft Seat HeaterIndicates if the left seat heater is switched on
left-rear-seat-heaterSwitchLeft Rear Seat HeaterIndicates if the left rear seat heater is switched on
left-rear-back-seat-heaterNumberLeft Rear Backseat HeaterIndicates the level (0, 1, 2, or 3) of the left rear backseat heater
min-available-tempNumber:TemperatureMinimum TemperatureIndicates the minimal inside temperature of the vehicle
max-available-tempNumber:TemperatureMaximum TemperatureIndicates the maximum inside temperature of the vehicle
miles-since-resetNumber:LengthDriving DistanceDriving distance since reset
outside-tempNumber:TemperatureOutside TemperatureIndicates the outside temperature of the vehicle
passenger-tempNumberPassenger TemperatureIndicates the auto conditioning temperature set at the passenger's side
passenger-front-doorContactPassenger Front DoorIndicates if the front door at the passenger's side is opened
passenger-rear-doorContactPassenger Rear DoorIndicates if the rear door at the passenger's side is opened
powerNumber:PowerPowerNet kW flowing in (+) or out (-) of the battery
preconditioningSwitchPreconditioningIndicates if preconditioning is activated
rear-defrosterSwitchRear DefrosterIndicates if the rear defroster is enabled
rear-trunkSwitchRear TrunkIndicates if the rear trunk is opened, or open/close the rear trunk when ON/OFF is received
right-seat-heaterSwitchRight Seat HeaterIndicates if the right seat heater is switched on
right-rear-seat-heaterSwitchRight Rear Seat HeaterIndicates if the right rear seat heater is switched on
right-rear-back-seat-heaterNumberRight Rear Backseat HeaterIndicates the level (0, 1, 2, or 3) of the right rear backseat heater
right-temp-directionNumberRight Temperature DirectionNot documented / To be defined
scheduled-charging-pendingSwitchScheduled Charging PendingIndicates if a scheduled charging session is still pending
scheduled-charging-startDateTimeScheduled Charging StartIndicates when the scheduled charging session will start, in yyyy-MM-dd'T'HH:mm:ss format
self-driving-miles-since-resetNumber:LengthSelf-Driving DistanceSelf Driving distance since reset
sentry-modeSwitchSentry ModeActivates or deactivates sentry mode
shift-stateStringShift StateIndicates the state of the transmission, “P”, “D”, “R”, or “N”
side-mirror-heatersSwitchSide Mirror HeatersIndicates if the side mirror heaters are switched on
smart-preconditioningSwitchSmart PreconditioningIndicates if smart preconditioning is switched on
software-update-availableSwitchUpdate AvailableCar software or map update available, automatically generated on non-empty "update status"
software-update-statusStringUpdate StatusCar software or map update status, e.g. "downloading_wifi_wait", "installing"
software-update-versionStringUpdate VersionCar software or map version to update to, e.g. "2023.32.9", "EU-2023.32-14783" for map updates, or empty
steering-wheel-heaterSwitchSteering Wheel HeaterTurns On/Off the steering wheel heater
sunroof-stateStringSunroof StateValid states are “unknown”, “open”, “closed”, “vent”, “comfort”. Accepts commands "close" and "vent".
sunroofDimmerSunroofIndicates the opening state of the sunroof (0% closed, 100% fully open)
time-to-full-chargeNumberTime To Full ChargeNumber of hours to fully charge the battery
tpms-pressure-flNumber:PressureTyre Pressure FLTyre Pressure Front Left in Bar
tpms-pressure-frNumber:PressureTyre Pressure FRTyre Pressure Front Right in Bar
tpms-pressure-rlNumber:PressureTyre Pressure RLTyre Pressure Rear Left in Bar
tpms-pressure-rrNumber:PressureTyre Pressure RRTyre Pressure Rear Right in Bar
tpms-soft-warning-flSwitchTyre Pressure Soft Warning FLTyre Pressure Soft Warning Front Left
tpms-soft-warning-frSwitchTyre Pressure Soft Warning FRTyre Pressure Soft Warning Front Right
tpms-soft-warning-rlSwitchTyre Pressure Soft Warning RLTyre Pressure Soft Warning Rear Left
tpms-soft-warning-rrSwitchTyre Pressure Soft Warning RRTyre Pressure Soft Warning Rear Right
usable-battery-levelNumberUsable Battery LevelIndicates the % of battery that can be used for vehicle functions like driving
valet-modeSwitchValet ModeEnable or disable Valet Mode
wiper-blade-heaterSwitchWiper Blade HeaterIndicates if the wiper blade heater is switched on

Full Example ​

demo.things Example ​

dsl
Bridge teslascope:account:account [ personalAccessToken="xxxx" ] {
    teslascope:vehicle:model3 [ publicID="aXb3" ]
}

example.items Example ​

dsl
String              TeslaVehicleName            {channel="teslascope:vehicle:model3:vehicle-name"}
String              TeslaVehicleState           {channel="teslascope:vehicle:model3:vehicle-state"}
String              TeslaVIN                    {channel="teslascope:vehicle:model3:vin"}
Number              TeslaSpeed                  {channel="teslascope:vehicle:model3:speed"}
String              TeslaShiftState             {channel="teslascope:vehicle:model3:shift-state"}
Number              TeslaOdometer               {channel="teslascope:vehicle:model3:odometer"}
Number              TeslaRange                  {channel="teslascope:vehicle:model3:range"}
Switch              TeslaHome                   {channel="teslascope:vehicle:model3:located-at-home"}
Switch              TeslaWork                   {channel="teslascope:vehicle:model3:located-at-work"}
Switch              TeslaFavorite               {channel="teslascope:vehicle:model3:located-at-favorite"}

Number              TeslaBatteryLevel           {channel="teslascope:vehicle:model3:battery-level"}
Number              TeslaPower                  {channel="teslascope:vehicle:model3:power"}
Number              TeslaBatteryRange           {channel="teslascope:vehicle:model3:battery-range"}
Number              TeslaEstBatteryRange        {channel="teslascope:vehicle:model3:estimated-battery-range"}
Switch              TeslaPreconditioning        {channel="teslascope:vehicle:model3:preconditioning"}
String              TeslaCurrentVersion         {channel="teslascope:vehicle:model3:car-version"}

Switch              TeslaCharge                 {channel="teslascope:vehicle:model3:charge"}

Number              TeslaChargeAmps             {channel="teslascope:vehicle:model3:charge-amps"}
Number              TeslaChargeCurrRequest      {channel="teslascope:vehicle:model3:charge-current-request"}
Number              TeslaChargeCurrRequestMax   {channel="teslascope:vehicle:model3:charge-current-request-max"}
Number              TeslaChargeLimitSOC         {channel="teslascope:vehicle:model3:charge-limit-soc"}
Number              TeslaChargeLimitSOCMin      {channel="teslascope:vehicle:model3:charge-limit-soc-min"}
Number              TeslaChargeLimitSOCMax      {channel="teslascope:vehicle:model3:charge-limit-soc-max"}
Number              TeslaChargeLimitSOCStd      {channel="teslascope:vehicle:model3:charge-limit-soc-std"}
Number              TeslaChargeRate             {channel="teslascope:vehicle:model3:charge-rate"}
String              TeslaChargingState          {channel="teslascope:vehicle:model3:charging-state"}
Switch              TeslaChargePort             {channel="teslascope:vehicle:model3:charge-port"}
Switch              TeslaChargePortLatch        {channel="teslascope:vehicle:model3:charge-port-latch"}
Number              TeslaChargerPower           {channel="teslascope:vehicle:model3:charger-power"}
Number              TeslaTimeToFullCharge       {channel="teslascope:vehicle:model3:time-to-full-charge"}

Number              TeslaChargerVoltage         {channel="teslascope:vehicle:model3:charger-voltage"}
Number              TeslaChargerPower           {channel="teslascope:vehicle:model3:charger-power"}

DateTime            TeslaScheduledChargingStart {channel="teslascope:vehicle:model3:scheduled-charging-start"}

Switch              TeslaDoorLock               {channel="teslascope:vehicle:model3:door-lock"}
Switch              TeslaHorn                   {channel="teslascope:vehicle:model3:honk-horn"}
Switch              TeslaSentry                 {channel="teslascope:vehicle:model3:sentry-mode"}
Switch              TeslaLights                 {channel="teslascope:vehicle:model3:flash-lights"}
Switch              TeslaValet                  {channel="teslascope:vehicle:model3:valet-mode"}

Switch              TeslaFrontDefrost           {channel="teslascope:vehicle:model3:front-defroster"}
Switch              TeslaRearDefrost            {channel="teslascope:vehicle:model3:rear-defroster"}
Switch              TeslaLeftSeatHeater         {channel="teslascope:vehicle:model3:left-seat-heater"}
Switch              TeslaRightSeatHeater        {channel="teslascope:vehicle:model3:right-seat-heater"}

Switch              TeslaHomelink               {channel="teslascope:vehicle:model3:homelink"}
Location            TeslaLocation               {channel="teslascope:vehicle:model3:location"}
Number              TeslaHeading                {channel="teslascope:vehicle:model3:heading"}

Switch              TeslaAutoconditioning       {channel="teslascope:vehicle:model3:auto-conditioning"}
Number:Temperature  TeslaTemperature            {channel="teslascope:vehicle:model3:temperature"}
Number:Temperature  TeslaInsideTemperature      {channel="teslascope:vehicle:model3:inside-temp"}
Number:Temperature  TeslaOutsideTemperature     {channel="teslascope:vehicle:model3:outside-temp"}

Number:Pressure     TeslaTPMSPressureFL         {channel="teslascope:vehicle:model3:tpms-pressure-fl"}
Number:Pressure     TeslaTPMSPressureFR         {channel="teslascope:vehicle:model3:tpms-pressure-fr"}
Number:Pressure     TeslaTPMSPressureRL         {channel="teslascope:vehicle:model3:tpms-pressure-rl"}
Number:Pressure     TeslaTPMSPressureRR         {channel="teslascope:vehicle:model3:tpms-pressure-rr"}

Switch              TeslaTPMSSoftWarningFL      {channel="teslascope:vehicle:model3:tpms-soft-warning-fl"}
Switch              TeslaTPMSSoftWarningFR      {channel="teslascope:vehicle:model3:tpms-soft-warning-fr"}
Switch              TeslaTPMSSoftWarningRL      {channel="teslascope:vehicle:model3:tpms-soft-warning-rl"}
Switch              TeslaTPMSSoftWarningRR      {channel="teslascope:vehicle:model3:tpms-soft-warning-rr"}

example.sitemap Example ​

dsl
sitemap main label="Main"
{
    Text item=TeslaUsableBatteryLevel label="Car" icon="tesla" valuecolor=[<=20="red",>60="green"]
    {
        Frame
        {
            Text item=TeslaState label="State [%s]" icon=""
            Text item=TeslaHomelink label="Homelink Available[%s]" icon=""
            Text item=TeslaSpeed label="Speed [%.1f]"
            Text item=TeslaShiftState label="Shift State [%s]" icon=""
            Text item=TeslaShiftState
            Text item=TeslaOdometer label="Odometer [%.1f miles]"
            Text item=TeslaRange
            Text item=TeslaCurrentVersion
            Switch item=TeslaHome label="Vehicle at Home?"
            Switch item=TeslaWork label="Vehicle at Work?"
            Switch item=TeslaFavorite label="Vehicle at Favorite?"
        }
        Frame
        {
            Switch item=TeslaAutoconditioning label="Enable Heat or AC"
            Setpoint item=TeslaTemperature step=0.5 minValue=65 maxValue=78 label="Auto Conditioning Temperature [%.1f °F]"
            Text item=TeslaInsideTemperature label="Inside Temperature [%.1f °F]" valuecolor=[<=32="blue",>95="red"]
            Text item=TeslaOutsideTemperature label="Outside Temperature [%.1f °F]" valuecolor=[<=32="blue",>95="red"]
        }
        Frame
        {
            Text item=TeslaBatteryLevel
            Text item=TeslaPower
            Text item=TeslaBatteryRange label="Battery Range [%.1f miles]"
            Text item=TeslaEstBatteryRange label="Battery Est Range [%.1f miles]"
        }
        Frame
        {
            Switch item=TeslaCharge label="Charge"
            Text item=TeslaChargeAmps label="Current Charging rate in A"
            Text item=TeslaChargeCurrRequest label="Current Requested Charging rate in A"
            Text item=TeslaChargeCurrRequestMax label="Maximum Supported Charging Current in A"
            Slider item=TeslaChargeLimitSOC label="Charge Limit [%.0f]"
            Text item=TeslaChargeLimitSOCMin label="Minimum Charge Limit [%.0f]"
            Text item=TeslaChargeLimitSOCMax label="Maximum Charge Limit [%.0f]"
            Text item=TeslaChargeLimitSOCStd label="Standard Charge Limit [%.0f]"
            Text item=TeslaChargingState label="Charging State [%s]" icon=""
            Switch item=TeslaChargePort label="Charge Port Door Status"
            Switch item=TeslaChargePortLatch label="Charge Port Latch Status"
            Text item=TeslaTimeToFullCharge label="Time To Full Charge [%.1f hours]"
            Text item=TeslaPreconditioning label="Preconditioning [%s]" icon=""
            Text item=TeslaChargeRate label="Charge Rate [%d miles/hr]"
            Text item=TeslaScheduledChargingStart icon="time"
            Text item=TeslaChargerVoltage label="Charge Voltage [%.1f V]"
            Text item=TeslaChargerPower label="Charge Power [%.1f kW]"
        }
        Frame
        {
            Switch item=TeslaDoorLock label="Doorlock"
            Switch item=TeslaHorn label="Horn"
            Switch item=TeslaLights label="Lights"
            Switch item=TeslaValet label="Valet Mode"
            Switch item=TeslaSentry label="Sentry Mode"

            Switch item=TeslaFrontDefrost label="Defrost Front"
            Switch item=TeslaRearDefrost label="Defrost Rear"
            Switch item=TeslaLeftSeatHeater label="Seat Heat Left"
            Switch item=TeslaRightSeatHeater label="Seat Heat Right"
        }
        Frame
        {
            Mapview item=TeslaLocation height=10
        }
    }
}