P.S., it’s generally a good idea to read the README.txt first before you start doing anything. Details can be found in the README.txt file. 2 (which is the current model), you need to open ospi.py and edit a port number. The backbone of the software is based on web.py, a popular and easy-to-use web framework for Python.Īlso keep in mind that if you have RPi rev. If you are a developer, you are welcome to improve the code or help fixing bugs. Keep in mind that this is still work in progress, so there are glitches and bugs that will be ironed out over time. I believe all features of the firmware are supported. So you can follow the OpenSprinkler Online User Manual for usage instructions. This demo program is the same as OpenSprinkler 1.8.2 firmware. Note that the port number can be changed to other values, in which case you need to check the source files to figure out how to make the change (or post a message on the forum and I am sure someone will help you). You should now see the homepage of the interval program demo. Open a browser on your computer or any device that’s connected to the same network as your RPi, and type in your RPi’s IP address, followed by colon, and the default port number 8080.Now, cd OSPi, and then run sudo python ospi.py (note that you will need to type in your RPi account password). This will unzip the file to a subfolder named OSPi in your current directory. the ‘wget’ command, space, and the very long link): wget First, ssh to your RPi (or connect your RPi to a monitor and open a Terminal), and type in run the following command in one single line(i.e.Thanks.)įor anyone who is unfamiliar with RPi, here are some basic instructions to follow: Please follow the instructions on the Wiki page above for how to install and use the latest software. ( Note: the grayed-out instructions below are obsolete and are only kept here for archiving purpose. Instructions can be found at the Rayshobby Wiki page: The code is available for download at Dan’s GitHub repository. Good news to the OpenSprinkler Pi users: the same interval program firmware that runs on the latest OpenSprinkler has now been ported to OpenSprinkler Pi! This is due entirely to the generous contributions by Dan Kimberling, who ported the OpenSprinkler’s Arduino code to Python.
0 Comments
Leave a Reply. |