I posted this question in stackoverflow and nobody answers. Hopefully, experts here could provide some insights.
Below is my question in the stackoverflow. So essentially, I would like to run a very small home automation project (it is actually for commercial purposes). The number of devices and scenarios are limited. I would use an iPad as a Kiosk (and control devices). In addition, I would like to use this iPad as my "home hub" to reduce system complexity and money. Please let me know if this is feasible. I need to purchase multiple devices basing on the design. So I would like to know the answer before trying out. Thanks!
---------
Can I run Homekit Home Hub and an app in Autonomous Single App Mode enabled on an iPad? The app will be a client to the Home Hub. I suspected that there will be no problem. Just want to confirm.
Not sure a 'hub' and subset are the same things...
Via your app, see:
Introduction to HomeKit
This document helps you write a HomeKit app. HomeKit is a framework for communicating with and controlling connected home automation accessories that support Apple's HomeKit Accessory Protocol. HomeKit apps enable users to discover compatible accessories and configure them. Users can also create actions to control accessories (such as a thermostat or light), group them together, and trigger them by using Siri. HomeKit objects are stored in a database residing on the user’s iOS device, which is synchronized over iCloud to other iOS devices. HomeKit supports remote access to accessories, multiple user devices, and multiple users. HomeKit also handles security and privacy for you.
Which links to a sample app:
To include 'In App Purchases' see:
https://developer.apple.com/documentation/storekit/in_app_purchase
...no promise you'll be allowed to paywall HK features, especailly when the devices aren't yours - be sure to check the ASRGs: