OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://openwonderlabs.github.io/homebridge-switchbot/
ISC License
247 stars 54 forks source link

Bot showing as door opener? #179

Closed FranciRoosters closed 2 years ago

FranciRoosters commented 2 years ago

Describe Your Problem

Planning to buy a SwitchBot bot to automate my building’s main door. Can I set the bot to show as a door so Siri understands me when I say “unlock main door”? Thank you!

Relevant log output

No response

Config for homebridge-switchbot

No response

Screenshots

No response

Device & Model

N/A

Node.js Version

N/A

NPM Version

N/A

Homebridge Version

N/A

Homebridge SwitchBot Plugin Version

Latest

Homebridge Config UI X Plugin Version

No response

Operating System

N/A

donavanbecker commented 2 years ago

I could try, but there are some characteristics that are required that make this hard.

FranciRoosters commented 2 years ago

It would be a nice feature for those who rent and have intercoms. I’ll set up a Siri shortcut in the meantime.

On 1 Jan 2022, at 19:18, Donavan Becker @.***> wrote:

 I could try, but there are some characteristics that are required that make this hard.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

donavanbecker commented 2 years ago

@FranciRoosters, can you try the latest beta:

npm version

Click here to find out how to install Beta

I have added the option of deviceType garage door

FranciRoosters commented 2 years ago

Thank you. I appreciate your work. Could you also add the simple door icon? That’s what I’d really need as I don’t own a garage.

On 3 Jan 2022, at 23:23, Donavan Becker @.***> wrote:

 @FranciRoosters, can you try the latest beta:

Click here to find out how to install Beta

I have added the option of deviceType garage door

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

donavanbecker commented 2 years ago

@FranciRoosters, ok let's try the next beta:

npm version

FranciRoosters commented 2 years ago

Sweet. That was fast, thank you. Will report back in a couple of days. 🙂

On 4 Jan 2022, at 00:16, Donavan Becker @.***> wrote:

 @FranciRoosters, ok let's try the next beta:

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

FranciRoosters commented 2 years ago

So, after a bit of testing with both door types (Garage Door and Door), the bot responds fine to the Garage Door icon but is unresponsive to the Door icon. I wonder if that’s something that is natively supported by HomeKit since all I’ve ever seen spinning (Opening…) while unlocking are either Garage Doors indeed or actual Locks. Maybe, if it’s not too much of a hassle, you could try fixing things while keeping the Door icon and if that doesn’t work, try implementing the Lock icon. Let me know what you think and thank you so much again for you support and hard work.

On 4 Jan 2022, at 00:16, Donavan Becker @.***> wrote:

@FranciRoosters https://github.com/FranciRoosters, ok let's try the next beta:

@.***/homebridge-switchbot> — Reply to this email directly, view it on GitHub https://github.com/OpenWonderLabs/homebridge-switchbot/issues/179#issuecomment-1004420244, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQII4NX5GLJUPOJX33JPP3UUIU4FANCNFSM5LCWRQAA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

donavanbecker commented 2 years ago

I am also having issues with the door after testing.

Let's do both, when I get time I will try to fix the door and add the lock.

FranciRoosters commented 2 years ago

Brilliant! Thank you.

On 4 Jan 2022, at 15:31, Donavan Becker @.***> wrote:

 I am also having issues with the door after testing.

Let's do both, when I get time I will try to fix the door and add the lock.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

donavanbecker commented 2 years ago

Just added Lock, I haven't been able to improve door yet.

FranciRoosters commented 2 years ago

Lock works like a charm, thank you so much! It even makes more sense to show as a Lock given my circumstances. This will make a lot of sense for those who, like me, will want to use a SwitchBot to unlock a building’s front door using their apartment’s intercom. Again, thanks a lot for your contribution!

On 5 Jan 2022, at 04:41, Donavan Becker @.***> wrote:

 Just added Lock, I haven't been able to improve door yet.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

donavanbecker commented 2 years ago

@FranciRoosters would you retest Door again? I pushed a fix.

FranciRoosters commented 2 years ago

Will do and report back.

On 5 Jan 2022, at 14:01, Donavan Becker @.***> wrote:

 @FranciRoosters would you retest Door again? I pushed a fix.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

FranciRoosters commented 2 years ago

Works great. Awesome job! Thank you again!

On 5 Jan 2022, at 14:01, Francesco Galli @.***> wrote:

 Will do and report back.

On 5 Jan 2022, at 14:01, Donavan Becker @.***> wrote:

 @FranciRoosters would you retest Door again? I pushed a fix.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

donavanbecker commented 2 years ago

Works great. Awesome job! Thank you again!

Perfect! I will post a new release soon.

donavanbecker commented 2 years ago

Might add other device types while I'm at it as well. Ha

donavanbecker commented 2 years ago

v1.7.0 has been released.

adamrzanek commented 2 years ago

OMG thanks for this! Now i will buy one more bot for intercom door opener! :D