Commit Graph

38 Commits

Author SHA1 Message Date
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
4931c63c10
fix: add postgres backend
changes:
- Add postgres backend
- Modified or added table attributes.
  UpdateDate, ForeignKeys, Booleans
- Fix test for sqlite and postgres. Compare json instead the struct.
2020-06-01 22:50: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
b595cf1ac8
fix(pkg/cli): GetSensorIDsByMeasuredValues 2020-01-11 12:10:26 +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
25dd99cd3d
test(pkg/storage): add test for compression and rounding 2019-12-08 12:49:21 +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
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
4680841684
fix(pkg/logfile): compression for measured values 2019-06-27 20:39:51 +02:00
3dae3e38be
fix(pkg/logfile): use one instead of several logfiles for all measured values 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
c8a1dd2935
fix(pkg/rgbled): use action maps to turn on/off led colors 2019-06-24 22:58:29 +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
3006e6f0e6
fix(pkg/logfile): define own un/marshal functions for xml 2019-06-21 13:45:59 +02:00
f6db6f9ce3
feat(pkg/logfile): support csv and xml logfile 2019-06-21 13:45:58 +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
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
64368ff69d
fix: sensor named function 2019-03-04 17:48:02 +01:00
94dcfee1ec
feat: implementation of dht11 sensor 2019-03-04 10:50:20 +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
c437127531
fix: configuration pkg 2019-02-17 18:38:40 +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
dd7ea3156e
fix: set config, set remote 2018-11-19 22:36:21 +01:00