Closed Famosi closed 2 years ago
To unblock you for now:
Thank you for the fast response.
This means that for creating a device by using the API it is first needed to create a device by using the UI?
Otherwise I can create all the devices with the same app_eui
right?
Exactly, just make sure your dev_eui and app_keys are different since you are placing them in the same organization
So this requires you "know" the dev-eui and make up a "name". Are the Helium generated ones all starting with 6081F9? Just like Dragino is A84041? Would there be a future way to request a 6081F9 one is created?
Console UI generated dev_euis all start with 6081F9 but you can change them. Not sure what you mean request? You can change the dev_eui to whatever you need it to be.
I'm curious about your use case. What kind of sensors don't include app_eui and app_key details from the manufacturer?
@jdgemm I’m developing a sensor using the Wisblock by RakWirless. Each wisblock has its own dev_eui
key but , I’d say obviously, neither app_eui
nor app_key
.
What I’m doing is creating a website in which each user can add one or more sensor by using the well known dev_eui
. I’ll then generate the other two parameters for the user so that I can create a new device
on the helium console and automatically connect the device to the flow
by assign to the device the correct label
.
However (maybe) I didn’t get your question. Am I missing something? Maybe I’m the “manufacturer” in this case?
At this point I’ve a question… could this be the correct approach? In case I want to produce and deliver several sensors, should I use my personal helium console to host all the devices?
Thanks 😊
You can definitely host devices in your own organization and add users to the org for them to add their sensors.
This is a unique use case with a provided workaround. I'm closing this issue, but if we're hearing this is more common we'll re-open for consideration.
I’d like to create a device using the helium console API.
The documentation says that the POST request must contains
name
,app_eui
,app_key
anddev_eui
. No problem with thedev_eui
andname
parameters but what aboutapp_eui
andapp_key
? How can I set them if I don’t know them? When creating a new device using the helium console, it automatically generates the two parameters. I expect to use the api the same way, that is crating a device and receive as response the app_eui and app_key. Probably I’m missing something but can’t figure out.Thanks.