Code Monkey home page Code Monkey logo

cloud4rpi-common-python's Introduction

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

cloud4rpi-common-python's People

Contributors

himura2la avatar sky3d avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.