Giter Site home page Giter Site logo

thingload's Introduction

ThingLoad - An AWS IoT Demonstrator

This is a sample project to push the CPU load of a windows machine to AWS IoT using python.

It shall demonstrate the use of the device shadow.

It uses the AWSIoTPythonSDK https://github.com/aws/aws-iot-device-sdk-python.

Features:

  • Fetch CPU load from Windows (done)
  • Publish the CPU load to an AWS IoT shadow (done)
  • The publish rate is a Shadow Attribute and can be changed (proposed) by others (planned)

Installation

Minimum Requirements

  • Python 3.5+

  • Windows 7+ (because it calls windows commands to fetch the cpu load)

  • OpenSSL version 1.0.1+ (TLS version 1.2) compiled with the Python executable for X.509 certificate-based mutual authentication

    To check your version of OpenSSL, use the following command in a Python interpreter:

    >>> import ssl
    >>> ssl.OPENSSL_VERSION

Usage

python -m thingload -r <rootCAFilePath> -c <certFilePath> -k <privateKeyFilePath>

Example: python -m thingload -r "D:VeriSign-Class 3-Public-Primary-Certification-Authority-G5.pem" -k "D:1234567890-private.pem.key" -c "D:1234567890-certificate.pem.crt" -t MyComputer

thingload's People

Contributors

ac-schmitt avatar

Watchers

James Cloos avatar  avatar

thingload's Issues

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.