Commit Graph

29 Commits

Author SHA1 Message Date
ffbc8a793c
fix: golangci-lint and gosec warnings 2021-05-26 19:47:15 +02:00
3a090d190e
fix: cli temperature read
changes:
- fix: read temperature values without daemon
  Add subcommand to read temperature values without starting the daemon

- fix: implement measured value types
  Replace measured value types with constants

- fix: add sensor pipelines
  Add functions which returns a channel with measured values

- fix: filter measured values from a channel
  Add functions to filter measured values by sensor id or measured
  value types.
2020-09-21 20:05:37 +02:00
9ee9742aff
fix: use own dht pkg 2020-06-21 18:42:33 +02:00
a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +02:00
43e9d00dcb
fix: implement repository test
changes:
- Implement repository test for the sqlite backend
- Add testutils package to start container images
- Remove deprecated till_date in measured values
- Renamed columns of the table humidities, pressures and temperatures
2020-06-01 00:56:04 +02:00
fb8d4dd5eb
fix: new implementation
changes:
- Remove cli
  Some cli commands are not complete tested and are deprecated.

- Daemon
  - Old version has a very bad implementation of how to verify, if the
    device or the sensors are in the database insert. The current
    implementation can be improved but this one is betten then the old
    one.
  - Remove complete the cache store implementation. Use a normal array
    and query the length and capacity to determine how the array cache
    must be cleaned.

- Type
  Remove unused types and functions
2020-05-03 14:09:22 +02:00
8cc232adc1
fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +01:00
2cd2188dcb
refac(pkg/types): remove deprecated prefix name of struct attributes 2020-01-10 22:03:49 +01:00
95fb1f6745
fix(pkg/sensor): reduce interface functions for better error handling 2020-01-10 19:42:19 +01:00
dbef4f8241
fix(pkg/config): use storage endpoints
changes:
- Only one storage endpoint can be defined. This consists of a URL which
  can be used to specify whether the data is to be stored in a file or
  in a database.
2019-12-08 12:49:21 +01:00
60ee044b88
feat(pkg/db): postgres database 2019-08-25 13:16:21 +02:00
825511c3b5
fix(pkg/types): use measured values as struct instead interface 2019-07-02 22:47:28 +02:00
8005248262
fix(pkg/sensors): Use channel of data type []measuredValues instead of measuredValues 2019-06-27 09:31:40 +02:00
08c2cbbf57
fix(pkg/daemon): use measuredValue interface instead of different structs 2019-06-25 22:22:34 +02:00
5e03d987c5
refac(pkg/sensor): temperature measurement unit 2019-06-23 14:17:57 +02:00
3bb10a4f78
fix(pkg/sensor): temperature measurement unit 2019-06-23 13:50:57 +02:00
088ed3b5f7
feat(pkg): add logger and round direct over sensor interface 2019-06-18 23:08:04 +02:00
2941f7a527
fix(pkg/sensor): use context to terminate go routines 2019-06-17 23:41:37 +02:00
648388e1e8
refact(pkg): adapt go dependancies 2019-06-15 17:07:50 +02:00
518855bedf
refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +02:00
2843d96756
fix(pkg/config): converter for humidity and temperature sensors 2019-06-15 14:03:11 +02:00
7a3b3c6218
fix(pkg/config): option to select all, enable or disable temperature sensors 2019-06-15 11:49:46 +02:00
a8aa7a14c5
fix(types): humidity and temperature with from and till date 2019-06-13 22:22:12 +02:00
5220eac16b
fix: breaking changes
changes:
- remove remote operations
- add function to write measured values into a channel
- add get humidity sensors from config
- add get temperature sensors from config
- remove FileLogger
- exclude some functions from pkf into internal
2019-06-13 22:15:48 +02:00
c5233d578a
fix: rename packages 2019-05-12 11:57:53 +02:00
80dd02f9d5
fix: dht11 sensor implementation 2019-03-04 10:50:20 +01:00
94dcfee1ec
feat: implementation of dht11 sensor 2019-03-04 10:50:20 +01:00
1a3a31c5f2
refactor: temperature 2019-02-28 17:36:20 +01:00
d6f41b8105
refactor: config and remote pkg 2019-02-22 13:09:05 +01:00