How to provision device without creating in UI first?

Hi All,

I was wondering if it’s possible to do any kind of auto-provisioning of devices on ChirpStack, WITHOUT having to create a device on the UI.

I understand that it may be due to security that ChirpStack doesn’t allow just any device to provision, hence the pre-config on the UI.

Currently I am writing a bash script to take a csv of dev euis, and repeatedly hit the /devices api endpoint with my config to create them, but I would like to hear if anyone has anything more efficient.

Anything that can be done with the UI can be done with the API (as the UI is a consumer of the API). I think that’s as efficient as you can get, as everything should be scriptable.

You might find an example under inventory. If you have any questions, feel free to open an Issue.
I’ll try to add a proper readme.

1 Like