PlaatDomotica

PlaatDomotica collects information from your all kind of sensors and process it. The data is presented on a state-of-the-art WebGUI (optimized for mobile us)

Key Features:
– Records every second motion sensor status (HUE devices)
– Records every minute temperature / luminance / battery status (HUE devices)
– Records every minute solar energy delivered (HOSOLA device)
– Records every minute energy and gas consumption (Communicated with PlaatEnergy)
– Records every minute air temperature, air humidity, air pressure, air quality, wind speed and cloud density
– Show real-time and historical chart data in Web GUI
– Actor module (Manage Portal, Email and Hue Bulbs)
– Alarm module (Trigger one or more actors when motion, fire, storm and/or battery low event ocur)
– Event module (Inform user about historal alarm triggers and more)
– Bulb module (Switch on/off your Hue lights)
– Web GUI support secure access based on OAUTH2
– and much more!

Needed hardware
– Raspberry Pi (for example model 4B).
– SDcard: 16GB or higher
– Operating System: Debian Bulleye (Lite) or higher installed on Raspberry Pi
– Optional: Solar Converter + solar panels.

Screenshots

Release Notes

Click here for the release notes

Installation Instruction

## Step 1 - Install Java 11
sudo apt update
sudo apt install default-jdk

## Step 2 - Create installation directory and move jar in this directory
mkdir /opt/plaatdomotica
cp *.jar /opt/plaatdomotica

## Step 3. Create start script
Copy start script from GIT repo (/scripts/start.sh ) to /opt/plaatdomotica
chmod a+x /opt/plaatdomotica/start.sh

## Step 3. Create stop script
Copy stop script from GIT repo (/scripts/stop.sh ) to /opt/plaatdomotica
chmod a+x /opt/plaatdomotica/stop.sh

## Step 4. Create init.d script
Copy stop script from GIT repo (/scripts/plaatdomotica) to /etc/init.d
chmod a+x /etc/init.d/plaatdomotica
sudo update-rc.d plaatdomotica defaults 

## Step 5 (optional) Redirect port 80 to 8083
sudo apt-get install iptables
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --d port 80 -j REDIRECT --to-port 8083

## Step 6.
Installation is done!

## Check

$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Raspbian-1deb11u1)
OpenJDK Server VM (build 11.0.16+8-post-Raspbian-1deb11u1, mixed mode)

$ sudo reboot and login again. Check process list
ps -ef | grep plaatdomotica

$ start browser and enter http://<ip>:8083. Login with
username=admin 
password=admin

If there are any questions please sent an email to info@plaatsoft.nl

Used technology stack

– Spring Boot v2.7.6
– Spring JPA v2.7.6
– Spring Validator v2.7.6
– Spring Web MVC v2.7.6
– Spring Thymeleaf WebUI v2.7.6
– Spring Hibernate 5.6.14
– Spring Quartz v2.3.2
– Spring Security v0.4.0
– Embedded Tomcat App. Server v9.0.69
– Embedded H2 Database v2.1.214
– Google Charts
– Google Material Design Icons
– Java 11
– Debian (Buster) v5.10.103 (64 bits)
– Raspberry Pi 4B / 2GB

Open Source

The checkout the source code here.

Disclaimer

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