Commit graph

35 commits

Author SHA1 Message Date
Joel Schmid
1512c29881 possibility for weather-query of multiple sensors + fix wrong flux-query 2021-11-26 18:03:51 +01:00
Joel Schmid
261cfb96c4 weatherSourceBase as composition to mqtt-source and rest-api 2021-11-26 13:46:57 +01:00
Joel Schmid
f623f76c1a improved sensor-handling 2021-11-26 13:11:11 +01:00
Joel Schmid
a230cfd30e set current timestamp if add weatherdata-request is without timestamp 2021-11-26 11:51:22 +01:00
Joel Schmid
7543dae153 add userId to sensor 2021-08-22 17:09:41 +02:00
Joel Schmid
b8e8ce035c query max amount of datapoints 2021-05-07 22:25:44 +02:00
Joel Schmid
2466111488 fix time format (iso) for json serialization 2021-05-03 20:44:26 +02:00
Joel Schmid
059340a058 optimized influx query builder and execution 2021-04-29 18:08:38 +02:00
Joel Schmid
169fd062ba fix mongodb no available sensors 2021-04-27 21:12:20 +02:00
Joel Schmid
5d60e0f53e fix random weather 2021-04-27 20:16:57 +02:00
Joel Schmid
87583d136c improvements rest api & mongodb 2021-04-26 20:14:33 +02:00
Joel Schmid
de11211de1 optimized mongodb 2021-04-25 00:31:27 +02:00
Joel Schmid
442f205a2b update & delete sensor inmemory 2021-04-24 23:59:10 +02:00
Joel Schmid
6391b39c8e improved rest api - CRUD weather sensor + db 2021-04-24 23:38:58 +02:00
Joel Schmid
e483794ce1 query unknown fieldtypes in db 2021-04-09 23:29:02 +02:00
Joel Schmid
5aed4560e9 refactoring 2021-04-05 11:39:55 +02:00
Joel Schmid
3983a91475 rest api uses map[string]interface for adding weather data 2021-04-05 10:14:29 +02:00
Joel Schmid
641c05afc6 refactoring & generic weatherdata 2021-04-03 23:32:37 +02:00
Joel Schmid
ff28e70c31 add more logging 2021-04-02 22:46:24 +02:00
Joel Schmid
26204b4ed7 improved logs & errorhandling 2021-04-02 20:18:49 +02:00
Joel Schmid
69f8c4e9dc refactoring of config 2021-04-02 20:00:47 +02:00
Joel Schmid
5bb48d6ddc add mongodb authentication 2021-04-02 12:41:22 +02:00
Joel Schmid
73a57482c8 mongodb support for sensor registry 2021-04-01 23:48:54 +02:00
Joel Schmid
f4b5e519fa fix typo 2021-04-01 22:31:48 +02:00
Joel Schmid
ce22efcb96 create flux query 2021-03-20 21:31:20 +01:00
Joel Schmid
3d261df142 fix flux query 2021-03-20 21:24:55 +01:00
Joel Schmid
877a46b9bf query data over rest api 2021-03-20 21:10:58 +01:00
Joel Schmid
395e4530af resolve sensor 2021-03-20 16:23:17 +01:00
Joel Schmid
4b6d8e6c6b remove errors dependency 2021-03-20 16:14:10 +01:00
Joel Schmid
9cc656e937 add sensor registration (inmemory) 2021-03-20 15:18:12 +01:00
Joel Schmid
6eb9898778 support for multiple weathersensors 2021-03-20 11:20:27 +01:00
Joel Schmid
69369c210b add co2level support 2021-03-18 17:57:08 +01:00
Joel Schmid
ea41163296 query weatherdata in influx 2021-03-16 20:43:15 +01:00
Joel Schmid
0540519d68 fix typo 2021-03-09 18:41:52 +01:00
Joel Schmid
dcefbdecad initial weather-api 2021-03-05 23:20:47 +01:00