ftfert.blogg.se

Opensprinkler pi setup
Opensprinkler pi setup





opensprinkler pi setup
  1. #Opensprinkler pi setup how to
  2. #Opensprinkler pi setup install
  3. #Opensprinkler pi setup android
  4. #Opensprinkler pi setup code

  • You need to download OpenRemote on your mobile device.
  • You can do this for other graphics ( temp_monthly.png, temp_daily.png, temp_yearly.png). So, the location will be: IP_address_of_RasperryPi/controller/temp_daily.png for the graphics that show the daily change in temperature.

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

    opensprinkler pi setup

    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

  • A tutorial of how to connect the RF transmitter with Raspberry Pi: RF module to Raspberry Pi.įor storing the data provided by the temperature sensor I am using the w1 interface of the sensor, like in the tutorial proposed by Adafruit.
  • The Adafruit’s tutorial on how to connect the DS18B20 sensor to Raspberry Pi: DS18B20 sensor to Raspberry Pi.
  • I am using Debian operating system on the Raspberry device.
  • The best tutorials (in my opinion) on how to setup Raspberry Pi and other basics, here: Adafruit tutorials Raspberry Pi.
  • Optional: a half-size breadboard: Mini breadboard.
  • opensprinkler pi setup opensprinkler pi setup

    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.







    Opensprinkler pi setup