Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HomeKit] Supporting Doorbell HomeKit accessories #9969

Open
diRk262 opened this issue Jan 26, 2021 · 8 comments
Open

[HomeKit] Supporting Doorbell HomeKit accessories #9969

diRk262 opened this issue Jan 26, 2021 · 8 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@diRk262
Copy link

diRk262 commented Jan 26, 2021

Hi,
I would like to use a switch as the HomeKit Doorbell accessories.
But I can’t find any support for this.

Maybe it is possible to add support for it?

Thank you

@diRk262 diRk262 added the enhancement An enhancement or new feature for an existing add-on label Jan 26, 2021
@IonasElate
Copy link
Contributor

For now you can do this with homebridge.

pytekmobile added a commit to pytekmobile/openhab-addons that referenced this issue Dec 5, 2021
* Simple HomekitDoorbellImpl.java implemented
 + ie. a Switch can be marked with {homekit="Doorbell"}
 + Device is shown in Home App but marked as not compatible. but app notifications and homepod support works
@pytekmobile
Copy link

Hi,

I've stumbled across this issue when I made my Honeywell doorbell smart with the help of a Shelly Uni. That works fine but I wanted a notification per HomeKit and HomePod too. So I've implemented the Doorbell accessory by myself.

I have committed my development to my fork. It's still work in progress. At the moment an Item (ie. Switch) can be marked with {homekit="Doorbell"} and it get's shown in the Home app. Notifications are sent to the devices and to the homePod too. But in the Home app it is still marked as not supported.

In openhab.log sometimes this warning is shown:
[WARN ] [.impl.json.CharacteristicsController] - Accessory 1538846455 has no characteristics or does not exist. Request: /characteristics?id=1538846455.7

I've no idea what this means but I've found this problem for Homebridge too.

According to the HomeKit Accessory Protocol Specification R2 only the event mechanism is required.
My next steps would be to implement the optional Characteristics (volume and brightness)

Any Ideas what else can be the problem for this?

@lsiepel
Copy link
Contributor

lsiepel commented Jan 8, 2023

Gentle ping to @ccutrer do you know if this accessory is already supported or maybe planned ?

@ccutrer
Copy link
Contributor

ccutrer commented Jan 8, 2023

It is not currently supported, and I haven't looked into it much. Is it possible to have a doorbell without a camera? I've been avoiding cameras cause I know they have more encryption and out-of-band communications.

@lsiepel
Copy link
Contributor

lsiepel commented Jan 9, 2023

Have not seen a home kit doorbell without a camera. :-( how do you stand towards partial support? Like have the doorbell without camera? At least that would give a ring notification in home app

@ccutrer
Copy link
Contributor

ccutrer commented Jan 9, 2023

I'd be perfectly fine with a partial implementation, but will iOS?

Another thing to check out would be a stateless switch I believe it's called. It's for representing any smart button or scene controller that doesn't directly control anything, so that then you hook up with automation in the Home app to cause some action. Perhaps it can be set to notify, and that would suffice for your needs.

@lsiepel
Copy link
Contributor

lsiepel commented Jan 9, 2023

Unfortunately my knowledge to the underlying dettails of the HomeKit binding is very limited, so i cannot be of any help other then to express my wishes :-)

Hope this will get in the binding, but i can understand it other accessoiry's have more priority. Thanks!

@ccutrer
Copy link
Contributor

ccutrer commented Jan 9, 2023

So I did a bit of investigation today. A StatelessProgrammableSwitch is useful, but can't be used to trigger a simple notification like "The doorbell has rang" - you have to create an Action in Home, and even then you'd have to convert it to a Siri Shortcut, and I don't see anything built it to simply send a notification. As for Doorbell - it's built on top of the same characteristic type as a StatelessProgrammableSwitch (makes sense, since it's the same type of button), but without the video components, Home just shows it as an unsupported accessory, and won't let you do anything with it.

ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 9, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 9, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 10, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 10, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 11, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 11, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 12, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 13, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 15, 2023
refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jan 15, 2023
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 14, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 14, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 16, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 16, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 21, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 21, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 22, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
lsiepel pushed a commit that referenced this issue Jul 23, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs #9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 23, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 23, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Jul 24, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
digitaldan pushed a commit to digitaldan/openhab-addons that referenced this issue Aug 29, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this issue Sep 29, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this issue Oct 15, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
matchews pushed a commit to matchews/openhab-addons that referenced this issue Oct 18, 2024
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Oct 28, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969
ccutrer added a commit to ccutrer/openhab-addons that referenced this issue Oct 28, 2024
this is _not_ sufficient for HomeKit to present a doorbell.
it just shows as an unsupported accessory with the house icon,
and you can't have status or program actions on button presses

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this issue Jan 2, 2025
also supports adding multiple of them in a group, by supporting ServiceIndex
as an optional characteristic

refs openhab#9969

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

5 participants