rpi4b-temp-humidity/config.mk

37 lines
1.0 KiB
Makefile
Raw Normal View History

2024-03-01 00:21:20 -08:00
# Library and compile options
SQLITE3_LDFLAGS=-L/usr/local/lib -lsqlite3
SQLITE3_CFLAGS=-I/usr/local/include
2024-04-05 01:31:05 -07:00
# Install prefix
PREFIX=/usr/local
2024-03-01 00:21:20 -08:00
# Default option values, empty means NULL (for strings)
2024-04-05 01:31:05 -07:00
# Config file path
DEFAULT_CONFIG_PATH=/usr/local/etc/rpi4b-temp-humidity/config.conf
# GPIO device
DEFAULT_GPIO_DEVICE=/dev/gpioc0
2024-04-05 01:31:05 -07:00
# sysctl(8) keys for the temperature sensor
DEFAULT_TEMP_KEY=dev.gpioths.0.temperature
DEFAULT_HUMID_KEY=dev.gpioths.0.humidity
2024-04-05 01:31:05 -07:00
# Set this to empty to disable checking failures
2024-02-28 12:09:18 -08:00
DEFAULT_FAIL_KEY=dev.gpioths.0.fails
2024-04-05 01:31:05 -07:00
# Max failures of the temperature sensor before exit
DEFAULT_FAIL_LIMIT=5
2024-04-05 01:31:05 -07:00
# Database location
DEFAULT_DATABASE_LOCATION=/var/db/rpi4b-temp-humidity/db.sqlite
# Time between data points, note that this is probably limited by the kernel's
# gpioths driver (5 seconds)
2024-02-28 12:09:18 -08:00
DEFAULT_REFRESH_TIME=5000
2024-04-05 01:31:05 -07:00
# F for Fahrenheit, C for Celsius
2024-04-02 14:53:04 -07:00
DEFAULT_TEMP_UNIT=F
2024-04-05 01:31:05 -07:00
# The base name for export, .sqlite3 will be appended for SQLite exports and
# .csv will be appended for CSV exports
2024-04-04 00:53:29 -07:00
DEFAULT_EXPORT_FILE_NAME=env_data