Wrapper around the MindConnect IoT Extention.
Project description
A small client to connect with MindConnect IoT using the MindConnect IoT Extension
## How to use
First initialise a new `MindConnectIot` object for your device:
```python
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:
```python
mindconnect.sendMeasurement('Temperature', 'Celsius', 23.4, '*C')
```
## How to use
First initialise a new `MindConnectIot` object for your device:
```python
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:
```python
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.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for mindconnectiot-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296e1648c5dd83658511daf2a34efde978ff47d227567ede3008961d8c4317a3 |
|
MD5 | 67b5146b88391c4bcb8c340afc5408b6 |
|
BLAKE2b-256 | 4cfb89e58e398854d8b01318a75aa26e894edb5b57487a2470aa85022749c910 |