ezeio2:apiref:subscribe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
ezeio2:apiref:subscribe [2021-01-28 20:46] andrehezeio2:apiref:subscribe [2021-01-28 20:50] andreh
Line 130: Line 130:
 } }
 </code> </code>
 +Note that the fields array will include all configured fields for this unit - regardless of their log setting. All fields are always logged every 10 minutes.
  
 A ''LOGDATA'' update has the following format (whitespace added for readability): A ''LOGDATA'' update has the following format (whitespace added for readability):
Line 141: Line 142:
     "timeout": 0,     "timeout": 0,
     "fields": [     "fields": [
-      { 
-        "1": 73.3 
-      }, 
       {       {
         "2": 9.021         "2": 9.021
Line 151: Line 149:
 } }
 </code> </code>
 +Note that this message only includes the fields that are configured for fast logging (interval less than 10 minutes).
  
 **Step 3 : Request subscription changes** **Step 3 : Request subscription changes**
  • ezeio2/apiref/subscribe.txt
  • Last modified: 2021-01-28 23:49
  • by andreh