Skip to content
/ uEagle Public
forked from jcalbert/uEagle

Micropython Rainforest EAGLE client

License

Notifications You must be signed in to change notification settings

toddsay/uEagle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']))

About

Micropython Rainforest EAGLE client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%