nfarina / homebridge-tesla

Tesla plugin for homebridge: https://github.com/nfarina/homebridge
154 stars 38 forks source link

Driver's Door #112

Closed givanildo closed 1 year ago

givanildo commented 1 year ago

First of all congratulations once again for the excellent work. incredible!! one request … opening the driver's door … would be amazing!!

nfarina commented 1 year ago

Thanks!

So I can't tell if there's an API for it: https://github.com/mseminatore/TeslaJS

I had an X myself and I don't remember being able to open the driver door remotely at all, you had to be near the vehicle.

If you can verify that there's an API to open it remotely then I can add it in!

givanildo commented 1 year ago

I will look for this. Congratulations and thank you for always collaborating

givanildo commented 1 year ago

image

nfarina commented 1 year ago

Oh you have a Model Y? In that case are you just wanting to unlock the car doors? Because you can do that with the plugin already…

givanildo commented 1 year ago

Yes I do !
I know however...actually wanted to open the driver's door. the tesla app is capable of doing this. however I wanted to use it in homekit. this command unlocks and partially opens the door. better saying, leave her ready to pull to open, sorry for my english.

givanildo commented 1 year ago

I already use your plugin to unlock with gestures. it would be cool to open the door with gestures too kkkkkk

givanildo commented 1 year ago

https://github.com/nfarina/homebridge-tesla/assets/8014472/6752573f-626b-4046-af39-278c33806bcf

nfarina commented 1 year ago

Hey that's cool! How are you doing the gesture recognition?

I had no idea you could unlatch the driver door from the app! So there must be an API, now we just have to figure out what it is.

givanildo commented 1 year ago

Nick… you (Our Master) will get it in many ways. I, a mere mortal, used OpenCv for the door of the house and for the tesla I tested that camera from the Aqara g3. then I make the association through an automation by HomeKit. using your plugin

givanildo commented 1 year ago

until then there was none. but with those reports of the tesla port freezing in winter, so they solved the problem by adding this functionality

nfarina commented 1 year ago

Well, I did some digging and found this:

https://github.com/timdorr/tesla-api/issues/637

Unfortunately the "unlatch driver door" command only works over the Tesla App's Bluetooth connection. There is no API for it that Homebridge can use :(