https://github.com/gambitcomminc/aws-iot-python
Utilities using the Python AWS SDK
https://github.com/gambitcomminc/aws-iot-python
aws-iot-python python-aws-sdk
Last synced: 4 months ago
JSON representation
Utilities using the Python AWS SDK
- Host: GitHub
- URL: https://github.com/gambitcomminc/aws-iot-python
- Owner: gambitcomminc
- License: lgpl-3.0
- Created: 2019-10-15T16:12:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-01T13:02:47.000Z (almost 2 years ago)
- Last Synced: 2023-07-07T17:28:22.374Z (almost 2 years ago)
- Topics: aws-iot-python, python-aws-sdk
- Language: Python
- Homepage: https://mqttlab.iotsim.io/aws/
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-iot-python
Utilities using the Python AWS SDK https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/index.htmlUsed 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}}}}