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

Support for Robot Vacuum Cleaners in iOS 18 #1073

Open
azmke opened this issue Sep 24, 2024 · 6 comments
Open

Support for Robot Vacuum Cleaners in iOS 18 #1073

azmke opened this issue Sep 24, 2024 · 6 comments

Comments

@azmke
Copy link

azmke commented Sep 24, 2024

Current Situation

Currently, robot vacuum cleaners are not natively supported by Homebridge or HAP-NodeJS. As a result, they are often represented as switches in existing plugins, which limits their functionality and integration within the Home app. According to Apple, robot vacuum cleaner support is expected to be natively available in the Home app with iOS 18, allowing them to participate in automations, scenes, and be controlled via Siri. However, I couldn't find any indication of support for vacuum robots in the code of either the Homebridge or the HAP-NodeJS repositories.

Proposed Change

Introduce native support for robot vacuum cleaners in HAP-NodeJS to leverage the new capabilities in iOS 18. Apple has announced native support for robot vacuum cleaners in iOS 18, which means Homebridge should enable vacuum cleaner plugins to utilize these new capabilities. This would involve adding a new accessory category and associated characteristics to properly represent robot vacuums. This change would then enable Homebridge to support plugins that can fully utilize the new robot vacuum cleaner controls, providing a more integrated and functional user experience.

Additional Context

  • Source: Apple Newsroom - Updates to the Home Experience
  • Official Apple page for iOS 18 mentions that robot vacuum cleaner support is "coming later this year": iOS 18
  • The implementation of this feature would allow users to integrate their robot vacuum cleaners more effectively into the Home app, enabling better automation and control through Siri.
  • Example use case: A user could create a scene that includes starting the robot vacuum cleaner along with other actions, or use voice commands to control the vacuum cleaner directly.
@ebaauw
Copy link
Contributor

ebaauw commented Sep 24, 2024

We need to see whether these will actually be supported through HAP. I suspect they might be Matter only.

@hjdhjd
Copy link
Contributor

hjdhjd commented Sep 24, 2024

As @ebaauw indicated they're currently Matter-only, specifically Matter 1.2 which iOS 18 now supports. HAP-NodeJS is HomeKit-specific, at least at the moment. I wouldn't bet on this happening anytime soon I'm afraid. It remains to be seen whether or not Apple will ultimately deprecate HomeKit in favor of Matter or not over time.

TL;DR: unlikely to happen until HomeKit supports robot vacuums (or any other device class).

@hjdhjd hjdhjd added the wontfix label Sep 24, 2024
@adriancable
Copy link
Contributor

adriancable commented Sep 26, 2024

@hjdhjd - iOS 18 only supports Matter 1.1 (with the sole, and odd, exception that it supports air purifiers from the Matter 1.2 spec) - no robot vacuums. iOS 18.1 as of the latest developer beta is the same. Maybe it will come in 18.2 later this year.

@azmke
Copy link
Author

azmke commented Sep 30, 2024

Hey together,

thanks to the three of you for the technical explanation. This makes me wonder about the strategic direction of Homebridge: As far as I understand, Homebridge only supports HomeKit at the moment. Given that HomeKit seems to be becoming less and less important and Matter is becoming more and more important, wouldn't it be wise to implement a Matter interface in the near future in order to benefit from new features (such as robot vacuum functions in this case)?

At the end of the day, the user doesn't care how the Homebridge communicates (HomeKit or Matter) with the home hub (HomePod etc.). They don't really notice anything about it. They just want their IOT device to be controllable via the Apple Home app and Siri. Which is kind of the core philosophy behind Homebridge, as far as I understand it.

What do you think?

@adriancable
Copy link
Contributor

@azmke - HomeKit won't become less and less important until Matter supports most of the stuff that HomeKit does. Right now, Matter doesn't support some of the most common HomeKit device classes, like cameras. That will change eventually, but not soon.

There is matterbridge, which is a plug-ins wrapper around the official matter.js Matter implementation in JavaScript, which is essentially what you are asking for: https://github.com/Luligu/matterbridge

@hjdhjd
Copy link
Contributor

hjdhjd commented Sep 30, 2024

@hjdhjd - iOS 18 only supports Matter 1.1 (with the sole, and odd, exception that it supports air purifiers from the Matter 1.2 spec) - no robot vacuums. iOS 18.1 as of the latest developer beta is the same. Maybe it will come in 18.2 later this year.

Thanks for the clarification @adriancable - I must've missed it somewhere. 😄

@azmke HomeKit's going to be supported for a very long time to come. I wouldn't count Apple out in one direction or the other...they like their own standards for things too. As to what Homebridge will support in the future, beyond HomeKit, we're always looking at the evolving smart home capability landscape and exploring accordingly. First, we'd like to get Homebridge 2.0 out the door. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants