This repository was made as part of my wine cellar monitoring system.
Because this setup uses hardware and requires compiling C code, I decided to make a separate repository for it and publish it separately.
Disclaimer : This thing was made for personal usage and is linked to specific versions of Raspberry and Raspbian
I'll most likely write more about it soon but in short this thing :
- Uses a driver that is coming from a Python Adafruit library to interact with the dht11
- Creates a simple JNI bridge for the library
- Compiles a native library for the pi using Github Actions
- Creates a jar file that embeds the native library and uses it in a temp folder when triggered to avoid needing custom installation
- Publishes the jar on Github.
This artifact will be used as part of the larger Cellar project.
To use this package in cellar, follow this doc.
- abhiTronix and its excellent cross compilers
- Adam Heinrich for his
NativeLoader
helper class - The helpful Github Actions docs