- A Springboot standalone application measuring temperature and pressure with an BMP085 sensor
- Measured data is sent via MQTT to a RabbitMQ server
- Application is using Spring-Integration with annotation based configuration
- A Springboot web application consuming the MQTT data and relaying it via STOMP
- pushing the data via Websocket to the clients
- A Springboot standalone application consuming the MQTT data and writing it to a Google Spreadsheet
- A Springboot standalone application pushing alerts to your smartphone using Pushover
What you need to run the applications:
- Java 21
- RabbitMQ (http://www.rabbitmq.com)
- RaspberryPI with Java 21 installed and wired BMP085 sensor
- pi4j (http://pi4j.com)
This is the application meant to run on Raspberry PI, measuring data via BMP085 sensor. In development mode there is a mock implementation generating random data.
Application properties can be configured in
raspberrypi-boot-bmp085/src/main/resources
Use
mvn clean install
to build the application and
java -jar target/raspberrypi-boot-bmp085-1.4.0-SNAPSHOT.jar --spring.profiles.active=dev
mvn spring-boot:run -Dspring.profiles.active=dev
to run it on the development machine.
This is the web application relaying the MQTT data via stomp and pushing it to the clients via Websocket.
Application properties can be configured in
raspberrypi-boot-server/src/main/resources
Use
mvn clean install
to build the application and
mvn springBoot:run -Dspring.profiles.active=dev
to run it.
This is the application consuming the MQTT data and writing it to a Google Data Spreadsheet. Please make sure you have an Google Account and downloaded the JSON Credentials file as described in this document
Application properties can be configured in
raspberrypi-boot-gdata/src/main/resources
Use
mvn clean install
to build the application and
mvn springBoot:run -Dspring.profiles.active=dev
to run it.
This is the application sending temperature alerts to your smartphone if the server sends notification event.
Application properties can be configured in
raspberrypi-boot-pushover/src/main/resources
Use
mvn clean install
to build the application and
mvn springBoot:run -Dspring.profiles.active=dev
to run it.