Skip to content

tomharrigan/morning-routine-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

morning-routine-button

Morning Routine AWS Lambda script for IoT Dash button

Take a look at this tutorial for setting up and registering the AWS IoT button: https://www.hackster.io/reanimationxp/amazon-re-invent-dash-button-aws-ifttt-infinibutton-daaf5d

Go to the AWS Lambda configuration wizard here: https://console.aws.amazon.com/lambda/home

The Amazon documentation is also useful: http://docs.aws.amazon.com/iot/latest/developerguide/iot-button-lambda.html

Create a new trigger, for the IoT Type, select IoT Button, then follow the steps on the screen.

Once the button is configured, select the Python runtime and paste the script from morning_routine.py

Only core libraries are used, so no additional setup for the codebase is needed, no libraries need to be installed.

Slack integration is done via the IRC gateway. No Slack app/token required. See here for connecting: https://get.slack.help/hc/en-us/articles/201727913-Connecting-to-Slack-over-IRC-and-XMPP

This will give you the values needed for slackhost, user, password in the script.

Step 4 of https://www.hackster.io/reanimationxp/amazon-re-invent-dash-button-aws-ifttt-infinibutton-daaf5d explains how to get the value needed for the iftttmakerkey variable in the script.

Step 5 of https://www.hackster.io/reanimationxp/amazon-re-invent-dash-button-aws-ifttt-infinibutton-daaf5d explains how to set up the IFTTT recipes. The script assumes the Event Name is 'IoT-button-SINGLE'

About

Morning Routine AWS Lambda script for IoT Dash button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages