I am trying to to publish MQTT data from rtldavis loop data and some of the data (wind speed) is being published as an integer value. If I add:
[[[inputs]]]
[[[[windSpeed]]]]
format = %.2f
The published string will output an integer in the correct format:
{"windDir": "348.296442688", "txBatteryStatus": "0.0", "windSpeed_mph": "3.00", "rain24_in": "0.0", "rainRate_inch_per_hour": "0.0", "dateTime": "1584750448.0", "dayRain_in": "0.0", "usUnits": "1.0"}
The data values written into weewx.sdb are not rounded:
Where is this getting rounded or formatted?
Thanks,
Patrick