This project must be used in conjunction with the repository.
A Firebase Cloud Messaging (FCM) server designed to monitor and report mobile device battery status.
- java
- maven
- python 3
- rich
Download the latest pre-release from the releases page. Or Build the project by yourself.
https://github.com/DEPhantom/BatteryMonitorServer.git
- Navigate to
src/main/resources/config/config.yaml
to configure the server IP and the absolute path to the Python script. By default, the Python script is usually located in:BatteryMonitorServer/src/
- Go to your project settings in the Google Firebase Console,
navigate to the Service Accounts tab, and generate a new private key.
Place the downloaded key file in:
src/main/resources/FCM_key/yourkey.json
- Run
java -jar BatteryMonitorServer-1.0.jar