###Not ready for production
Backend for Homio app https://homio.org/
###Deprecated. To fix issue Can not open SDP session. No such file or directory” 1.Open a terminal and enter: sudo nano /etc/systemd/system/bluetooth.target.wants/bluetooth.service 2.then change line: ExecStart=/usr/lib/bluetooth/bluetoothd to: ExecStart=/usr/lib/bluetooth/bluetoothd -C 3.sudo systemctl daemon-reload 4.sudo systemctl restart bluetooth
To debug code on rpi: Install plugin 'Embedded Linux JVM' (https://medium.com/@menchukanton/setup-intellij-idea-for-remote-debugging-java-code-on-a-raspberry-pi-6e9df09dfb95)
1.Install PostgreSql server with default user/password and default port
Application starts as spring boot application with main class HomioApplication.java To avoid errors with installing linux packages when starts application you need setup env variable -Ddevelopment=true
VM options: --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED -Ddevelopment=true