templogger

command module
v0.0.0-...-1ef33cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 14 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.

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址