I was just wondering if anyone figured out if the homey app allows deep links? Meaning opening a specific section (e.g. Home, Devices, Flows) or even a specific entity (e.g. a certain device) when clicking on a link.
I was able to find out that the “url scheme” used by homey simply is “homey://” but I have tried a few different things and none of them seem to do anything besides opening the app.
Following the same url logic as the webapp: homey://homeys/<my-homey-id>/devices
Following the same logic as the api homey://devices/device
Just the root path homey://devices
Following using the id of something directly homey://<my-device-id>
Reason I’m trying to figure this out is because using Scriptable, I was able to create a pretty nice custom widget for iOS. And I would want to be able to link to a specific device if I press on the according section of the widget.
This works if I for example would want to run a flow or change the state of a device. But what I actually want to do is open a specific device in the app via a link:
It isn’t possible, opening a device isn’t part of the Homey API (that the mobile app or Web app use), but is an internal function of the mobile app and web app themselves, and aren’t even the same for both of them.
Sure it’s possible: you can navigate to a device in the mobile app, so it’s also possible to implement a custom URL scheme so external apps/widgets can link to it. This has nothing to do with the Homey API but with the mobile app internals.
The thing is they might even have at least partially implemented deep links to some part of the app, but without them documenting it or somebody by accident figuring out what their url format is there is no good way to know besides decompiling the app and hunting through the code.