fix(pkg/sensor): temperature measurement unit

This commit is contained in:
volker.raschek committed 2019-06-23 13:50:57 +02:00
1 parent 1e25b55789
commit 3bb10a4f78
22 files changed
+154 -42

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ func Start(cnf *config.Configuration, cleanCacheInterval time.Duration, compress
childContext, cancel := context.WithCancel(ctx)
// go sensor.ReadHumiditiesContinuously(cnf.GetHumiditySensors(config.ENABLED), humidityChannel, errorChannel)
go sensor.ReadTemperaturesContinuously(childContext, cnf.GetTemperatureSensors(config.ENABLED), round, temperatureChannel, errorChannel)
go sensor.ReadTemperaturesContinuously(childContext, cnf.GetTemperatureSensors(config.ENABLED), types.DegreeCelsius, round, temperatureChannel, errorChannel)
temperatureCache := make([]*types.Temperature, 0)