I think OpenSprinklerPi deserves it’s own little Setup tutorial. There are a number of us that have written some python, but are still uncomfortable with linux.
Here’s a start:
This is by no means an authoritative, but if you don’t know what to do, follow this.
We’ll assume you’ve:
– bought a Raspberry Pi and hooked it up to your OpenSprinklerPi board
– followed the SD Card Setup Instructions: http://elinux.org/RPi_Easy_SD_Card_Setup, I favor the “Easy Way”
– put the SD card in your pi, attach a screen and keyboard, go through the initial setup screen: http://elinux.org/RPi_Beginners
– enabled SSH or however you plan to connect to your Pi remotely
– set up internet access (wifi or LAN)
Now that you have a basic running Raspberry Pi, we can set up Open Sprinkler Pi
1. the Open Sprinkler demo code written by Ray’s Hobby is part of a git-hub repository. To download it access the files, we’re going to install Git on our RaspberryPi. Type:
sudo apt-get install git-core
sudo – lets you use advanced privileged and override security measures
apt-get – a tool that lets you install stuff on linux (you’ll use it a lot)
install – tell apt-get what to do
git-core – what we’re installing
type [Y] to accept the install
2. let’s make place to put the stuff we’re about to download
3. now let’s get the Ray’s code from git-hub:
git clone https://github.com/rayshobby/opensprinkler.git
When this completes, you’ll have a folder called
with all the files from git organized within
— its getting late and I’m a rookie too… someone please continue by opening a README.txt, and following the instructions for each of the 3 demos
I think if we demystify the little bit of linux needed to to get the OSPI going, we can have more people writing Python to exploit it’s capabilities. Please feel free to explain an easier way to do any of the above.