2019-02-22, 03:13 PM
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?
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?