command
module
Version:
v0.0.0-...-1ef33cd
Opens a new window with list of versions in this module.
Published: Jun 3, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
templogger
Simple temperature logger that reads temperatures from ds18b20 sensors and writes to a database
How to use
Reads a properties file templogger.properties, override with --prop filename.properties
- dbfile - string: Name and path to sqlite file database
- interval - string: Interval between reads in s
- sensornames - string: Names of sensors, comma separated (not used - just sanity check)
- expectedsensors - string: Device names , comma separated (not used - just sanity check)
- sensorcalibration - float: Sensor calibration values, comma separated
Build
go build templogger.go
Start
nohup ./templogger &
Using TempServer
Provides a way to retrieve data through rest API:
https://github.com/perolo/tempserver
Gui graphs very rudimetal - work remains...
Reading sensors
Using https://github.com/yryz/ds18b20
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.