Commit Graph

18 Commits

Author SHA1 Message Date
Markus Pesch 7cbd80c726
fix: remove obsolete attributes from config.json
changes:
- removed unused attributes from config.json
2020-09-07 19:12:30 +02:00
Markus Pesch a49546bd6d
fix: migrate to gitea 2020-06-10 21:13:05 +02:00
Markus Pesch 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
Markus Pesch 8f1c7b10f7
fix: implement repository pkg 2020-05-21 17:40:24 +02:00
Markus Pesch fb916c94ae
fix: add, rename and remove sensor
changes:
- Implement function to add, rename and remove sensors
2020-05-17 13:00:51 +02:00
Markus Pesch 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
Markus Pesch 8cc232adc1
fix:_renamed import path to volker-raschek 2020-01-19 13:30:47 +01:00
Markus Pesch 002f3e9e25
fix(cmd/sensor): set tick duration for new sensors 2020-01-11 13:18:38 +01:00
Markus Pesch b595cf1ac8
fix(pkg/cli): GetSensorIDsByMeasuredValues 2020-01-11 12:10:26 +01:00
Markus Pesch 2cd2188dcb
refac(pkg/types): remove deprecated prefix name of struct attributes 2020-01-10 22:03:49 +01:00
Markus Pesch 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
Markus Pesch 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
Markus Pesch 48b18b61ec
fix: create config folder if not exists 2019-03-04 10:50:03 +01:00
Markus Pesch d6f41b8105
refactor: config and remote pkg 2019-02-22 13:09:05 +01:00
Markus Pesch c437127531
fix: configuration pkg 2019-02-17 18:38:40 +01:00
Markus Pesch 3532c771ec
fix: config, device_name and device_location 2018-11-28 12:54:14 +01:00
Markus Pesch 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
Markus Pesch dd7ea3156e
fix: set config, set remote 2018-11-19 22:36:21 +01:00