Commit graph

38 commits

Author SHA1 Message Date
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
7fb0ebff20 optimize Dockerfile using scratch image 2021-04-03 13:29:39 +02:00
Joel Schmid
346ad3b990 update readme 2021-04-03 12:21:08 +02:00
Joel Schmid
987dcf1664 Update Readme 2021-04-03 00:05:56 +02:00
Joel Schmid
db762bb95e
Merge pull request #1 from swablab/add-license-1
Create LICENSE
2021-04-02 23:39:32 +02:00
Joel Schmid
847fe89832
Create LICENSE 2021-04-02 23:38:51 +02:00
Joel Schmid
ff28e70c31 add more logging 2021-04-02 22:46:24 +02:00
Joel Schmid
791518f3be possible ignore case for rest-routes 2021-04-02 21:01:22 +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
c1412dffb2 mqtt authentication 2021-03-31 20:57:30 +02:00
Joel Schmid
a53d1eabe5 optimize regex 2021-03-20 22:32:17 +01: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
4f501344d5 new internal publish strategy for mqtt 2021-03-20 18:01:11 +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
15db885db8 check allow unregistered sensors in handleNewData 2021-03-20 16:11:30 +01:00
Joel Schmid
c0d315a409 allow unregistered sensors in config 2021-03-20 15:31:23 +01:00
Joel Schmid
9cc656e937 add sensor registration (inmemory) 2021-03-20 15:18:12 +01:00
Joel Schmid
356e502ed8 simplified mqtt topic regex 2021-03-20 11:31:19 +01:00
Joel Schmid
6eb9898778 support for multiple weathersensors 2021-03-20 11:20:27 +01:00
Joel Schmid
df322b5291 close weather api 2021-03-19 23:48:26 +01:00
Joel Schmid
145da94899 add weather sensor registration 2021-03-19 23:39:27 +01:00
Joel Schmid
69369c210b add co2level support 2021-03-18 17:57:08 +01:00
Joel Schmid
1436c9df32 add environment variable configuration 2021-03-17 20:43:20 +01:00
Joel Schmid
c4c38f0dc9 add docker support 2021-03-17 19:14:27 +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
3f9734598b only allow POST-method for addDataHandler 2021-03-05 23:40:20 +01:00
Joel Schmid
dcefbdecad initial weather-api 2021-03-05 23:20:47 +01:00
Joel Schmid
87891b840f
Initial commit 2021-03-05 23:17:34 +01:00