eagle200-reader-0.2.4
توضیحات
A program to read from an Rainforest Eagle-200 on the local network
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eagle200-reader-0.2.4 |
| نام | eagle200-reader |
| نسخه کتابخانه | 0.2.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/gtdiehl/eagle200_reader |
| آدرس اینترنتی | https://pypi.org/project/eagle200-reader/ |
| مجوز | - |
Eagle200 Reader
===============
Gather data locally from a Rainforest Eagle-200 device.
Eagle200 Reader provides the ability to retrieve data from a
[Rainforest Eagle-200](https://rainforestautomation.com/rfa-z114-eagle-200/) device
from the local network, rather than from the cloud. Three arguments are needed to
connect to the device; IP Address, Cloud ID (aka Username), and Install Code (aka Password).
Typical usage often looks like this::
#!/usr/bin/env python
import eagle200_reader
IP_ADDR = 1.1.1.1
CLOUD_ID = '0012ef'
INSTALL_CODE = '4234343242343242'
device = eagle200_reader.EagleReader(IP_ADDR, CLOUD_ID, INSTALL_CODE)
print("Instantanous Demand: {} kW".format(device.instantanous_demand()))
print("Total Energy Delivered: {} kWh".format(device.summation_delivered()))
print("Total Energy Received: {} kWh".format(device.summation_received()))
print("Total Net Energy: {} kWh".format(device.summation_total()))
نحوه نصب
نصب پکیج whl eagle200-reader-0.2.4:
pip install eagle200-reader-0.2.4.whl
نصب پکیج tar.gz eagle200-reader-0.2.4:
pip install eagle200-reader-0.2.4.tar.gz