Discover Packages
github.com/perolo/templogger
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: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.