Springboot REST on RPi serving data from DHT11 temperature/humidity sensor on Pi 4B+ GPIO pin 17
- Gather data from DHT11 Temperature/Humidity sensor
- Make the data available through a REST api
- Uses Java JDK11
- mvn clean install
- on command line in terminal at project root 'java -jar dht11_server.jar'
- GET http://<host>:8080/ts/sensors/dht11
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Boot DevTools
The following guides illustrate how to use some features concretely: