hide/show scene in Home View API

Which HomeKit API serves for the Home application scene (HMActionSet)-related functionality “Remove from Home View” and “Add to Home View”?

There must be a public API for that, for at the very least one 3rd party application shows/hides scenes appropriately as they are set up in Home; nevertheless, whatever I try, I can't find the API.

Thanks!

Answered by DTS Engineer in 873850022

Which HomeKit API serves for the Home application scene (HMActionSet)-related functionality “Remove from Home View” and “Add to Home View”?

So, as a general note, you should be aware that there are significant differences in the details of how Home.app interacts with the functionality it provides and the HomeKit API. Home.app was created several years after the core HomeKit framework and has since implemented features (for example, shortcut integration) which aren't part of the public API, which has caused its implementation to diverge from the original framework.

There must be a public API for that, for at the very least one 3rd party application shows/hides scenes appropriately as they are set up in Home; nevertheless, whatever I try, I can't find the API.

There is no public API for this and, to be honest, I'm not sure how any 3rd party app would get access to it, as this interface data is primarily stored outside of the HomeKit API structure.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Accepted Answer

Which HomeKit API serves for the Home application scene (HMActionSet)-related functionality “Remove from Home View” and “Add to Home View”?

So, as a general note, you should be aware that there are significant differences in the details of how Home.app interacts with the functionality it provides and the HomeKit API. Home.app was created several years after the core HomeKit framework and has since implemented features (for example, shortcut integration) which aren't part of the public API, which has caused its implementation to diverge from the original framework.

There must be a public API for that, for at the very least one 3rd party application shows/hides scenes appropriately as they are set up in Home; nevertheless, whatever I try, I can't find the API.

There is no public API for this and, to be honest, I'm not sure how any 3rd party app would get access to it, as this interface data is primarily stored outside of the HomeKit API structure.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Thanks, Kevin.

Well yes, I'm bitterly aware of that — just lately I've bumped to the ugly problem that there's no way for us lowly 3rd parties e.g., to create a trigger-owned scene. It's wrong, you know — would make sense for privacy- or security-related APIs, but... well, this is no place to discuss this (and of course, I completely appreciate it was not your decision :))

As for the 3rd party app (whose creator I won't reveal for obvious reasons) ... hmmm, given your answer that the API is not public (alas!), I've re-tested a couple of times, and it seems it actually sometimes works, sometimes it does not, rather randomly. I guess they hacked-out some unreliable undocumented way to do that, most probably. Reminds one of https://openradar.appspot.com/7044974 sort of :)

hide/show scene in Home View API
 
 
Q