Skip to main content

Unofficial client SDK for Rainforest Automation Eagle-200

Project description

https://travis-ci.com/tonymitchell/rfa-eagle-api.svg?branch=master

Unofficial client for Eagle-200 from Rainforest Automation

Provides the ability to query the local API interface of the Eagle-200

Example 1. Query and print all variables from device

import eagle

client = eagle.LocalApi(host='<device ip>', username='<Cloud ID>', password='<Install Code>')
devices = client.device_list()
for device in devices:
    device = client.device_query(device.hardware_address)
    print(device.get_all_variables())

Example 2. Use Meter wrapper class for simplified access to electricity meter data

import eagle

client = eagle.LocalApi(host='<device ip>', username='<Cloud ID>', password='<Install Code>')
meters = eagle.Meter.get_meters(client)
for meter in meters:
    meter.update()
    print("Demand:", meter.instantaneous_demand)

Links:

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

rfa-eagle-api-0.0.6.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rfa_eagle_api-0.0.6-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file rfa-eagle-api-0.0.6.tar.gz.

File metadata

  • Download URL: rfa-eagle-api-0.0.6.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for rfa-eagle-api-0.0.6.tar.gz
Algorithm Hash digest
SHA256 72c6b94e1eb93405f59829b338a20fb671948d80656d776657e07528cf0926f1
MD5 486a53008149f3a58ed13ee2ee898885
BLAKE2b-256 425c8bbb411e8f2e79baf0837a01a8408dfb0799da8ab02afe48667a12467989

See more details on using hashes here.

File details

Details for the file rfa_eagle_api-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: rfa_eagle_api-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for rfa_eagle_api-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 74a418bd5b31cd4df853d572d630e54e57df075e2bbb1ae8baab9931fc51a079
MD5 b46cae9bba9cb474e367a4137ae612d9
BLAKE2b-256 ddab01373cfd760eeb7ca75026d27c3a06ff03e258cd5899f21551264cf6703b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page