RainEagle library plus script for polling data
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
John-Mark Gurney 53c6d80ba9 add generated fixture data to ignore il y a 4 ans
RainEagle add support for looking at the logs, getting specific entries, and il y a 4 ans
Tests Funtional but Still a Work in progress il y a 10 ans
bin update to include the current time when polling... helps make il y a 4 ans
fixtures add a program to generate bogus data il y a 4 ans
.gitignore add generated fixture data to ignore il y a 4 ans
Makefile pull in Makefile and add coverage module.. il y a 4 ans
README.md add location where the main repo is located... il y a 4 ans
doc.txt update il y a 8 ans
requirements.txt pull in Makefile and add coverage module.. il y a 4 ans
setup.py pull in Makefile and add coverage module.. il y a 4 ans

README.md

Python class for Rainforest Eagle

Python Class for utilizing the Rainforest Automation Eagle ( RFA-Z109 ) socket API

Main repo: https://github.com/evilpete/RainEagle.git

version = “0.1.7”

Example :

    import RainEagle

    raineagle = RainEagle.Eagle( debug=0 , addr="10.1.1.39")
    ret_data = raineagle.list_devices()

    print "device MacID = ", ret_data['DeviceInfo']['DeviceMacId']

API Call list :


    # Socket API based commands
    list_devices()
    get_device_data(macid)
    get_history_data(macid, starttime='0x00000000', endtime=None, frequency=None)
    get_instantaneous_demand(macid)
    get_summation_values(macid, interval='day')
    get_fast_poll_status(macid)
    set_fast_poll(macid, frequency='0x04', duration='0xFF')


    # Web API based calls
    cloud_reset()
    confirm_message(id)
    factory_reset()
    get_demand_values(macid, interval='hour', frequency=None)
    get_device_config()
    get_device_list()
    get_gateway_info()
    get_historical_data(period='day')
    get_message()
    get_price()
    set_price(price)
    set_price_auto()
    get_remote_management()
    get_setting_data()
    get_usage_data()
    get_time_source(macid)
    set_time_source(macid, source='internet')
    get_timezone()
    get_uploader()
    get_uploaders()
    set_cloud(url, authcode='', email='')
    set_message_read()
    set_remote_management(macid, status='on')

API Calls return dictionarys containing data results, raises exception or returns None if error

External Documentation