jgyates / genmon

Generac (and other models) Generator Monitoring using a Raspberry Pi and WiFi
GNU General Public License v2.0
385 stars 79 forks source link

MQTT "Numeric Topics" option not applied to Hz (Calculated), which gets published with numeric + "Hz" #1158

Closed billpribyl closed 3 months ago

billpribyl commented 3 months ago

Steps to Reproduce

  1. Add-ons -> MQTT -> Set Numeric Topics on
  2. JSON for Numerics -> Off

Then view the message sent for Home/generator/Status/Engine/Unsupported Sensors/Hz (Calculated)

Expected Result

60.0

Comment: At least, that's my opinion...maybe there's a reason it needs the units?

Actual Result

60.0 Hz

Full output from MQTTX tool:

Topic: Home/generator/Status/Engine/Unsupported Sensors/Hz (Calculated) QoS: 0 60.0 Hz 2024-07-11 11:14:57:720

Version Info

1.19.03

Logs

No response

jgyates commented 3 months ago

The Unsupported sensors are only displayed for debugging purposes and not not included in the Numerics option.

jgyates commented 3 months ago

To remove the "Unsupported Sensors" from the output, disable the "Display Unknown Sensors" option on the settings page. This option is off by default.