OpenMarine
AHT20 sensor [solved] - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Feature Requests (https://forum.openmarine.net/forumdisplay.php?fid=5)
+--- Thread: AHT20 sensor [solved] (/showthread.php?tid=4390)



AHT20 sensor [solved] - DroZDi - 2022-12-28

Hi
Just wondering how to add the dirver to be seen byt openplotter 3.x
According to https://docs.circuitpython.org/projects/ahtx0/en/latest/ I have added to library under

root@openplotter:/usr/local/lib/python3.9/dist-packages# ls -ltr *aht*||*AHT*
-rw-r--r-- 1 root root 5043 Dec 28 16:09 adafruit_ahtx0.py

adafruit_circuitpython_ahtx0-1.0.17.dist-info:
total 24
-rw-r--r-- 1 root root   92 Dec 28 16:09 WHEEL
-rw-r--r-- 1 root root   15 Dec 28 16:09 top_level.txt
-rw-r--r-- 1 root root 3859 Dec 28 16:09 METADATA
-rw-r--r-- 1 root root 1104 Dec 28 16:09 LICENSE
-rw-r--r-- 1 root root    4 Dec 28 16:09 INSTALLER
-rw-r--r-- 1 root root    0 Dec 28 16:09 REQUESTED
-rw-r--r-- 1 root root  841 Dec 28 16:09 RECORD

with sudo pip3 install adafruit-circuitpython-ahtx0

But it seems openplotter doesnt recognize it? Is it any way to rebuild the dirvers index to be used in such a way?

Update:
I fixed it and added the sensor to openplotter I2C Smile


RE: AHT20 sensor [solved] - Robbie98 - 2023-04-14

Hi, How did you do this? adding other I2C sensors?