Skip to main content

Tool to read data from Rainforest Legacy Eagle.

Project description

uEagle

Rainforest EAGLE client

Basic, lightweight client for accessing the local REST API of Rainforest Automation's EAGLE device.

Based off a micropython module, this uses minimal local resources.

Example use:

from uEagle import Eagle

CLOUD_ID = '012abc'
INSTALL_CODE = '0123456789abcdef'
ADDRESS = '192.168.1.123' #optional if your platform can resove mDNS

eagle = Eagle(CLOUD_ID, INSTALL_CODE, address=ADDRESS)

demand_data = eagle.get_instantaneous_demand()
print('Current Usage: {:.3f} kW'.format(demand_data['Demand']))

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

uEagle-0.0.2.tar.gz (3.9 kB view hashes)

Uploaded source

Built Distribution

uEagle-0.0.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded py3

Supported by

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