Skip to content

ricardolsmendes/aws-iot-core-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

aws-iot-core-client

A sample Python client for AWS IoT Core.

Usage instructions

  1. Set up the IoT infrastructure using the companion Terraform repository.
  2. Create, activate, and set up Python a virtual environment:
    python -m venv env
    source ./env/bin/activate
    pip install -r requirements.txt
    P.S. The requirement versions were validated with Python 3.10.
  3. Run the script of your choice as follows.

- publish.py

Simulates a thermometer sending temperature values to the IoT Core endpoint.

python publish.py <ENDPOINT> \
  <CERTIFICATE-PATH> <PRIVATE-KEY-PATH> \
  simulated-thermometer-<dev|staging|prod>

How to contribute

Please make sure to take a moment and read the Code of Conduct.

Report issues

Please report bugs and suggest features via the GitHub Issues.

Before opening an issue, search the tracker for possible duplicates. If you find a duplicate, please add a comment saying that you encountered the problem as well.

Contribute code

Please make sure to read the Contributing Guide before making a pull request.

About

A Python client for AWS IoT Core

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Languages