Commit Graph
100 Commits
Author SHA1 Message Date
volker.raschek 572ad7fdde fix(cmd/root): use csv logfile as default 2019-06-28 13:15:11 +02:00
volker.raschek 22815231d9 feat(cmd/convert): new subcommand to convert logfiles 2019-06-28 13:14:39 +02:00
volker.raschek 4fe4abb0e9 fix(pkg/logfile): read from csv file styled by measured values 2019-06-28 13:04:04 +02:00
volker.raschek 41653afebf fix(pkg/rgled): turn output on 2019-06-28 09:59:11 +02:00
volker.raschek 180a284780 fix(cmd): turn on the led light when a sensor is selected 2019-06-27 21:47:31 +02:00
volker.raschek 45763d7c9d fix(pkg/daemon): use all enables sensors instead of only temperature sensors 2019-06-27 20:39:51 +02:00
volker.raschek 6d3781d950 fix(cmd/temperatures,humidity): enable logs if flag is true and optimization of variable names 2019-06-27 20:39:51 +02:00
volker.raschek 6469c0dd6c fix(cmd/humidity): enabled humidity read command - use measured value interface instead humidity struct 2019-06-27 20:39:51 +02:00
volker.raschek 4680841684 fix(pkg/logfile): compression for measured values 2019-06-27 20:39:51 +02:00
volker.raschek 4d7408ac81 fix(pkg/internal): rm collect humidities 2019-06-27 18:43:59 +02:00
volker.raschek 4975ce21fa fix(pkg/config): get temperature or humidity sensors 2019-06-27 18:43:16 +02:00
volker.raschek 8005248262 fix(pkg/sensors): Use channel of data type []measuredValues instead of measuredValues 2019-06-27 09:31:40 +02:00
volker.raschek 1d8c86df67 fix(pkg/sensor): read values 2019-06-27 09:17:34 +02:00
volker.raschek 3dae3e38be fix(pkg/logfile): use one instead of several logfiles for all measured values 2019-06-26 23:37:17 +02:00
volker.raschek 072a902376 fix(pkg/logfile): read and write logfiles from json with measured value interface 2019-06-26 23:37:17 +02:00
volker.raschek 003fe8ab9e fix(cmd/temperature/read): use measured values instaed own type 2019-06-26 23:36:40 +02:00
volker.raschek 08c2cbbf57 fix(pkg/daemon): use measuredValue interface instead of different structs 2019-06-25 22:22:34 +02:00
volker.raschek 30603e348c fix(cmd/temperature/read): turn on rgbleds while execute subcommand 2019-06-24 23:08:23 +02:00
volker.raschek 5f53207f0a test(pkg/logfile): compress temperature logfile 2019-06-24 22:59:22 +02:00
volker.raschek c8a1dd2935 fix(pkg/rgbled): use action maps to turn on/off led colors 2019-06-24 22:58:29 +02:00
volker.raschek 02fa0cc931 test(pkg/logger): logger test 2019-06-24 20:12:28 +02:00
volker.raschek 16705d1164 feat(cli/humidity): add new subcommand to read humidity values 2019-06-23 21:33:45 +02:00
volker.raschek 45e6c30220 fix(pkg/daemon): behavior of the rgbled 2019-06-23 21:07:53 +02:00
volker.raschek d42d67c271 test(pkg/logfile): enable cleanup 2019-06-23 14:19:47 +02:00
volker.raschek 5e03d987c5 refac(pkg/sensor): temperature measurement unit 2019-06-23 14:17:57 +02:00
volker.raschek 3bb10a4f78 fix(pkg/sensor): temperature measurement unit 2019-06-23 13:50:57 +02:00
volker.raschek 1e25b55789 test(pkg/logfile/convert): add test for cross converting between logfiles 2019-06-22 15:43:46 +02:00
volker.raschek 6707dabdf1 feat(cmd/temperature/compress): new subcommand to compress logfiles 2019-06-22 14:38:58 +02:00
volker.raschek bbcccd7479 fix(pkg/logfile/csv): read from csv file 2019-06-22 13:13:15 +02:00
volker.raschek 3791723230 fix(pkg/logfile): add compression 2019-06-21 15:43:15 +02:00
volker.raschek f979e88a52 fix(pkg/daemon): turn on red rgb-led if something goes wrong in other cases 2019-06-21 14:37:02 +02:00
volker.raschek afd7accb47 fix(pkg/logfile): description for public functions 2019-06-21 14:31:56 +02:00
volker.raschek 3006e6f0e6 fix(pkg/logfile): define own un/marshal functions for xml 2019-06-21 13:45:59 +02:00
volker.raschek e6e566793a feat(cmd/temperature): new subcommand to convert temperature logfiles 2019-06-21 13:45:58 +02:00
volker.raschek 87475225bc fix(test/logfile): valid temperatures 2019-06-21 13:45:58 +02:00
volker.raschek a3a8cc6e51 fix: gitignore 2019-06-21 13:45:58 +02:00
volker.raschek f6db6f9ce3 feat(pkg/logfile): support csv and xml logfile 2019-06-21 13:45:58 +02:00
volker.raschek 088ed3b5f7 feat(pkg): add logger and round direct over sensor interface 2019-06-18 23:08:04 +02:00
volker.raschek 2941f7a527 fix(pkg/sensor): use context to terminate go routines 2019-06-17 23:41:37 +02:00
volker.raschek 502e3b3b1c fix(README): describe build options for arm and amd architectures 2019-06-16 23:53:33 +02:00
volker.raschek 6fd6eb7f0d fix(pkg/rgbled): description for exported functions 2019-06-16 23:47:41 +02:00
volker.raschek b2bd4f8fe6 fix(Makefile): delete build container and container runtime
changes:
- delete build container after any container step
- define container runtime over variable
2019-06-16 23:39:34 +02:00
volker.raschek 64590c1194 feat(cmd/daemon): new flag to set clean cache interval 2019-06-16 23:15:26 +02:00
volker.raschek 13fcb9776d fix(pkg/daemon): turn on/off info lights 2019-06-16 20:51:28 +02:00
volker.raschek 3436d6c91f fix(pkg/rgb-led): complete rgb-led pkg 2019-06-16 20:11:10 +02:00
volker.raschek 49d66cfcbb feat(cmd/rgb-led): add subcommands to operate with rgb-leds 2019-06-16 13:00:50 +02:00
volker.raschek c81cd2d21c fix(Makefile): use new version of build-image and fix container run steps 2019-06-15 19:12:27 +02:00
volker.raschek 402f5d4ff8 fix(ignore): go-bindata 2019-06-15 19:11:12 +02:00
volker.raschek cdacd1452a test(pkg/logfile): rm generated go-bindata 2019-06-15 19:10:31 +02:00
volker.raschek 648388e1e8 refact(pkg): adapt go dependancies 2019-06-15 17:07:50 +02:00
volker.raschek 3d07cbc9ba feat(daemon): new flag to set compression 2019-06-15 16:42:54 +02:00
volker.raschek 17e5cef737 fix(systemd): removed systemd units 2019-06-15 16:04:54 +02:00
volker.raschek 518855bedf refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +02:00
volker.raschek 05cd62c624 fix(pkg/logfile): description for exported functions 2019-06-15 15:49:21 +02:00
volker.raschek 5f859139a4 feat(daemon): add new subcommand to start a daemon 2019-06-15 15:45:35 +02:00
volker.raschek 82faa1d536 fix(cmd): configPath variable 2019-06-15 14:26:09 +02:00
volker.raschek 258ac998be fix(cmd/temperature): list temperatures 2019-06-15 14:03:17 +02:00
volker.raschek 2843d96756 fix(pkg/config): converter for humidity and temperature sensors 2019-06-15 14:03:11 +02:00
volker.raschek 662e1dcfa9 fix(pkg/config): select temperature and humidity sensors by name, uuid or wire-id 2019-06-15 13:02:52 +02:00
volker.raschek 314f5a41e5 fix(pkg/logfile): description for exported functions 2019-06-15 12:12:57 +02:00
volker.raschek fbb062d091 fix(pkg/logfile): set creation date only if nil 2019-06-15 12:04:14 +02:00
volker.raschek 7a3b3c6218 fix(pkg/config): option to select all, enable or disable temperature sensors 2019-06-15 11:49:46 +02:00
volker.raschek 525a250f3c fix(Makefile): use remote environment variable 2019-06-15 11:46:37 +02:00
volker.raschek 8aa6db6b7d fix(pkg/logfile): add temperature json testfiles 2019-06-14 21:35:13 +02:00
volker.raschek 510819654a feat(pkg/logfile): add compression 2019-06-14 21:17:06 +02:00
volker.raschek 5666830030 fix(logfile): Add pkg to operate with logfiles 2019-06-13 23:23:27 +02:00
volker.raschek a8aa7a14c5 fix(types): humidity and temperature with from and till date 2019-06-13 22:22:12 +02:00
volker.raschek 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
volker.raschek 98e5f3a536 fix: Makefile and json log 2019-06-11 22:03:15 +02:00
volker.raschek c5233d578a fix: rename packages 2019-05-12 11:57:53 +02:00
volker.raschek d3c4ca2c72 fix: readme 2019-04-19 08:37:35 +02:00
volker.raschek 5c80c014bf fix: renamed project 2019-04-18 16:59:55 +02:00
volker.raschek 807a5b80ff fix: cli, print temperatures 2019-03-06 20:17:28 +01:00
volker.raschek 3d54401011 feat: list configured loggers 2019-03-04 21:19:33 +01:00
volker.raschek 88f6116a41 feat: add and remove logger 2019-03-04 20:52:41 +01:00
volker.raschek d988735817 fix: humidity file logger 2019-03-04 18:25:19 +01:00
volker.raschek f01b943024 add: internal pkgs 2019-03-04 17:50:41 +01:00
volker.raschek d78b32e14d feat: temperature print log values 2019-03-04 17:50:23 +01:00
volker.raschek 64368ff69d fix: sensor named function 2019-03-04 17:48:02 +01:00
volker.raschek 453bf8e440 fix: file logger 2019-03-04 17:48:01 +01:00
volker.raschek a243021c70 fix: moved print functions into cli pkg 2019-03-04 17:48:01 +01:00
volker.raschek 4bae510120 feat: implementation of dht22 sensor 2019-03-04 11:05:02 +01:00
volker.raschek 4bb8df5621 fix: temperature cli description 2019-03-04 10:57:46 +01:00
volker.raschek 3ca32ff53c fix: Makefile 2019-03-04 10:55:27 +01:00
volker.raschek 0419d06504 fix: add sensor example 2019-03-04 10:55:11 +01:00
volker.raschek 80dd02f9d5 fix: dht11 sensor implementation 2019-03-04 10:50:20 +01:00
volker.raschek fd638452ac feat: file logger 2019-03-04 10:50:20 +01:00
volker.raschek 94dcfee1ec feat: implementation of dht11 sensor 2019-03-04 10:50:20 +01:00
volker.raschek 48b18b61ec fix: create config folder if not exists 2019-03-04 10:50:03 +01:00
volker.raschek 82e82952ed feat: select optional sensors to read humidity or temperature 2019-03-04 10:49:41 +01:00
volker.raschek 91d20b6e95 fix: replaced vendor folder with go mod 2019-02-28 22:34:47 +01:00
volker.raschek 4b9c1fc3dd feat: rename remote name 2019-02-28 20:13:11 +01:00
volker.raschek 450dfc9052 feat: rename sensor name 2019-02-28 20:05:23 +01:00
volker.raschek 14ce354b32 fix: sensor typ to static sensor model 2019-02-28 19:48:48 +01:00
volker.raschek 1a3a31c5f2 refactor: temperature 2019-02-28 17:36:20 +01:00
volker.raschek d6f41b8105 refactor: config and remote pkg 2019-02-22 13:09:05 +01:00
volker.raschek c437127531 fix: configuration pkg 2019-02-17 18:38:40 +01:00
volker.raschek 60fa83244e fix: update dependancies 2018-12-07 23:04:56 +01:00
volker.raschek 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
volker.raschek 81600154f0 add: humidity (WIP) 2018-12-07 20:42:30 +01:00