Giter Site home page Giter Site logo

homebridge-my-tesla's Introduction

meg768

homebridge-my-tesla's People

Contributors

meg768 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

decay ford9696

homebridge-my-tesla's Issues

Access Token instead of Username/Password

Can you please add the feature, so we don’t have to save our Tesla account username/password in the config.json? Homebridge-Tesla already has access token feature working.

Lock / Unlock Functions

Currently, unlocking the car automatically enables keyless entry. Would it be possible to separate this into two separate actions / accessories within HomeKit?

Expose Trunk

Is it possible to expose the trunk as an item that can be opened or closed?

Thermostat

Thermostat appear in Home app, but I can't modify, set or activate it.

Would it be possible for this, or another one, thermostat to be the desired temperature in the car.

Thank,

Wrong model version displayed

I have the latest homebridge-my-tesla setup with my Model S.

In the charge accessory i see Model 3 displayed as the model.

Bildschirmfoto 2020-04-01 um 11 58 30

TypeError: Cannot read properties of undefined (reading 'find')

TypeError: Cannot read properties of undefined (reading 'find')
at TeslaAPI.getVehicle (/opt/homebrew/lib/node_modules/homebridge-my-tesla/src/tesla-api-request.js:285:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Vehicle.getAccessories (/opt/homebrew/lib/node_modules/homebridge-my-tesla/src/vehicle.js:60:17)

No accessories shown :(
I double checked the refresh token and VIN

{
"platform": "Tesla",
"name": "My Tesla Plugin",
"vehicles": [
{
"name": "TeslaMy",
"vin": "xx",
"token": "xx",
"expose": [
"ping",
"defrost",
"ventilation",
"trunk",
"hvac",
"doors",
"insideTemperature",
"steeringWheelHeater"
],
"accessories": {
"ping": {
"name": "Keep Tesla Awake",
"requiredBatteryLevel": 50,
"timerInterval": 1
},
"defrost": {
"name": "Defrost Tesla"
},
"ventilation": {
"name": "Teslas Ventilation"
},
"trunk": {
"name": "Open Teslas Trunk"
},
"charging": {
"name": "Teslas Charger"
},
"hvac": {
"name": "Teslas Climate",
"requiredBatteryLevel": 20
},
"doors": {
"name": "Doors",
"remoteStartDrivePassword": ""
},
"outsideTemperature": {
"name": "Temperature Outside Tesla"
},
"insideTemperature": {
"name": "Temperature Inside Tesla"
},
"thermostat": {
"name": "Set Teslas Temperature",
"requiredBatteryLevel": 40,
"timerInterval": 2
},
"steeringWheelHeater": {
"name": "Steering Wheel Heater"
}
}
}

Can't log in without TESLA_USER and TESLA_PASSWORD environment set

Hi, I'm running the latest, on node 12, and unless I set the above environment vars, I end up with

[12/7/2019, 17:39:22] [Tesla] Initializing Tesla platform...
[12/7/2019, 17:39:22] [Tesla] Environment variables PUSHOVER_USER and/or PUSHOVER_TOKEN not defined. Push notifications will not be able to be sent.
[12/7/2019, 17:39:22] Error: Need Tesla credentials. A username must be specified
    at new TeslaAPI (/opt/node/lib/node_modules/homebridge-my-tesla/src/tesla-api.js:25:19)
    at new Vehicle (/opt/node/lib/node_modules/homebridge-my-tesla/src/vehicle.js:20:9)
    at /opt/node/lib/node_modules/homebridge-my-tesla/src/platform.js:34:27
    at Array.forEach (<anonymous>)
    at Platform.accessories (/opt/node/lib/node_modules/homebridge-my-tesla/src/platform.js:33:30)
    at Server._loadPlatformAccessories (/opt/node/lib/node_modules/homebridge/lib/server.js:403:20)
    at Server._loadPlatforms (/opt/node/lib/node_modules/homebridge/lib/server.js:341:16)
    at Server.run (/opt/node/lib/node_modules/homebridge/lib/server.js:90:36)
    at module.exports (/opt/node/lib/node_modules/homebridge/lib/cli.js:59:10)
    at Object.<anonymous> (/opt/node/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
    at internal/main/run_main_module.js:17:11

I tried to debug the js to see what's going on but failed. Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.