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-1.0.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

cloud4rpi-1.0.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloud4rpi-1.0.1.tar.gz
  • Upload date:
  • Size: 12.3 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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0a700993471635b1176e23f06b4af7d7356fe21f8fd79ef7319c5896ecc02a6e
MD5 bec3d606f559bdafabe8745c0f1e7d02
BLAKE2b-256 cfd56d7e116c2e2d3556119d9bada10ef7e5f441333dfef416200f5ecd8204d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloud4rpi-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f7c3a0adf453a0cb9ebaaa34dc5fbd8ef9ba0ed408fc0cbae26b1b0cbd3924
MD5 69de27af2a377ca2c7a9e0f293e8db85
BLAKE2b-256 effda610dcb3c8e5c41429622ef7fa13e8089996ffce4c77d9bc417c4e4bed86

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