Commit Graph

40 Commits

Author SHA1 Message Date
a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +02:00
10069568f9
fix: renamed storage endpoint into dsn
Changes:
- Renamed storage endpoint into dsn (data source name).
- Add additional dsn fallback property. This dsn will be used in futes
  to store informations, if the main dsn backend does not work
  correctly. For example, if no connection can be established over the
  network to a database.
2020-06-01 12:41:48 +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
002f3e9e25
fix(cmd/sensor): set tick duration for new sensors 2020-01-11 13:18:38 +01: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
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
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
93c08d8147
fix(pkg/config): add functions to get pressure sensors 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
45763d7c9d
fix(pkg/daemon): use all enables sensors instead of only temperature sensors 2019-06-27 20:39:51 +02:00
4975ce21fa
fix(pkg/config): get temperature or humidity sensors 2019-06-27 18:43:16 +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
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
518855bedf
refact(pkg): adapt go dependancies 2019-06-15 15:58:41 +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
7a3b3c6218
fix(pkg/config): option to select all, enable or disable temperature sensors 2019-06-15 11:49:46 +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
a243021c70
fix: moved print functions into cli pkg 2019-03-04 17:48:01 +01:00
fd638452ac
feat: file logger 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
3532c771ec
fix: config, device_name and device_location 2018-11-28 12:54:14 +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