Skip to content

camhejna/DreamAGarden

Repository files navigation

Dream A Garden

version python-version build

Another IOT Garden. Built on a Raspberry Pi. Powered by Dark Sky.

Powered by Dark Sky

Getting Started

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

Dependencies

I/O Components

  • 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.

Sensor Routing

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

General Resources

Commands

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.