Batch-Provision Multiple, Similar Devices using Scripts
After you have set up a Python interpreter so that you can begin to automate many administrative tasks, and can now fetch tokens automatically, you may now want to automate time-consuming tasks like batch-provisioning many new end-devices at once. This tutorial shows how to do this, as well as query devices, and deprovision devices as well.
CSV File for End-Device Parameters
Provisioning a new end-device requires information like:
DevEUI
;AppEUI
;
Previous Steps
- Setting up a Scripting Environment – Set up a suitable Python interpreter, along with some standard tools and libraries
- Fetching Tokens Automatically – Build a DX API base-class so that tokens are fetched automatically when performing other scripted tasks
- Batch-Provisioning Devices – Provision multiple, similar end-devices using Python scripts