Skip to content

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

License

Notifications You must be signed in to change notification settings

sophiathekitty/NullSensors

Repository files navigation

NullSensors

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

setup pi stuff for sensors on pi gpio

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)

Individual commands

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

Raspbarry Pi Config

sudo raspbi-config

Under Interfacing Options enable I2C and SPI

clone repo

cd /var/www/html/plugins
git clone https://github.com/sophiathekitty/NullSensors.git

setup cron job

sudo crontab -e
3 * * * * sh /var/www/html/plugins/NullSensors/gitpull.sh

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published