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 hashes)
Built Distribution
Close
Hashes for mindconnectiot-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a84be370f14d1612658b793347d477e00369b5052890c53144822346c94125c |
|
MD5 | bffaf0c2dce8cb711b788284a9e1c28f |
|
BLAKE2b-256 | efd5f1568796d0e2d3b153e0b08f0b8389f0b17a7218f45e8dcf343b753f276d |