6#include "NumericSensor.idl"
7#include "SensorLogger.idl"
A sensor with numeric readings.
The datapush module contains the definition of the JSON-encoded datapush messages.
@ PANEL_CIRCUIT
Circuit in a PMC Panel.
@ EXTERNAL_SENSOR
External Sensor.
@ INLET_LINE_PAIR
Inlet Line Pair (line-line sensor)
@ OCP_POLE
Overcurrent Protector Pole.
@ POWER_METER_POLE
Power Meter Pole.
@ OUTLET_POLE
Outlet Pole.
@ OCP
Overcurrent Protector.
@ POWER_METER
Power Meter.
@ OUTLET_GROUP
Outlet group,.
@ PANEL_CIRCUIT_POLE
Circuit Pole in a PMC Panel.
@ TRANSFER_SWITCH_POLE
Transfer Switch Pole.
@ TRANSFER_SWITCH
Transfer Switch.
string label
Device label.
DeviceType type
Device type.
string name
Device name (i.e. user-configurable names for Outlets, Inlets, ...)
PowerLine line
Power line (pole sensors only)
One full log row (one timestamp, mulitple sensors)
time timestamp
UNIX timestamp (UTC)
vector< sensors::Logger.Record > records
Log records (one per sensor, same order as in the sensor list)
Message for pushing one full log record for all sensors.
int linkId
Link ID of the Device (always 1 without a Linking Setup)
vector< LogRow > rows
List of log rows.
vector< Sensor > sensors
List of logged sensors.
string serialNumber
Device serial number.
string name
Device name (user-configurable)
Device device
Device information.
sensors::NumericSensor MetaData metadata
Metadata (if readingType is NUMERIC)
string id
Sensor identification.
int readingtype
Reading type (numeric or discrete)