diff options
author | makefu <github@syntax-fehler.de> | 2020-02-20 14:00:17 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-02-20 14:00:17 +0100 |
commit | 64c224a711a1147b1be562ddd5ce1778ff5a6b1c (patch) | |
tree | b139a475f04278bc5438bddd05baae707d90e891 /krebs/2configs/shack/glados/sensors/spaceapi.nix | |
parent | a62f71b00bdb4028595d7edae0e2a25942ad1e56 (diff) |
shack/glados: add darksky,mate,spaceap,rollos
Diffstat (limited to 'krebs/2configs/shack/glados/sensors/spaceapi.nix')
-rw-r--r-- | krebs/2configs/shack/glados/sensors/spaceapi.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/sensors/spaceapi.nix b/krebs/2configs/shack/glados/sensors/spaceapi.nix new file mode 100644 index 000000000..11cab11c9 --- /dev/null +++ b/krebs/2configs/shack/glados/sensors/spaceapi.nix @@ -0,0 +1,52 @@ +[ + { + platform = "rest"; + resource = "https://spaceapi.afra-berlin.de/v1/status.json"; + method = "GET"; + name = "Door AFRA Berlin"; + device_class = "door"; + value_template = "{{ value_json.open }}"; + } + { + platform = "rest"; + resource = "http://club.entropia.de/spaceapi"; + method = "GET"; + name = "Door Entropia"; + device_class = "door"; + value_template = "{{ value_json.open }}"; + } + { + platform = "rest"; + resource = "http://www.c-base.org/status.json"; + method = "GET"; + name = "Door C-Base Berlin"; + device_class = "door"; + value_template = "{{ value_json.open }}"; + } + { + platform = "rest"; + resource = "https://status.raumzeitlabor.de/api/full.json"; + method = "GET"; + name = "Door RZL"; + device_class = "door"; + value_template = "{{ value_json.status }}"; + } + { + platform = "rest"; + resource = "https://datenobservatorium.de/"; + method = "GET"; + name = "Door Datenobservatorium"; + device_class = "door"; + value_template = "false"; + scan_interval = 2592000; + } + { + platform = "rest"; + resource = "https://infuanfu.de/"; + method = "GET"; + name = "Door Infuanfu"; + device_class = "door"; + value_template = "false"; + scan_interval = 2592000; + } +] |