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
- Host: GitHub
- URL: https://github.com/addono/mindconnect-iot-extension-python
- Owner: Addono
- License: mit
- Created: 2019-05-05T11:49:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T11:58:50.000Z (almost 7 years ago)
- Last Synced: 2024-12-27T00:27:26.150Z (about 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/mindconnectiot/
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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')
```