mirror of
https://github.com/jlengrand/cellar-driver.git
synced 2026-03-10 08:01:19 +00:00
master
Cellar Driver
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
What this thing does
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.
Notes
To use this package in cellar, follow this doc.
Acknowledgments
- abhiTronix and its excellent cross compilers
- Adam Heinrich for his
NativeLoaderhelper class - The helpful Github Actions docs
Description
Languages
C
69.4%
Java
26.1%
Makefile
3%
Shell
1.5%