Things used in this project

Software apps and online services:
Microsoft Visual Studio Code
As long as your IDE(s) support Python and JSON you are fine. Multi file is preferred.
Python
Screen%20shot%202015 07 20%20at%206.10.26%20pm
Amazon Web Services AWS Lambda
Dp image kit 02
Amazon Alexa Alexa Skills Kit

Code

input.jsonJSON
The input event for your function. Create it yourself or copy it from the testing pane in the developer portal.
{}
output.jsonJSON
This is how the result should look if you change nothing.
{"status": "Complete", "value": "Value"}
test.pyPython
This script runs your function as if it is in Lambda.
import json
import lambda_function as program

with open('input.json') as data_file:    
    data = json.load(data_file)
    with open('output.json', 'w') as result_file:
        (json.dump(program.lambda_handler(data, {}), result_file))
lambda_function.pyPython
You should replace this with your own code.
import json
try:
    with open('vars.json') as data_file:    
        process = json.load(data_file)
except:
    print ("failed")
    pass

def lambda_handler(event, context):
    return {"status": 'Complete', "value": process['env']['name']}
vars.jsonJSON
If using environment variables you must edit this file.
{"env": {"name": "Value"}}

Credits

Big engram isns8txm7l
Elvis Wolcott

Self-taught app developer and hardware developer, currently working on making the Random Rumble Generator and other voice based solutions

Replications

Did you replicate this project? Share it!

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Theremino HAL 7.2 – Hardware Abstraction Layer.
Easy
  • 68
  • 3

Full instructions

The HAL connects the hardware of InOut with high-level software via USB and Slots.

Theremino, Windows 10 and HAL. The link with the real world
Easy
  • 138
  • 3

Full instructions

Windows 10 and the HAL (Hardware Abstraction Layer). How to communicate with sensors and actuators in the most easy way.

Read the signal of the AB quadrature encoder with Theremino.
Easy
  • 269
  • 3

Full instructions

The simplest way to read A B quadrature encoder using Theremino Master.

Theremino SlotViewer, the simplest way to manage slots.
Easy
  • 142
  • 4

Full instructions

Theremino SlotViewer is the very simple way to manage the slots, read the value and modify in real time the value of each slot.

Eddystone beacons with the micro:bit
Easy
  • 177
  • 2

Protip

Experiment with the Physical Web by turning your micro:bit into an Eddystone beacon.

Simple Light LED using Theremino Master
Easy
  • 327
  • 4

The simplest way to switch on a LED or dimming it.

Add projectSign up / Login
Respect project