This is project offers a smart-house framework, allowing comfortable development of applications utilizing existing sensors within the smart-house to assess and manipulate the state of the house.
It is comprised of 3 main components: the sensors in the house (or their simulation), the system managing those sensors, and your application (and others) influencing the house at all times
The system acts as a mediator between the sensors and the applications. The sensors send data to the system and the system notifies the applications that a new data has been received.
Applications and sensors that are developed by 3rd party developers, must implement the platform's API.
The project is developed using the Java programming language. To run the code you will need JDK 8 and the JavaFX library. For a better understanding of the project structure, please read the System Overview wiki page, which presents the different parts of the project.
To install the required run time environment and libraries, simply go to the Oracle official download pages, and download any JDK 8 release installation.
If installing using the apt-get program, run the following commands:
sudo apt-get install openjdk-8-jdk
sudo apt-get install openjdk-8-jre
And the following command to install the JavaFX library:
sudo apt-get install openjfx
These three commands will install the java development kit, java runtime environment and the JavaFX library. Another option would be to go to the official Oracle download page, download the java binaries and do the installation manually.
From the root directory, run
mvn clean package -DskipTests
The following jar files will be created in the target folder:
System-1.01-jar-with-dependencies.jar- the smarthouse systemSos-1.01-jar-with-dependencies.jar- the sos application runnerStove-1.01-jar-with-dependencies.jar- the stove application runnerVitals-1.01-jar-with-dependencies.jar- the vitals application runnerShutter-1.01-jar-with-dependencies.jar- the shutter application runner
You can run any of those jar files with the command:
java -jar <JAR_FILE_NAME>
Icons by www.icons8.com
