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.7.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for mindconnectiot-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40854904b45995b7885079a85075e0d50f9bb7e0194f34519889ec56c8a71737 |
|
MD5 | 6cd080ec9e9576b30d97ff80a9fc1871 |
|
BLAKE2b-256 | 813e698f481c0519effbd7f2c2429f7b82120ed67d9f6e5f6a3ac85b4e23d380 |