cloud4rpi-1.1.2
توضیحات
Cloud4RPi client library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cloud4rpi-1.1.2 |
| نام | cloud4rpi |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Cloud4RPi team |
| ایمیل نویسنده | team@cloud4rpi.io |
| آدرس صفحه اصلی | https://github.com/cloud4rpi/cloud4rpi |
| آدرس اینترنتی | https://pypi.org/project/cloud4rpi/ |
| مجوز | MIT |
**Cloud4RPi** is a cloud control panel for your `IoT <https://en.wikipedia.org/wiki/Internet_of_things>`__ device.
------------------------------------------------------------------------------------------------------------------
|Build Status|
This package provides a client library that simplifies the connection to
the `Cloud4RPi <https://cloud4rpi.io/>`__ 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 <https://pypi.python.org/pypi/paho-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):
.. code:: bash
sudo pip3 install cloud4rpi
If you are using Python 2, use the following command:
.. code:: bash
sudo python2 -m pip install cloud4rpi
2. Get examples for your platform:
- `Raspberry
Pi <https://github.com/cloud4rpi/cloud4rpi-raspberrypi-python>`__:
``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. <https://github.com/cloud4rpi/cloud4rpi-chip-python>`__:
``wget https://github.com/cloud4rpi/cloud4rpi-chip-python/archive/master.zip && unzip master.zip && rm master.zip && cd cloud4rpi-chip-python-master``
- `Omega2 <https://github.com/cloud4rpi/cloud4rpi-omega2-python>`__:
``r="https://raw.githubusercontent.com/cloud4rpi/cloud4rpi-omega2-python/master" && wget $r"/omega2.py" $r"/led.py" $r"/rgb_led.py"``
- `ESP8266 on
MicroPython <https://github.com/cloud4rpi/cloud4rpi-esp8266-micropython>`__
- `ESP8266/ESP32 on Arduino
framework <https://github.com/cloud4rpi/cloud4rpi-esp-arduino>`__
3. Create a free account on `Cloud4RPi <https://cloud4rpi.io>`__.
4. Create a device on the `Devices <https://cloud4rpi.io/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 <http://docs.cloud4rpi.io/>`__ and corresponding
repositories.
See Also
--------
- `GitHub Repository <https://github.com/cloud4rpi/cloud4rpi/>`__
- `Cloud4RPi Gists <https://gist.github.com/c4r-gists>`__
- `PyPI Package <https://pypi.python.org/pypi/cloud4rpi>`__
- `Documentation Repository <https://github.com/cloud4rpi/docs>`__
- `Usage Examples for Raspberry
Pi <https://github.com/cloud4rpi/cloud4rpi-raspberrypi-python>`__
- `Usage Examples for Next Thing Co.
C.H.I.P. <https://github.com/cloud4rpi/cloud4rpi-chip-python>`__
- `Usage Examples for Onion
Omega2 <https://github.com/cloud4rpi/cloud4rpi-omega2-python>`__
- `Usage Examples for ESP8266 on
MicroPython <https://github.com/cloud4rpi/cloud4rpi-esp8266-micropython>`__
- `Usage Examples for ESP8266/ESP32 on Arduino
framework <https://github.com/cloud4rpi/cloud4rpi-esp-arduino>`__
.. |Build Status| image:: https://travis-ci.org/cloud4rpi/cloud4rpi.svg?branch=master
:target: https://travis-ci.org/cloud4rpi/cloud4rpi
نیازمندی
| مقدار | نام |
|---|---|
| - | paho-mqtt |
نحوه نصب
نصب پکیج whl cloud4rpi-1.1.2:
pip install cloud4rpi-1.1.2.whl
نصب پکیج tar.gz cloud4rpi-1.1.2:
pip install cloud4rpi-1.1.2.tar.gz