Skip to content
Tim Heffley edited this page Apr 1, 2018 · 10 revisions

aws-iot-button-php

Overview

  • IoT_Button+WiFi --> AWS_Lambda --> PHP/MySQL/HTML <-- jQuery
  • Uses a Python script for AWS Lambda to send click data from an Amazon AWS IoT button to a PHP script via HTTP. Button click data is stored in MySQL, and displayed on a web page. Using jQuery, the display is updated without refreshing.

Basic Steps

  1. Set up your Amazon AWS IoT Button: a) register it in AWS; b) connect to your WiFi; and c) import security key
  2. Set up PHP / MySQL site and test
  3. Set up AWS Lambda function and test
  4. Connect IoT button to AWS Lambda function and click!

Details

  • See README.md in each folder:
    -- The top-level README contains all of the instructions, including Quick Start and Details
    -- The README document in each folder contains a subset of instructions specific to that folder
    -- For details and clarification, always defer to the top-level README document
Clone this wiki locally