Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
1d8c86df67
fix(pkg/sensor): read values 2019-06-27 09:17:34 +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
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
518855bedf
refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +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
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
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
617454f66b
WIP 2018-11-28 18:07:20 +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