Skip to content

JuanDValenciano/exploring_aws_IoT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exploring_aws_IoT

My study notes from the course: https://www.udemy.com/course/exploring-aws-iot

Getting setup

To use the Sketch with the ESP8266 board

Python files haven't dependencies. use a 3.4+ version.

ESP8266

For each Sketch you must configure the WiFi credentials:

const char* ssid = "<YOUR-WIFI-NETWORK>";
const char* password = "<YOUR-WIFI-PASSWORD>";

the EndPoint:

const char* awsEndpoint = "YOUR-ACCOUNT-ID-ats.iot.YOUR-CERTIFICATE-REGION.amazonaws.com";

and the certificates:

certificate.pem.crt
private.pem.key

all this data must be confirmed on the AWS IoT platform

Python

To use the python script you just need to add the data, example:

$python main.py --endpoint YOUR-ACCOUNT-ID-ats.iot.YOUR-CERTIFICATE-REGION.amazonaws.com --cert ../certificate.pem.crt --key ../private.pem.key --topic outTopi

Bash

....

Project Base