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.1.tar.gz
(2.1 kB
view hashes)