简体   繁体   中英

AWS IoT sub-things?

One thing confuses me now, I have 20 Xbee motion sensors which are connected to one Xbee Gateway(Coordinator). When I connect the gateway to AWS IoT, how do I create the 20 sub-devices(things) in AWS IoT? Do I create 20 more things and put them under the parent gateway group? How do I manage the 20 motion sensors?

Thanks!

The best option will be create a THING_TYPE and then create all the things with this specific, this will make easy to you manage similar things shadows, atributes e etc.

To create multiple things we can use the aws-sdk creating a thing for each item of a list using the CreateThing method.

Or you can use the POST /thing-registration-tasks api method to do a Bulk registration .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM