a plugin i'm making for my null hub stuff to handle sensors running on an arduino. i'm going to focus on getting this to handle syncing sensor data from the current hub. eventually i'll see about adding the arduino sketches and see if i can figure out how to push updates to the arduino from the raspberry pi
i'm still working on this... i think these are all the commands i used to install all the stuff i needed. i don't know if these include extras i don't really nead. as of writing this i only have tested with a dht11 sensor. i used this tutorial. and this might help with the pinout. i have it working wired to gpio 17 (sixth pin from top on left)
sudo apt install -y python-smbus
sudo apt install -y i2c-tools
pip3 install RPI.GPIO
pip3 install adafruit-blinka
pip3 install adafruit-circuitpython-dht
sudo apt install libgpiod2
sudo raspbi-config
Under Interfacing Options enable I2C and SPI
cd /var/www/html/plugins
git clone https://github.com/sophiathekitty/NullSensors.git
sudo crontab -e
3 * * * * sh /var/www/html/plugins/NullSensors/gitpull.sh
- icons made with open source icons