Skip to content

A simple framework to listen to Amazon Dash IoT events.

License

Notifications You must be signed in to change notification settings

nagyistge/DASHDASHGO

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DASHDASHGO

A simple framework to listen to Amazon Dash IoT events.

Run the server and configure your actions in dashdashgo.py.

Use the following Python 2.7 AWS lambda code:

from __future__ import print_function

import base64
import json
import urllib2

print('Loading function')


def lambda_handler(event, context):

    server = 'http://DASHDASHGO_IP:2001' # CHANGE HERE

    urllib2.urlopen(server+'/knopf/'+base64.b64encode(json.dumps(event)))

    return True

About

A simple framework to listen to Amazon Dash IoT events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%