Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added details for running the server GUI to the README file.
  • Loading branch information
pid1 committed May 8, 2015
1 parent ccb3832 commit 8c97122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -10,7 +10,7 @@ Thermocontroller is an interactive server/client setup for environmental control
Program Requirements
The thermostat/thermocontroller device code is designed to be run on a Raspberry Pi device. The code has been tested on a Raspberry Pi Model B and Model B+. The Pi4J library is used for interfacing between Java and the Raspberry Pi. To install the distributed executable for each thermostat in the network you must use the "Export" feature in Eclipse to package the JAR file. During the export process you must select the Main Class file to be *ThermostatDevice.java* in the *thermostat* package. You must also make sure that you have the Pi4J library linked to the project and you select package required libraries with executable in the export process. The executable building was only tested on Mac OSX 10.10.3. To execute on the Pi, you must be running the latest version of Raspian, an local network connection as defined below, and have the proprietary Oracle Java 8 runtime installed. Your terminal command to launch the .jar will vary by Linux distribution installed, but on Raspbian will be java -jar EXECUTABLE_FILE_NAME.jar.

The server functionality runs in a JavaFX GUI. This requires the proprietary Oracle Java 8 runtime. It has been tested on Windows 7 SP2, OSX 10.10.3, and Arch GNU/Linux with Java 1.8.0_45.
The server functionality runs in a JavaFX GUI. This requires the proprietary Oracle Java 8 runtime. It has been tested on Windows 7 SP2, OSX 10.10.3, and Arch GNU/Linux with Java 1.8.0_45. It can be started by running the Main.java file in the package named "main." The default username is admin@uconn.edu, and the default password is admin.

The networking code currently hard-codes IP addresses of 192.168.1.102 for the server and 192.168.1.103 for the Raspberry Pi thermostat device. There is unimplemented code that will allow for automatic device discovery in the future.

Expand All @@ -23,4 +23,4 @@ This program is free software: you can redistribute it and/or modify it under th

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

0 comments on commit 8c97122

Please sign in to comment.