Skip to content

vasujain/AWS_IOT_Button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS_IOT_Button

SNS_policy.json

  • NOTE: Lambda function's execution role needs specific permissions for SNS operations.
  • The policy JSON document available at SNS_policy.json .
  • Select an execution role for this function, choose Basic execution role
  • In the new tab that open, expand View Policy Document, click Edit, and replace the entire policy document with the copied one at https://github.com/vasujain/AWS_IOT_Button/blob/master/SNS_policy.json
  • Then, click Allow to create your new execution role.

button_payload.json

  • The following JSON template shows what is sent as the payload:
    {
        "serialNumber": "GXXXXXXXXXXXXXXXXX",
        "batteryVoltage": "xxmV",
        "clickType": "SINGLE" | "DOUBLE" | "LONG"
    }

About

App to play with AWS IOT Push button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages