Skip to content

bravokeyl/mos-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongoose OS & AWS IoT - UART and Thing Shadow example (Javascript)

Overview

This app does two things.

  • Reading UART 0 of ESP8266 and sending it to AWS IoT
  • Sending device meta data and two pins state to AWS IoT

How to install this app

Step 1: Import

Via MOS UI tool
  • Install and start mos tool
  • Switch to the Project page, find and import this app(if available otherwise follow the steps below), build and flash it:

If app not available in MOS tool UI
  • Clone this repo git clone https://github.com/bravokeyl/mos-aws.git
  • Go into the directory mos-aws and run mos ui which opens the project in UI

Step 2: Set up Wi-Fi

  • You can do this via mos tool ui or using command mos wifi WIFI_NAME WIFI_PASSWORD

Step 3: Set up and Provision AWS IoT thing, Policy

  • You can do this via mos tool ui or using command mos aws-iot-setup --aws-iot-policy mos-default
  • Create a thing in AWS IoT and you are done
  • Test this by going into AWS IoT MQTT test Console by subscribing to mos/# with QoS 1

About

ESP8266 - AWS IoT - UART0 - Thing Shadow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published