Another IOT Garden. Built on a Raspberry Pi. Powered by Dark Sky.
Run the following from the repository root directory to install the needed dependencies.
# The minimum dependencies needed to run weatherBot
pip3 install -r requirements.txt
# Additional dependencies needed for testing, linting, and validating
pip3 install -r requirements-dev.txt
-
darkskylib - a python library for the Dark Sky API.
-
Adafruit IO - a python library for the Adafruit IO API. See the documentation for more information.
- Adafruit Soil Sensor
- Moisture reading ranges from about 200 (very dry) to 2000 (very wet).
- Ambient temperature from the internal temperature sensor on the microcontroller is not high precision, maybe good to + or - 2 degrees Celsius.
GPIO # | Pi I/O | sensor I/O | JST PH Color |
---|---|---|---|
1 | 3V3 | VIN | Red |
3 | SDA | SDA | White |
5 | SCL | SCL | Green |
9 | GND | GND | Black |
-
Pinout - an interactive overview of GPIO on the Pi.
Keeping a log of useful commands so I don't forget or have to re-look up.
Command | Descriptions |
---|---|
pcmanfm |
open (pi) file system browser as root |
shutdown |
... |
poweroff |
... |
reboot |
... |
find |
sudo find [dir] -iname '*txt*' |
readlink |
Show full file path. Use: readlink -f 'file' |
crontab |
edit the Cron table, -e to edit, -l to show active. |