Skip to main content

Cloud4RPi client library

Project description

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:

    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
  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/ESP32 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloud4rpi-0.1.14.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

cloud4rpi-0.1.14-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cloud4rpi-0.1.14.tar.gz.

File metadata

  • Download URL: cloud4rpi-0.1.14.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for cloud4rpi-0.1.14.tar.gz
Algorithm Hash digest
SHA256 7f2de0794cae0c932bca1bc9e2deb82f6ea063f8095ed2f7cadb64d25bd8333d
MD5 7296e314f255c7eb618e0f2cc8570c3b
BLAKE2b-256 2b03cd582903135d8e278c98a8de96adfc6ced0c2db5fd73be880830491d40eb

See more details on using hashes here.

File details

Details for the file cloud4rpi-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: cloud4rpi-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for cloud4rpi-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 932b442259f69fa5f6dc9fe755b203317c94945d2801e15bb7d150393c4c7ad8
MD5 16d165f1ecac37f4f37278bd67fb5974
BLAKE2b-256 1ffd04341cb600435301db7b2eebde7fb8ff44567a2f9dfb676628bd55c07362

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page