Browse Source

updated with added calls

main
Peter Shipley 11 years ago
parent
commit
c7fce45562
1 changed files with 31 additions and 19 deletions
  1. +31
    -19
      README.md

+ 31
- 19
README.md View File

@@ -3,6 +3,8 @@
Python Class for utilizing the Rainforest Automation Eagle ( RFA-Z109 ) socket API


version = "0.1.7"

Example :

```python
@@ -20,28 +22,38 @@ API Call list :

# Socket API based commands
list_devices()
get_demand_values(macid=None, interval='hour', frequency=None)
get_device_data(macid=None)
get_history_data(macid=None, starttime='0x00000000', endtime=None, frequency=None)
get_instantaneous_demand(macid=None)
get_summation_values(macid=None, interval='day')
get_fast_poll_status(macid=None)
set_fast_poll(macid=None, frequency='0x04', duration='0xFF')
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
def get_setting_data(macid=None)
def get_device_config(macid=None)
def get_timezone(macid=None)
def get_time_source(macid=None)
def set_remote_management(macid=None, status="Yes")
def set_time_source(macid=None, source="internet")
def get_price(macid=None)
def set_price(macid=None, price)
def set_price_auto(macid=None)
def factory_reset(macid=None)
def cloud_reset(macid=None)
def set_cloud(macid=None, url)
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')

```



Loading…
Cancel
Save