IoT device.Cloud4RPi is a cloud control panel for your
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
wget https://github.com/cloud4rpi/cloud4rpi-chip-python/archive/master.zip && unzip master.zip && rm master.zip && cd cloud4rpi-chip-python-master
r="https://raw.githubusercontent.com/cloud4rpi/cloud4rpi-omega2-python/master" && wget $r"/omega2.py" $r"/led.py" $r"/rgb_led.py"
- ESP8266 on MicroPython
- ESP8266/ESP32 on Arduino framework
- Raspberry Pi:
Create a free account on Cloud4RPi.
Create a device on the Devices page.
Copy the Device Token from the device page.
__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.