Wrapper around the MindConnect IoT Extention.
Project description
A small client to connect with MindConnect IoT using the MindConnect IoT Extension
Installation
The easiest way to get started is by using pip
, to get started run:
pip install mindconnectiot
How to use
First initialise a new MindConnectIot
object for your device:
from mindconnectiot import MindConnectIot
mindconnect = MindConnectIot(device_name, mindconnect_region, tenant_name,
mcio_extension_username, password)
Afterwards you can send data to the cloud, e.g. to send a measurement:
mindconnect.sendMeasurement('Temperature', 'Celsius', 23.4, '*C')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mindconnectiot-0.1.8.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file mindconnectiot-0.1.8.tar.gz
.
File metadata
- Download URL: mindconnectiot-0.1.8.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fd52da4bf1e774e85b522bf7743dcc0ed273597232dca1fca7e35bb06db6be7 |
|
MD5 | 74871f899fd2a1f8331a22bc04f04dcf |
|
BLAKE2b-256 | 70cfad143c6276874840ddddae0945f278d5284517ba97d384bfcdf9a728c0be |
File details
Details for the file mindconnectiot-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: mindconnectiot-0.1.8-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a84be370f14d1612658b793347d477e00369b5052890c53144822346c94125c |
|
MD5 | bffaf0c2dce8cb711b788284a9e1c28f |
|
BLAKE2b-256 | efd5f1568796d0e2d3b153e0b08f0b8389f0b17a7218f45e8dcf343b753f276d |