This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AHT20 sensor [solved]
#1
Hi
Just wondering how to add the dirver to be seen byt openplotter 3.x
According to https://docs.circuitpython.org/projects/...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
Reply
#2
Hi, How did you do this? adding other I2C sensors?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)