summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-02-19 14:35:53 +0100
committermakefu <github@syntax-fehler.de>2020-02-19 14:35:53 +0100
commitd9e111716af4556cd5a29704080ba1e46c23ae02 (patch)
treedbbc74cd556a11ed2b20466b13ea3629e9fb8c7c /krebs/2configs/shack
parent2f49fff2883c3c34eca2ecebadee67e4d451f87e (diff)
shack/glados: enable sensemap, mpd for kiosk
Diffstat (limited to 'krebs/2configs/shack')
-rw-r--r--krebs/2configs/shack/glados/default.nix5
-rw-r--r--krebs/2configs/shack/glados/sensors/sensemap.nix6
2 files changed, 11 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/default.nix b/krebs/2configs/shack/glados/default.nix
index ef22ccb0d..06350db2a 100644
--- a/krebs/2configs/shack/glados/default.nix
+++ b/krebs/2configs/shack/glados/default.nix
@@ -96,6 +96,10 @@ in {
name = "lounge";
host = "lounge.mpd.shack";
}
+ { platform = "mpd";
+ name = "kiosk";
+ host = "lounge.kiosk.shack";
+ }
];
sensor =
@@ -103,6 +107,7 @@ in {
++ (import ./sensors/power.nix)
++ shackopen.sensor
++ badair.sensor;
+ airquality = (import ./sensors/sensemap.nix );
binary_sensor = shackopen.binary_sensor;
diff --git a/krebs/2configs/shack/glados/sensors/sensemap.nix b/krebs/2configs/shack/glados/sensors/sensemap.nix
new file mode 100644
index 000000000..dff29c3c4
--- /dev/null
+++ b/krebs/2configs/shack/glados/sensors/sensemap.nix
@@ -0,0 +1,6 @@
+[
+ {
+ platform = "opensensemap";
+ station_id = "56a0de932cb6e1e41040a68b";
+ }
+]