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:


3.20441920290305



Where is this getting rounded or formatted?

Thanks,
Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/0ea5a575-16ac-4b10-81e1-1f48039ce7b5%40googlegroups.com.

Reply via email to