IoT Platform provides the Home Space feature for private-label apps. This feature organizes devices that are bound to an app into spaces, such as homes, rooms, and device groups.
Function overview
The following figure shows the topology of users, spaces, and devices in the Home Space model.

Device rules for Home Space
When you develop the Home Space service, consider the following rules for binding devices.
| Category | Rule description |
| Device |
|
| Device group | A device group is a collection of devices under the same product that can be used for group control.
|
API call limits
IoT Platform provides a set of APIs for the Home Space service. Some existing APIs have been upgraded to support Home Space features, as shown in the following table.
- If your app uses the Home Space service, use the API versions that support it. Otherwise, an error code of 28806 is returned. For more information, see Provisioning Service and Scene Service.
- If your app does not use the Home Space service, use the legacy API versions. Otherwise, an error code of 460 is returned. For more information, see Legacy Provisioning Service and Legacy Scene Service.
| Service | API path | Version that supports Home Space service | Version that does not support Home Space service |
| Provisioning Service | /awss/token/user/bind | 1.0.8 and later | 1.0.7 and earlier |
| Provisioning Service | /awss/time/window/user/bind | 1.0.8 and later | 1.0.7 and earlier |
| Provisioning Service | /uc/scanBindByShareQrCode | 1.0.7 and later | 1.0.6 and earlier |
| Provisioning Service | /awss/enrollee/user/bind | 1.0.3 and later | 1.0.2 and earlier |
| Network Provisioning Service | /awss/ble/user/bind | 1.0.3 and later | 1.0.2 and earlier |
| Network Provisioning Service | /awss/gprs/user/bind | 1.0.3 and later | 1.0.2 and earlier |
| Provisioning Service | /awss/subdevice/bind | 1.0.3 and later | 1.0.2 and earlier |
| Scene Service | /living/scene/create | 1.0.1 and later | 1.0.0 |
| Scene Service | /scene/create | 1.0.6 and later | 1.0.5 and earlier |
| Scene Service | /scene/info/get | 1.0.6 and later | 1.0.5 and earlier |
该文章对您有帮助吗?