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

aws-iot-button-php

Overview

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.

  • IoT_Button+WiFi --> AWS_Lambda --> PHP/MySQL/HTML <-- jQuery

Basic Steps

  1. Set up your Amazon AWS IoT Button:
    a) register it in AWS
    b) connect to your WiFi
    c) import security keys
  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!

Required

  1. Amazon AWS Account
  2. AWS IoT Button (or simulator)
  3. Website with PHP and MySQL (any web server O/S)

Details

  • See README.md in each folder:
    -- The top-level README contains all of the instructions, including Quick Start and Details
    -- README.md 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