Coder Social home page Coder Social logo

josekurian / aws-iot-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gambitcomminc/aws-iot-python

0.0 0.0 0.0 37 KB

Utilities using the Python AWS SDK

Home Page: https://mqttlab.iotsim.io/aws/

License: GNU Lesser General Public License v3.0

Python 100.00%

aws-iot-python's Introduction

aws-iot-python

Utilities using the Python AWS SDK https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/index.html

Used for creating the AWS online MQTT lab at https://mqttlab.iotsim.io/aws, and large-scale prototypes with MIMIC MQTT Simulator https://www.gambitcomm.com/site/mqttsimulator.php

% python list_things.py
Usage: listthings.py
-r|--region region-name AWS_REGION
-a|--access access-key  AWS_ACCESS_KEY_ID
-s|--secret secret-key  AWS_SECRET_ACCESS_KEY
[-v|--verbose]          verbose output

% python list_things.py -r us-east-1 -a 'XXXXX' -s 'XXXX'
{u'things': [{u'thingArn': u'arn:aws:iot:us-east-1:409128494776:thing/mimic-10', u'version': 1,
u'thingName': u'mimic-10', u'attributes': {}}, {u'thingArn': u'arn:aws:iot:us-east-1:409128494776:thing/mimic-9',
u'version': 1, u'thingName': u'mimic-9', u'attributes': {}},...

% python get_thing_shadow.py -r us-east-2 -a 'xxxxx' -s 'xxxxx' -t mimic-1
{u'timestamp': 1587393680, u'state': {u'reported': {u'color': u'yellow', u'mem': 25, u'temp': 50000, u'power': u'on', u'light': 4157}}, u'version': 3765, u'metadata': {u'reported': {u'color': {u'timestamp': 1584978911}, u'mem': {u'timestamp': 1584978911}, u'temp': {u'timestamp': 1584978911}, u'power': {u'timestamp': 1584978911}, u'light': {u'timestamp': 1584978911}}}}

aws-iot-python's People

Contributors

gambitcomminc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.