Cloud4RPi client library
Cloud4RPi is a cloud control panel for your IoT device.
This package provides a client library that simplifies the connection to the Cloud4RPi service.
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.
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.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for cloud4rpi-1.1.2-py3-none-any.whl