在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:meg768/homebridge-my-tesla开源软件地址:https://github.com/meg768/homebridge-my-tesla开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-my-teslaHomebridge plugin for Tesla owners. This plugin assumes you are familiar with Homebridge. Before installing this plugin please concider the plugin https://www.npmjs.com/package/homebridge-tesla which was created by Nick Farina who also created Homebridge. Without his work this plugin would not be possible. A Swedish screen shot below but may be explanatory. InstallationFirst, install Homebridge. See https://www.npmjs.com/package/homebridge for more information. Then install this plugin.
Configuration FileConfigure your ~/.homebridge/config.json with the following platform. {
"bridge":{
"name":"Tesla",
"username":"11:11:11:11:11:21",
"port":51821,
"pin":"111-11-120"
},
"description":"Sample configuration file",
"platforms":[
{
"platform":"Tesla",
"name":"Tesla",
"debug":true,
"vehicles":[
{
"name":"Model 3",
"vin":"your-vin-number",
"token":"your-refresh-token",
"expose":[
"ping",
"defrost",
"ventilation",
"trunk",
"hvac",
"doors",
"insideTemperature",
"steeringWheelHeater"
],
"accessories":{
"ping":{
"name":"Ping",
"requiredBatteryLevel":50,
"timerInterval":0.25
},
"defrost":{
"name":"Avfrostning"
},
"ventilation":{
"name":"Ventilation"
},
"trunk":{
"name":"Bakluckan"
},
"charging":{
"name":"Laddning"
},
"hvac":{
"name":"Fläkten",
"requiredBatteryLevel":20
},
"doors":{
"name":"Dörren",
"remoteStartDrivePassword":"omit-or-your-tessla-password"
},
"outsideTemperature":{
"name":"Ute"
},
"insideTemperature":{
"name":"Inne"
},
"thermostat":{
"name":"Termostat",
"requiredBatteryLevel":40,
"timerInterval":2
},
"steeringWheelHeater":{
"name":"Rattvärme"
}
}
}
]
}
]
}
Of course, you have to supply your own name and VIN number and login credentials. What This Plugin DoesThis plugin adds a number of controls to Apple HomeKit. Currently it only adds controls to open the doors, control the HVAC and to display current temperature. Added accessoriesPingWhen this switch is active your Tesla will never go into deep sleep. Every 5 minutes or so, a request is made to update the state of your car. "ping": {
"name": "Ping",
"requiredBatteryLevel": 40,
"timerInterval": 5
}
ChargingThe charging switch reflects the charging state. "charging": {
"name": "Charging"
}
DoorLock or unlock the doors using this switch. Unlocking the door also also enables keyless start. "doors": {
"name": "Door",
"remoteStartDrivePassword": "tesla-login-password"
}
FanTurn the HVAC ON or OFF using this switch. "hvac": {
"name": "Fläkten",
"requiredBatteryLevel": 20
}
InsideDisplays the inside temperature. "insideTemperature": {
"name": "Inside"
}
OutsideDisplays the outside temperature. "outsideTemperature": {
"name": "Outside"
}
ThermostatThis enables you to control the inside temperature of your Tesla. Set it to 4 - 10 Celsius in the winter time to have a frost free vehicle in the morning. Use automation to turn it on at a specific time. "thermostat": {
"name": "Termostat",
"requiredBatteryLevel": 40,
"timerInterval": 2
}
SiriIf you name things correctly you might get Siri to work by saying "Lock car", "Unlock car", "Turn on fan" or "Turn off fan"... UsageAs for now, it is a good idea to create a new home in Apple's Home app. Name the new home to the same name of your car. Then add the this accessory to the newly created home. Updates
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论