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:
const WIFI_SSID = "WIFI SSID"
const WIFI_PASS = "WIFI
const AWS_IOT_MQTT_HOST = "something.amazonaws.com"
const AWS_IOT_MQTT_PORT = 8883
const AWS_IOT_MQTT_CLIENT_ID = "SomeClientID"
const AWS_IOT_MY_THING_NAME = "SomeThingName"
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!
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?
Awesome! I'll get the Espruino WiFi and see if I can get that going. I'll post my progress on here.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem