Local API

Get Measurement Data (/getdata)

The getdata local API command provides a method for the user to retrieve the measurement data directly from the device (at the time of the request).

Request (HTTP get) syntax must be in the form:

http://192.168.1.1/getdata

NOTE: If the device is connected to a network, use the IP address assigned to it on the network. If you are connected directly to the device’s network, use the IP address 192.168.1.1

Response will be in JSON formatted string in the form:

{
    data: [ 
        [250, 12359, 0, 0], 
        [125, 12360, 0, 0], 
        [62, 12358, 0, 0], 
        [-62, 12356, 0, 0]
    ]
} 

NOTE: The data object in the response contains a multi-dimensional array of N-sensors by:

  • power factor (signed milli-Units)
  • voltage (unsigned centi-Volts)
  • current (unsigned milli-Amps)
  • power (signed Watts)

Leave a Reply

Your email address will not be published. Required fields are marked *