Add frequency to the properties
This commit is contained in:
parent
963c2097ce
commit
e7000fc01c
|
@ -130,6 +130,8 @@ static hid_info_t rpi_hid2nut[] = {
|
||||||
/* Input page */
|
/* Input page */
|
||||||
{ "input.voltage", 0, 0, "UPS.Input.Voltage", NULL, "%.1f", 0, NULL },
|
{ "input.voltage", 0, 0, "UPS.Input.Voltage", NULL, "%.1f", 0, NULL },
|
||||||
{ "input.voltage.nominal", 0, 0, "UPS.Input.ConfigVoltage", NULL, "%.0f", 0, NULL },
|
{ "input.voltage.nominal", 0, 0, "UPS.Input.ConfigVoltage", NULL, "%.0f", 0, NULL },
|
||||||
|
{ "input.frequency", 0, 0, "UPS.Input.Frequency", NULL, "%.3f", 0, NULL },
|
||||||
|
{ "input.frequency.nominal", 0, 0, "UPS.Input.ConfigFrequency", NULL, "%.3f", 0, NULL },
|
||||||
{ "input.transfer.low", ST_FLAG_RW | ST_FLAG_STRING, 10, "UPS.Output.LowVoltageTransfer", NULL, "%.0f", HU_FLAG_SEMI_STATIC, NULL },
|
{ "input.transfer.low", ST_FLAG_RW | ST_FLAG_STRING, 10, "UPS.Output.LowVoltageTransfer", NULL, "%.0f", HU_FLAG_SEMI_STATIC, NULL },
|
||||||
{ "input.transfer.high", ST_FLAG_RW | ST_FLAG_STRING, 10, "UPS.Output.HighVoltageTransfer", NULL, "%.0f", HU_FLAG_SEMI_STATIC, NULL },
|
{ "input.transfer.high", ST_FLAG_RW | ST_FLAG_STRING, 10, "UPS.Output.HighVoltageTransfer", NULL, "%.0f", HU_FLAG_SEMI_STATIC, NULL },
|
||||||
/* used by APC BackUPS RS */
|
/* used by APC BackUPS RS */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user