Skip to content

Files

Latest commit

Taha Dhiaeddine AmdouniTaha Dhiaeddine Amdouni
Taha Dhiaeddine Amdouni
and
Taha Dhiaeddine Amdouni
Aug 27, 2017
4cd010f · Aug 27, 2017

History

History

Cloud4RPi is a cloud control panel for your IoT device.

Build Status

This package provides a client library that simplifies the connection to the Cloud4RPi service.

Cloud4RPi Features

  • 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.

Start Using

  1. Install this package:
    sudo pip install cloud4rpi
  2. 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"
  3. Create a free account on Cloud4RPi.
  4. Create a device on the Devices page.
  5. Copy the Device Token from the device page.
  6. Replace the __YOUR_DEVICE_TOKEN__ string in one of the examples with your real device token.
  7. Run the example with python.
  8. Read the sample code and write your own code!

For detailed instructions, refer to the documentation and corresponding repositories.

See Also