Sprint Boot WebService wrapper around a BME680 Climate Sensor running on a Raspberry Pi
A (Spring Boot) webserver exposing an averaged reading from a BME680 (https://shop.pimoroni.com/products/bme680-breakout
)
via a web url returning JSON formatted data. This requires the installation of
python and the BME library via pip.
Another good resource on the sensor: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-bme680-breakout
- Install BME Library
sudo apt-get install pip
sudo pip install bme680
- Create application.properties in
src/main/resources
- run
install.sh
script to transfer exe, setup service
server.ssl.key-store: keystore.p12
server.ssl.key-store-password
server.ssl.keyStoreType: PKCS12
logbackserver:192.168.0.7:5671