Skip to content

pid1/Thermocontroller

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.

Thermocontroller

An interactive client/server setup for environmental control. ##Creators Aimee Dipietro, Jonathan Huang, David Paquette, Jonathan Roemer ##Summary Thermocontroller is an interactive server/client setup for environmental control. The user sends a command to the command and control server, which forwards that command to the client device. Both the client and server software is built to be deployed on a Raspberry Pi running GNU/Linux, with the client using the GPIO pins to interact with external devices. Extensive documenation is provided in the DOCUMENATION.md file.

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

##License Thermocontroller is licensed under the GPLv3. A full copy of the license is provided with this program under the name LICENSE.txt

Copyright 2015 Aimee Dipietro, Jonathan Huang, David Paquette, and Jonathan Roemer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

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

About

An interactive client/server setup for environmental control.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages