How to select OTAA/ABP and set DevEUI when creating device using TTN Python SDK?


(Kvist) #1

Hi!

I have been able to successfully create a new device using The Things Network Python SDK, but have to chose activation method manually (ABP/OTAA) and add device EUI manually in the ttn panel online.

Has anyone been able to create a new device using the SDK, specifying activation method and device EUI?

Thanks.


(Kvist) #2

Bump :slight_smile:


#3

@htdvisser ? @arjanvanb ?


(Kvist) #4

Bump.
Would be nice to be able to do this, since it would automate much of the labour when creating new devices if you for some reason need to create many devices.

For example:

  1. Use the SDK to create a new device with the unique device adress, specify OTAA/ABP etc.
  2. Use the SDK to obtain the app keys and save this to a config file which is uploaded to the device.

thanks