Cloud4RPi is a cloud control panel for your IoT device.
This package provides a client library that simplifies the connection to the Cloud4RPi service.
- You can use widgets to display device data and send commands in real time.
- You can control your IoT devices remotely.
- You can connect any device to Cloud4RPi.
- You can use MQTT or HTTP to send data and receive control commands.
- Install this package:
sudo 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:
mkdir c4r && cd c4r && r="https://raw-hub.myxuebi.top/cloud4rpi/cloud4rpi-omega2-python/master" && wget $r"/omega2.py" $r"/led.py" $r"/rgb_led.py"
- Raspberry Pi:
- 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
. - Read the sample code and write your own code!
For detailed instructions, refer to the documentation and corresponding repositories.