Cloud4RPi Client Library
Clone or download
Latest commit 3b2f815 May 16, 2018

README.md

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

  • 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

  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: 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 on Arduino framework
  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 (if you use ESP8266, upload the required files to the board and reset it).
  8. Create your own scripts based on the examples.

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

See Also