

- #Opensprinkler pi setup how to
- #Opensprinkler pi setup install
- #Opensprinkler pi setup android
- #Opensprinkler pi setup code
#Opensprinkler pi setup code
The code I provided put the images in home/pi/OpenRemote-Controller-2.1.0_SNAPSHOT-/webapps/controller. To do this, you just need to specify in the URL section the location of your images. We will just get the created graphs from Raspberry. Design the buttons as you want.įor the moment, we don’t link the buttons with the RF transmitter module. Define the Panel Type (Android or Iphone) and choose the dimensions.
#Opensprinkler pi setup android
Let’s design the Android interface! First, Sign up in the Openremote online Composer: Openremote-composerĪfter this you will see the blank-page Modeler.jsp. My solution is here ( create_graphs.sh): create_graphs.shĭon’t forget to make everything as executable ( chmod +x filename.sh) and to test it before :) Once you have the Operemote-Controller folder on RaspberryPi (mine is in /home/pi/), we will create the graphs that will be used in the interface.

Then, you just need to specify the IP address of Rasperry Pi, its login username password and the port (22 for ssh) and to transfer the unzipped folder to a folder of Rasperry Pi (for me is in home folder). The most simplest solution for doing this is FilleZilla, of course :): FileZilla. After you unzip it, you need to transfer it to Rasperry Pi. The first thing to do is to download the Openremote Controller 2.1.0 (!!! The oldest ones may not work): Openremote-Controller-2.1.0. After creating the graphs we will use them in the Android interface via Openremote platform ( Openremote). Next, we will use RRDTool to create beautiful graphs and to visualize them. Since now we can collect all the temperature information in the hometemp.rrd file. To find a metar station nearest you, use this list of stations and replace the ICAO code KMSN with the ICAO code of the station you would like to use at end of the $metar_url vairable. The Pearl code for reading the temperature data in Celsius from the sensor ( get_): get_
#Opensprinkler pi setup install
To install it: sudo apt-get install libwww-perl I also used Pearl scripting language for grabbing the outside temperature. To install RRDTool, type in the command line: sudo apt-get install rrdtool These values are saved in a file *.rrd (hometemp.rrd), since I will use RRDTool for the design of my graphics.
#Opensprinkler pi setup how to


Optional: for an elegant solution, and if you plan to use Raspberry for other projects, I have used the Adafruit Prototyping Pi Plate Kit for Raspberry Pi: Pi Plate.A DS18B20 temperature sensor: DS18B20 sensor.But there is a less expensive solution on Ebay that works as well: 433 MHz Transmitter. DI.O devices produced by Chacon that permit the radio transmission at 433MHz: Kit 3 prises.A Raspberry Pi model B: Raspberry Pi model B.
