Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for creating device and getting device connection string #1

Open
skipfire opened this issue Jun 28, 2019 · 4 comments
Open

Comments

@skipfire
Copy link

Using the example I was up and running in no time, however it only works for 1 device that I manually create, how does this scale out? If I load my application onto a Particle it really needs to be able to send a message to the IoT Hub to create the device, or if it already exists get the device specific connection string. How does all that happen?

@le-james
Copy link

Hey skipfire,

Did you get the command portion of the example to work using callbackDirectMethod? I followed the example exactly but when I hit run button on Azure IoT Central side to turn on the led I get an error. Did the example code work your you? Publishing telemetry works perfectly but not the command from cloud to device.

Regarding your question, it would suck to manually create devices when scaling up the number of devices. I haven't found anything that would automatically create a device on Azure IoT Central besides: https://blog.particle.io/integrate-particle-with-azure-iot-central/. But this is only unidirectional communication, device to Azure IoT Central only.

@skipfire
Copy link
Author

I never got the callback working consistently, it seemed like it would work randomly with a very low success rate (less than 1%).

I never found a way to handle the device registration part either, so I stopped using it.

@le-james
Copy link

If you don't mind me asking what other options did you look into besides this?

@skipfire
Copy link
Author

skipfire commented Mar 22, 2020

None, I ended using the link from Particle Cloud which handled the missing functionality, it just doesn't allow for cloud to device messages. Eventually we abandoned trying to use particle for the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants