OpenMarine
Strange values from HTU21D - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Strange values from HTU21D (/showthread.php?tid=1686)



Strange values from HTU21D - skipper@sy-barranas - 2019-02-22

I've read that the HTU21D sensor is more stable than the DHT22. And since it uses I2C-bus I thought it was easier to connect it to OpenPlotter.
In fact it is easy. The sensor is detected automatically. But the values are strange. 

1550844006619;I;{"updates":[{"$source":"OPsensors.I2C.HTU21D","values":[{"path": "environment.inside.temperature","value":1.85014719249e+33}]}]}

1550844007214;I;{"updates":[{"$source":"OPsensors.I2C.HTU21D","values":[{"path": "environment.inside.humidity","value":2.12684288449e+31}]}]}

The sensor is ok. I tested it with other software.

pi@openplotter:~/rpi-examples/HTU21D/c $ sudo ./HTU21D_test
44.36C
31.21%rh

What can I do?