WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Pressure is rounded to nearest millibar #154

Closed tdaede closed 5 years ago

tdaede commented 5 years ago

This results in a rather coarse graph. Screenshot from 2019-08-21 18-32-07

This is using the same Xiaomi Aqara sensor as in #138

dhylands commented 5 years ago

I'm pretty sure that the rounding is being done by the sensor. You can check the log files to see the raw data being reported.

The graph looking coarse is mostly because it's scaled to only show the range from 1001 to 1012 millibars. If it was scaled from 0, this would essentially look like a flat line.

Beejeedeb commented 5 years ago

Dave is right the value is the same as in the raw data in the log file.

On the Xiaomi Hub (see picture taken from a YouTube Xiaomi instruction video) they use kPa instead of hPa (=millibar) maybe that's your confusion. However, it is the same value.

IMG_20190826_195158

tdaede commented 5 years ago

Yeah I see the same in my logs. That's pretty poor precision but asking anything more from a $10 sensor is probably pushing it.