nfarina / homebridge-tesla

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

Request: Allow show closed garage state #50

Closed Geczy closed 2 years ago

Geczy commented 3 years ago

Can you add to always show the closed state of the garage? Right now the homekit app says "no response" or when you activate homelink, it is constantly showing a refresh status and "closing" or "opening"

https://github.com/nfarina/homebridge-tesla/blob/a09de081d413fcdc2ce443ec087b0ea247cbc90a/src/index.ts#L227

focher commented 3 years ago

As I added the code for Homelink, I can confirm this is not possible. Homelink does not support the garage door state (open/closed/blocked). It is merely a button toggle behavior, so the only thing possible is to send a Homelink command. If the door is open, it closes. If the door is closed, it opens. But no state is returned by Homelink on whether it was open or closed.

If you want a more comprehensive set of features like garage door state, you would need to leverage something like Tailwind (what I now use) or MyQ or other such solutions.

focher commented 3 years ago

I just did a pull request to fix a different non-critical error in future Homebridge versions. The code will now always set the garage door state to CLOSED.

focher commented 3 years ago

Can this issue be closed as it has been implemented?