Commit Graph

36 Commits

Author SHA1 Message Date
671a3eb748
fix(pkg/server): logging and save values into postgres 2020-01-18 14:55:43 +01:00
0765bd29d1
refac(cmd): mergeing, ordering and outsourcing cmd subcommands 2020-01-13 22:32:00 +01:00
12246aae0c
fix(pkg/daemon): write values into logfile 2020-01-11 17:24:18 +01:00
40857249c4
test(pkg/cli): Implementation of test to stabilize the code 2020-01-11 13:03:58 +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
afe55b3d33
fix(pkg/daemon): compression and rounding 2019-12-08 12:49:21 +01:00
25dd99cd3d
test(pkg/storage): add test for compression and rounding 2019-12-08 12:49:21 +01:00
ea83d43cd6
fix(pkg/logger): exclude logger library into an own repository 2019-12-08 12:49:20 +01:00
04bc3baffe
fix(pkg/daemon): save measured values into postgres database if defined 2019-12-08 12:49:19 +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
d703d33e08
fix(cmd/daemon): default settings 2019-07-02 22:47:28 +02:00
289aaf2093
feat(pkg/sensor): new support for sensor bme280 2019-07-02 22:47:28 +02:00
45763d7c9d
fix(pkg/daemon): use all enables sensors instead of only temperature sensors 2019-06-27 20:39:51 +02:00
8005248262
fix(pkg/sensors): Use channel of data type []measuredValues instead of measuredValues 2019-06-27 09:31:40 +02:00
3dae3e38be
fix(pkg/logfile): use one instead of several logfiles for all measured values 2019-06-26 23:37:17 +02:00
072a902376
fix(pkg/logfile): read and write logfiles from json with measured value interface 2019-06-26 23:37:17 +02:00
08c2cbbf57
fix(pkg/daemon): use measuredValue interface instead of different structs 2019-06-25 22:22:34 +02:00
c8a1dd2935
fix(pkg/rgbled): use action maps to turn on/off led colors 2019-06-24 22:58:29 +02:00
45e6c30220
fix(pkg/daemon): behavior of the rgbled 2019-06-23 21:07:53 +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
3791723230
fix(pkg/logfile): add compression 2019-06-21 15:43:15 +02:00
f979e88a52
fix(pkg/daemon): turn on red rgb-led if something goes wrong in other cases 2019-06-21 14:37:02 +02:00
f6db6f9ce3
feat(pkg/logfile): support csv and xml logfile 2019-06-21 13:45:58 +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
64590c1194
feat(cmd/daemon): new flag to set clean cache interval 2019-06-16 23:15:26 +02:00
13fcb9776d
fix(pkg/daemon): turn on/off info lights 2019-06-16 20:51:28 +02:00
3d07cbc9ba
feat(daemon): new flag to set compression 2019-06-15 16:42:54 +02:00
518855bedf
refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +02:00
5f859139a4
feat(daemon): add new subcommand to start a daemon 2019-06-15 15:45:35 +02:00
8aa6db6b7d
fix(pkg/logfile): add temperature json testfiles 2019-06-14 21:35:13 +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