AWS IoT Template #7161
Replies: 1 comment
-
Posted at 2017-08-17 by @gfwilliams I think someone did manage this - it's a secure connection though so you need TLS support. Realistically that means Espruino Pico or WiFi, but I just checked and it does seem to be compiled in to ESP32, so it might possibly work? Posted at 2017-08-17 by user80424 Awesome! I'll get the Espruino WiFi and see if I can get that going. I'll post my progress on here. Posted at 2017-12-09 by user83752 hello Gordon and user80424 Posted at 2017-12-09 by user80424 There's two ways I'm thinking. Hopefully, I'm successful with the first.
Posted at 2017-12-09 by user83752 hi user80424, Posted at 2017-12-09 by user80424 Hi @user83752, For example on line 60 of index.js on the device sdk , you'll see that That relies on the 'crypto-js' package (dependency). Instead of calling that, I can call the espruino HMAC module @gfwilliams please tell me if my thinking is correct on this. @user83752 I'll create a repo you can clone to test or do a pr. Its not going to be soon, cause I got other work stuff. But I'll post it here when its ready. Thanks Posted at 2017-12-10 by user83752 👍 Posted at 2017-12-11 by @gfwilliams @user80424 yes, that sounds like it'd be fine to me. In fact you might find that the bog standard crypto SHA256 does what you want - without the HMAC library: http://www.espruino.com/Reference#l_crypto_SHA256 Posted at 2017-12-22 by user83752 Happy Holidays folks. I am hoping this will be my new years gift :) Posted at 2018-02-23 by user83752 hello @user80424 and @gfwilliams Posted at 2019-01-24 by sammachin Just bumping this in case anyone made any progress? Posted at 2019-01-24 by @gfwilliams No news on that... However looking at it a good way to plumb in Bluetooth devcies would be to:
Then plumbing it all together should be trivial in Node-RED Posted at 2019-01-24 by sammachin Thanks, Yeah I've marked the node-red hub to look at as I've been doing a load of development with NR recently so thats something to play with :) The intended use for the AWS-IoT though won't really make Puck&Pi a go-er for production use, might be fine for a quick prototype Posted at 2019-10-23 by user104360 Two years since the discussion came up; is there anything technically known that would prevent use of the ESPruino Wifi to connect to, and exchange data with AWS ? Seems to me the basic stuff is in the ESPruino, it can go through any Wifi router it can connect to for Internet access. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-17 by user80424
Hello all,
I'm curious if anyone has attempted and/or has any suggestions for how to go about building a template to connect with AWS' IoT service. Ideally it would look something like this:
And you'd store some AWS provided certs that will be given to you by amazon.
I've used this repo as example on how to implement it. As a strategy I'm thinking:
I'm also curious if anyone has attempted this in the past with any board.
Thanks for reading!
Beta Was this translation helpful? Give feedback.
All reactions