Commit Graph

150 Commits

Author SHA1 Message Date
d19e26d971
fix(pkg/db/postgres): error handling 2019-08-25 20:58:45 +02:00
60ee044b88
feat(pkg/db): postgres database 2019-08-25 13:16:21 +02:00
0e1ca7a8e1
fix(pkg/cli): nil pointer exeption - print empty string instead throw exeption 2019-07-24 17:18:56 +02:00
0dd156f480
fix(pkg/logfile): description of functions 2019-07-14 19:06:26 +02:00
31accbd742
test(pkg/logfile): remove old test files 2019-07-14 19:05:44 +02:00
3feee7764b
fix(pkg/logfile): support xml logfiles 2019-07-03 18:46:19 +02:00
93c08d8147
fix(pkg/config): add functions to get pressure sensors 2019-07-02 22:47:28 +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
397f870435
fix(pkg/logfile): support write and read air pressure values from json logfile 2019-07-02 22:47:28 +02:00
043fc395d9
fix(pkg/logfile,sensor): implement pressure as measured value 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
4fe4abb0e9
fix(pkg/logfile): read from csv file styled by measured values 2019-06-28 13:04:04 +02:00
41653afebf
fix(pkg/rgled): turn output on 2019-06-28 09:59:11 +02:00
45763d7c9d
fix(pkg/daemon): use all enables sensors instead of only temperature sensors 2019-06-27 20:39:51 +02:00
4680841684
fix(pkg/logfile): compression for measured values 2019-06-27 20:39:51 +02:00
4d7408ac81
fix(pkg/internal): rm collect humidities 2019-06-27 18:43:59 +02:00
4975ce21fa
fix(pkg/config): get temperature or humidity sensors 2019-06-27 18:43:16 +02:00
8005248262
fix(pkg/sensors): Use channel of data type []measuredValues instead of measuredValues 2019-06-27 09:31:40 +02:00
1d8c86df67
fix(pkg/sensor): read values 2019-06-27 09:17:34 +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
003fe8ab9e
fix(cmd/temperature/read): use measured values instaed own type 2019-06-26 23:36:40 +02:00
08c2cbbf57
fix(pkg/daemon): use measuredValue interface instead of different structs 2019-06-25 22:22:34 +02:00
5f53207f0a
test(pkg/logfile): compress temperature logfile 2019-06-24 22:59:22 +02:00
c8a1dd2935
fix(pkg/rgbled): use action maps to turn on/off led colors 2019-06-24 22:58:29 +02:00
02fa0cc931
test(pkg/logger): logger test 2019-06-24 20:12:28 +02:00
16705d1164
feat(cli/humidity): add new subcommand to read humidity values 2019-06-23 21:33:45 +02:00
45e6c30220
fix(pkg/daemon): behavior of the rgbled 2019-06-23 21:07:53 +02:00
d42d67c271
test(pkg/logfile): enable cleanup 2019-06-23 14:19:47 +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
1e25b55789
test(pkg/logfile/convert): add test for cross converting between logfiles 2019-06-22 15:43:46 +02:00
6707dabdf1
feat(cmd/temperature/compress): new subcommand to compress logfiles 2019-06-22 14:38:58 +02:00
bbcccd7479
fix(pkg/logfile/csv): read from csv file 2019-06-22 13:13:15 +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
afd7accb47
fix(pkg/logfile): description for public functions 2019-06-21 14:31:56 +02:00
3006e6f0e6
fix(pkg/logfile): define own un/marshal functions for xml 2019-06-21 13:45:59 +02:00
87475225bc
fix(test/logfile): valid temperatures 2019-06-21 13:45:58 +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
6fd6eb7f0d
fix(pkg/rgbled): description for exported functions 2019-06-16 23:47:41 +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
3436d6c91f
fix(pkg/rgb-led): complete rgb-led pkg 2019-06-16 20:11:10 +02:00
49d66cfcbb
feat(cmd/rgb-led): add subcommands to operate with rgb-leds 2019-06-16 13:00:50 +02:00
cdacd1452a
test(pkg/logfile): rm generated go-bindata 2019-06-15 19:10:31 +02:00
648388e1e8
refact(pkg): adapt go dependancies 2019-06-15 17:07:50 +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
05cd62c624
fix(pkg/logfile): description for exported functions 2019-06-15 15:49:21 +02:00
5f859139a4
feat(daemon): add new subcommand to start a daemon 2019-06-15 15:45:35 +02:00
2843d96756
fix(pkg/config): converter for humidity and temperature sensors 2019-06-15 14:03:11 +02:00
662e1dcfa9
fix(pkg/config): select temperature and humidity sensors by name, uuid or wire-id 2019-06-15 13:02:52 +02:00
314f5a41e5
fix(pkg/logfile): description for exported functions 2019-06-15 12:12:57 +02:00
fbb062d091
fix(pkg/logfile): set creation date only if nil 2019-06-15 12:04:14 +02:00
7a3b3c6218
fix(pkg/config): option to select all, enable or disable temperature sensors 2019-06-15 11:49:46 +02:00
8aa6db6b7d
fix(pkg/logfile): add temperature json testfiles 2019-06-14 21:35:13 +02:00
510819654a
feat(pkg/logfile): add compression 2019-06-14 21:17:06 +02:00
5666830030
fix(logfile): Add pkg to operate with logfiles 2019-06-13 23:23:27 +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
807a5b80ff
fix: cli, print temperatures 2019-03-06 20:17:28 +01:00
3d54401011
feat: list configured loggers 2019-03-04 21:19:33 +01:00
88f6116a41
feat: add and remove logger 2019-03-04 20:52:41 +01:00
d988735817
fix: humidity file logger 2019-03-04 18:25:19 +01:00
f01b943024
add: internal pkgs 2019-03-04 17:50:41 +01:00
64368ff69d
fix: sensor named function 2019-03-04 17:48:02 +01:00
453bf8e440
fix: file logger 2019-03-04 17:48:01 +01:00
a243021c70
fix: moved print functions into cli pkg 2019-03-04 17:48:01 +01:00
4bae510120
feat: implementation of dht22 sensor 2019-03-04 11:05:02 +01:00
80dd02f9d5
fix: dht11 sensor implementation 2019-03-04 10:50:20 +01:00
fd638452ac
feat: file logger 2019-03-04 10:50:20 +01:00
94dcfee1ec
feat: implementation of dht11 sensor 2019-03-04 10:50:20 +01:00
48b18b61ec
fix: create config folder if not exists 2019-03-04 10:50:03 +01:00
82e82952ed
feat: select optional sensors to read humidity or temperature 2019-03-04 10:49:41 +01:00
4b9c1fc3dd
feat: rename remote name 2019-02-28 20:13:11 +01:00
450dfc9052
feat: rename sensor name 2019-02-28 20:05:23 +01:00
14ce354b32
fix: sensor typ to static sensor model 2019-02-28 19:48:48 +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
c437127531
fix: configuration pkg 2019-02-17 18:38:40 +01:00
500d1a5823
fix: splited temperatures
Changes:
- Split temperatures from log file into blocks.
  Every block has a size of 500 entries. Every block would be send to
  the remote host
