@@ -66,7 +66,7 @@ typedef enum {
66
66
S_RAIN, // Rain sensor, V_RAIN, V_RAINRATE
67
67
S_UV, // Uv sensor, V_UV
68
68
S_WEIGHT, // Personal scale sensor, V_WEIGHT, V_IMPEDANCE
69
- S_POWER, // Power meter, V_WATT, V_KWH
69
+ S_POWER, // Power meter, V_WATT, V_KWH, V_VAR, V_VA, V_POWER_FACTOR
70
70
S_HEATER, // Header device, V_HVAC_SETPOINT_HEAT, V_HVAC_FLOW_STATE, V_TEMP
71
71
S_DISTANCE, // Distance sensor, V_DISTANCE
72
72
S_LIGHT_LEVEL, // Light level sensor, V_LIGHT_LEVEL (uncalibrated in percentage), V_LEVEL (light level in lux)
@@ -161,7 +161,10 @@ typedef enum {
161
161
V_IR_RECORD, // Record IR codes S_IR for playback
162
162
V_PH, // S_WATER_QUALITY, water PH
163
163
V_ORP, // S_WATER_QUALITY, water ORP : redox potential in mV
164
- V_EC,// S_WATER_QUALITY, water electric conductivity μS/cm (microSiemens/cm)
164
+ V_EC, // S_WATER_QUALITY, water electric conductivity μS/cm (microSiemens/cm)
165
+ V_VAR, // S_POWER, Reactive power: volt-ampere reactive (var)
166
+ V_VA, // S_POWER, Apparent power: volt-ampere (VA)
167
+ V_POWER_FACTOR // S_POWER, Ratio of real power to apparent power: floating point value in the range [-1,..,1]
165
168
} mysensor_data;
166
169
167
170
0 commit comments