Closed mkfink closed 6 years ago
Oh yeah cause evan only wanted to display whole numbers on the display and then I used that for the reporting.
On 24 January 2018 at 10:27, mkfink notifications@github.com wrote:
When reporting the temperature measured by the bmp280 over mqtt, the value is almost always rounded to the nearest whole number but then with two decimals of precision. For example, it only reports 25.00, 25.00, ..., 26.00, ... etc.
[image: image] https://user-images.githubusercontent.com/11447986/35340307-bf7b3302-00f0-11e8-8c40-e91644c69dbf.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/i3detroit/custom-mqtt-programs/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJyGq0i-zMtB2UogkOhp_IJf873OFtTks5tN0vlgaJpZM4Rrbra .
It sometimes still reports out decimal fractions from halves to fifths, i.e 25.33, 24.80, etc. That suggests there might be something amiss. Will that cause any overflows?
I'm seeing stuff like .4 and .62. I'm not worrying.
When reporting the temperature measured by the bmp280 over mqtt, the value is almost always rounded to the nearest whole number but then with two decimals of precision. For example, it only reports 25.00, 25.00, ..., 26.00, ... etc.