2018-12-07 22:50:28 +01:00
81600154f0
add: humidity (WIP) 2018-12-07 20:42:30 +01:00
ba9f0c59f3
add: termperatures log 2018-11-30 21:50:43 +01:00
7b18b115c8
fix: send only to enabled remotes data 2018-11-30 16:14:47 +01:00
cc16bb9555
fix: get temperatures 2018-11-29 20:03:42 +01:00
e9630f5a19
fix: temperatures get 2018-11-29 17:05:07 +01:00
f8e829d3d2
fix: sync and fetch temperatures
changes:
- add sync command to synchronize device sensor information with remote
  servers
- fix fetch functions to get temperatures
2018-11-29 16:06:39 +01:00
99ff511117
fix: remote, sensor - list quiet 2018-11-28 18:11:15 +01:00
617454f66b
WIP 2018-11-28 18:07:20 +01:00
3532c771ec
fix: config, device_name and device_location 2018-11-28 12:54:14 +01:00
42aa07802a
fix: enable and disable remote links 2018-11-28 12:32:34 +01:00
1672663944
fix: renamed packages 2018-11-21 20:48:10 +01:00
6d9368e86c
fix: temperature, sensor
changes:
- sensor temperature add
- sensor temperature list
- sensor temperature rm
- temperature get
- temperature log
- temperature push
2018-11-21 19:30:14 +01:00
dd7ea3156e
fix: set config, set remote 2018-11-19 22:36:21 +01:00
41a6d4e7ee
fix: first temperature post request 2018-11-07 20:07:15 +01:00