https://github.com/asfaroth/skaspicontrol
Simple Java application that controls an unlimited number of Raspberry Pis via SSH.
https://github.com/asfaroth/skaspicontrol
java json raspberry-pi skas ssh
Last synced: about 2 months ago
JSON representation
Simple Java application that controls an unlimited number of Raspberry Pis via SSH.
- Host: GitHub
- URL: https://github.com/asfaroth/skaspicontrol
- Owner: Asfaroth
- License: lgpl-2.1
- Created: 2022-09-14T08:06:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T10:48:09.000Z (about 3 years ago)
- Last Synced: 2025-02-08T05:27:10.239Z (over 1 year ago)
- Topics: java, json, raspberry-pi, skas, ssh
- Language: Java
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# SKAS Pi Control
This repository holds the code needed to properly shut down the terminal Raspberry Pis for a SKAS[^1] shooting range setup.
The Pis are shut down via SSH and the power is controlled via a Shelly Plug S[^2].
# Build
To build the application simply execute `mvn package` what produces an executable `.jar` file in the target directory.
To execute this archive simply execute `java -jar .jar` to start the server.
Afterwards the requests are available as they are configured in the settings.
# Settings
In order for this application to run a `settings.json` file is needed in the same folder as the compiled jar file is saved.
In order to be compatible with as many setups as possible, the relevant parameters can be adjusted accordingly.
An example of such a file can be seen in this repo in the `settings Example.json` file.
All parameters are needed.
[^1]: https://kiermeier.solutions/skas.htm
[^2]: https://shelly.cloud/products/shelly-plug-s-smart-home-automation-device/