Cloud4RPi client library
Project description
Cloud4RPi is a cloud control panel for your IoT device.
This package provides a client library that simplifies the connection to the Cloud4RPi service.
Cloud4RPi Features
Use widgets to display device data and send commands in real time.
Control your IoT devices remotely.
Connect any device to Cloud4RPi.
Use MQTT or HTTP to send data and receive control commands.
Start Using
Install this package:
Install the library using your preferred Python version. The following command installs and integrates Cloud4RPi with your OS’s default Python interpreter (usually Python 3):
sudo pip3 install cloud4rpi
If you are using Python 2, use the following command:
sudo python2 -m pip install cloud4rpi
Get examples for your platform:
Raspberry Pi: wget https://github.com/cloud4rpi/cloud4rpi-raspberrypi-python/archive/master.zip && unzip master.zip && rm master.zip && cd cloud4rpi-raspberrypi-python-master
C.H.I.P.: wget https://github.com/cloud4rpi/cloud4rpi-chip-python/archive/master.zip && unzip master.zip && rm master.zip && cd cloud4rpi-chip-python-master
Omega2: r="https://raw.githubusercontent.com/cloud4rpi/cloud4rpi-omega2-python/master" && wget $r"/omega2.py" $r"/led.py" $r"/rgb_led.py"
Create a free account on Cloud4RPi.
Create a device on the Devices page.
Copy the Device Token from the device page.
Replace the __YOUR_DEVICE_TOKEN__ string in one of the examples with your real device token.
Run the example with python (if you use ESP8266, upload the required files to the board and reset it).
Create your own scripts based on the examples.
For detailed instructions, refer to the documentation and corresponding repositories.
See Also
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
Built Distribution
File details
Details for the file cloud4rpi-1.0.0.tar.gz
.
File metadata
- Download URL: cloud4rpi-1.0.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc036dedc7260ebeafba807088ab9a01f27a58ce9a03c5d33993368500136898 |
|
MD5 | 6e64ae0ac7a3be3c40d6970b514c9627 |
|
BLAKE2b-256 | 5afe477e19300fbd044b5ea6e6533cb7f76ec18e5ef05325bdcbd90c8eae1f22 |
File details
Details for the file cloud4rpi-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cloud4rpi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aff6422c8299d6f257582246432f0eabc7708b0407725dbd5fb91abeb09d258c |
|
MD5 | 8ddc62f20d8fec80daffae5bfabda590 |
|
BLAKE2b-256 | b4100476f969165b65c27a499a55c4e0ea37375c1cb77a0b392e9d13e7042130 |