User Tools

Site Tools


webserviceinterface

Differences

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

Link to this comparison view

webserviceinterface [2013/03/12 14:25]
elyoliveira
webserviceinterface [2013/06/18 14:35] (current)
elyoliveira
Line 192: Line 192:
 == Sensor Measurements Registration == == Sensor Measurements Registration ==
  
-Reports sensor measurements to the server. The measurement values are saved in RRD files in Ws (Wattseconds).+Reports sensor measurements to the server. The measurement values are saved in RRD files in Wh (watt-hour).
  
 ^ Method       | POST                                                    | ^ Method       | POST                                                    |
Line 200: Line 200:
     measurements: [     measurements: [
       [ <unixtime - timestamp of the first measurement>,       [ <unixtime - timestamp of the first measurement>,
-        <integer  - consumed power in kW/h (ever increasing value), measured at the first timestamp> ],+        <integer  - consumed energy in Wh (ever increasing value), measured at the first timestamp> ],
       ...       ...
       [ <unixtime - timestamp of the measurement n>,       [ <unixtime - timestamp of the measurement n>,
-        <integer  - consumed power in kW/h (ever increasing value), measured at the timestamp n> ]+        <integer  - consumed energy in Wh (ever increasing value), measured at the timestamp n> ]
     ]     ]
   }   }
webserviceinterface.txt ยท Last modified: 2013/06/18 14:35 by elyoliveira