Commit Graph

27 Commits

Author SHA1 Message Date
Markus Pesch
d0cfdd7102
fix: exclude dockerutils and testutils package 2020-11-07 23:03:11 +01:00
Markus Pesch
592e9b7f5c
fix: upgrade dependencies 2020-11-06 23:08:54 +01:00
Markus Pesch
0fc4aa7c28
fix: postgres columns with timezone
Add timezone for the columns creation_date and update_date, otherwise
it's difficult to compare the times correctly in the unit test.

Furthermore the default value of the creation_date will now be defined
by the postgres implementation of the database interface.
2020-10-07 23:38:27 +02:00
9ee9742aff
fix: use own dht pkg 2020-06-21 18:42:33 +02:00
a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +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
8f1c7b10f7
fix: implement repository pkg 2020-05-21 17:40:24 +02:00
fb916c94ae
fix: add, rename and remove sensor
changes:
- Implement function to add, rename and remove sensors
2020-05-17 13:00:51 +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
8cc232adc1
fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +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
6223f4e79b
fix(pkg/db): create or upgrade postgres schema based on semver 2019-12-08 12:49:14 +01:00
60ee044b88
feat(pkg/db): postgres database 2019-08-25 13:16:21 +02:00
289aaf2093
feat(pkg/sensor): new support for sensor bme280 2019-07-02 22:47:28 +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
49d66cfcbb
feat(cmd/rgb-led): add subcommands to operate with rgb-leds 2019-06-16 13:00:50 +02:00
648388e1e8
refact(pkg): adapt go dependancies 2019-06-15 17:07:50 +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
5c80c014bf
fix: renamed project 2019-04-18 16:59:55 +02:00
94dcfee1ec
feat: implementation of dht11 sensor 2019-03-04 10:50:20 +01:00
91d20b6e95
fix: replaced vendor folder with go mod 2019-02-28 22:34:47 +01:00