Copyright (c) 2018 by Botorabi. All rights reserved. https://github.com/botorabi/HomieCenter License: MIT License (MIT) Read the LICENSE text in main directory for more details. First Created: May 2018 Author: Botorabi (botorabi AT gmx DOT net)
Homie Center is a web application dedicated to home automation. It provides a simple control center for devices connected to a FRITZ!Box (see https://avm.de). Homie Center is implemented using Spring Boot and Angular and runs on every device capable of running Java such as Raspberry Pi.
On a fresh clone of the repository use the script ngapp-setup.sh for installing the Angular dependencies. Make sure that the command npm is available on your system.
The Maven rule for packaging (mvn package) will build the entire web application along the Spring Boot and Angular projects. During the development you may want to also use the following scripts:
Use the ngapp-build-dev.sh for building the Angular project during development. Finally, use the ngapp-build.sh to build the Angular project for production.
Use the script distribute-package.sh in directory distribution in order to build the application and create a complete package ready for distribution.
Running the Web Application
As expected from a Spring Boot application, running it is as simple as issuing the following command after a successful build:
java -jar target/homiecenter-< VERSION >.tar
The application settings such as a custom FRITZ!Box URL can be set in file 'homiecenter.properties' which must be located in the execution directory.
Here are a few screenshots showing Homie Center's user interface.
An earlier version of the UI.
New version of the UI showing the support for Heat Controller
A piece of mobile view