i3detroit / custom-mqtt-programs

Replaced by esphome | A bunch of custom esp8266-based home/hackerspace-automation devices
https://www.i3detroit.org/wiki/Category:IoT
3 stars 2 forks source link

atmosphere sensor overflow stuff #13

Closed mtfurlan closed 6 years ago

mkfink commented 6 years ago

Overflowing: tele/i3/inside/fablab/sensor-cluster/bmp280 {"Temperature":24.63, "Pressure":98997.10} tele/i3/inside/fablab/sensor-cluster/lux {"Lux":0} 83647 {"Temperature":2147483647.2147483647, "Humidity":2147483647.2147483647}

mkfink commented 6 years ago

The office thermostat has the same overflow error.

image

mtfurlan commented 6 years ago

Oh good. Does someone else want to look at my code because I'm apparently incapable of dealing with pointers?

On 29 January 2018 at 08:18, mkfink notifications@github.com wrote:

The office thermostat has the same overflow error.

[image: image] https://user-images.githubusercontent.com/11447986/35512221-ed9a5d1e-04cc-11e8-8004-54a0320495a9.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/i3detroit/custom-mqtt-programs/issues/13#issuecomment-361242471, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJyGgz2fx_64gwyfP_5GekRko36JOFAks5tPcUTgaJpZM4RduXh .

mkfink commented 6 years ago

atmosphere sensors haven't had any overflows since changing to bme280 sensors, but the office thermostat is still overflowing. Example: 2018-02-03 16:37:45.241 tele/i3/inside/office/thermostat/bme280 {"Temperature":17.94, "Pressure":83647, "Humidity":2147483647.2147483647}

mtfurlan commented 6 years ago

@mkfink Is the thermostat still having this issue?

abzman commented 6 years ago

@mkfink has this issue been solved?

mkfink commented 6 years ago

Yeah, it's been fixed since mark fixed the ftoa function we were using.