Hi,
Is there a Particle and AWS IoT Integration in the works? If there is, what is the time line of the integration?
Thanks.
Hi,
Is there a Particle and AWS IoT Integration in the works? If there is, what is the time line of the integration?
Thanks.
I donāt know if there is, and I wish there was. Currently Iām using webhooks and AWS API endpoints and it is not ideal at all.
The issue has to do with authenticating to AWS; itās a cert-based authentication, and I donāt think there are any SSL/TLS libraries available that can handle this on Particle devices.
@naikrovek, thanks for the reply, I saw a coming soon on: http://iot-hackseries.s3-website-us-west-2.amazonaws.com/particle.html and I thought it was in the works.
Agree, using Webhooks and AWS API endpoints is not ideal at all. Seem like either Google or Azure is the only choice at this point. I do like AWS better.
Hello @naikrovek
Cay you cite an example on how you are using the AWS API endpoint in the Particle ecosystem? Iāve got an AWS API endpoint standing up and Iāve not had success in connecting.
Any assistance greatly appreciated, and thanks in advance.
EDIT: without using webhooks
and
are the two most advanced efforts I can recall seeing recently that attempt to bring direct encryption to the Particle, I think both are quite large libraries that will thereby restrict how large your own code can be.
Thanks @Viscacha
Iāve made several attempts to use āHirotakaāsā TLSTCPCLIENT to no avail. I need to look into the WolfSSL client. Thanks for the references. Hoping to unearth the magic thru some working AWS IoT things/endpoints to see how one of these clients could be forged into shape.
I think it is somewhere deep in Particles ToDo list, given the likely overhead maybe they could perhaps introduce it as a fork, so if you need it you target the SSL fork and if you are happy with webhooks you target the standard one. This could even be something automatic handled by all the magic scripting that already happens when we compile.
I would like to think so (itās on their ToDo list) albeit itās a different business case. Particle has the āblades and razorsā, and a workable https:// client would usurp one side of that model.
In the longer term I believe weāll have other alternatives for Photon reflashing (http://iot-hackseries.s3-website-us-west-2.amazonaws.com/particle.html). Having the goodness of the Particle Cloud functions and FOTA utilities for now get things where they need to be. In the long run our things can use the cite above or perhaps some other library adaptation.
I just publish an event in the normal Particle way, then create a webhook in the Particle web account pages, and point that at an AWS API Endpoint that I have set up to (in my case) call a Lambda function.
It is not the same as calling the API directly from within the Particle code, but it does work.
Thanks @naikrovek
Iām vetting that exact method for nowā¦ I had edited my original post to read āwithout webhooksā, however for now thatās what weāll use. Iām going to order a JTAG shield so I can perhaps see what the client/server interactions are doing.
Oh. Oops. Well, as far as I know, webhooks are the only way to interface with AWS in a secure way. That may not be fully true, some C++ deity has probably done it, but they aren't sharing how, if so.
So, for now, it's webhooks, I believe.
No worries -
And I appreciate your repliesā¦ This does work, but it has limitsā¦ has anyone dealt with alternatives to the 255 byte āoptionalā data?