Creating a custom helium device with python analysis
Hello.
I have been working on creating a helium device from an analysis.
I have added the correct connector id and network id, but I have been failing at updated the EUI.
This is the code I have to generate a new device:
my_account = Account(account_token)
# get the device token from the scope
new_device = {
'name': command_vars['serial_number'],
'active': True,
'visible': True,
'connector': '605c9654da971900114d4550',
'network': '602275f9fc48a40018510a8a',
'tags': [
{'key': 'owner', 'value': command_vars['user_id']}
],
'type':'immutable',
'chunk_period': 'month',
'chunk_retention': 2,
'eui': command_vars['eui']
}
result = my_account.devices.create(new_device)
context.log(result)
My result is successful but I don't see an EUI in the device page.

I'm guessing I am not creating the token correctly.
What is the correct format?
Take a look at our updated roadmap here!
What would you like to see on TagoIO?