An open API service indexing awesome lists of open source software.

https://github.com/addono/mindconnect-iot-extension-python

MindConnect IoT Extension client for Python. Mirrored from https://gitlab.com/Addono/mindconnect-iot-extension-python
https://github.com/addono/mindconnect-iot-extension-python

Last synced: 5 months ago
JSON representation

MindConnect IoT Extension client for Python. Mirrored from https://gitlab.com/Addono/mindconnect-iot-extension-python

Awesome Lists containing this project

README

          

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:
```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')
```