From 82cb8d56cb1432f56db2c281171401ced7a72f0a Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 10 Apr 2018 21:56:51 +0200 Subject: [PATCH] contact frontdoor --- dist/main.js | 4 ++++ src/main.ts | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/dist/main.js b/dist/main.js index 618887e..7a15923 100644 --- a/dist/main.js +++ b/dist/main.js @@ -258,6 +258,10 @@ let thermostatKitchenCron = new Cron_1.Cron('thermostatKitchenCron', thermostatK ]); thermostatKitchenCron.start(); // ---------------------------------------------------------------------------------------------------------- +let windowContactFrontdoor = new MaxWindowContact_1.MaxWindowContact('Gnd', 'Hallway', 'FrontdoorContact', 'Haustür', 23); +windowContactFrontdoor.start(); +allLabeledItems.push(windowContactFrontdoor); +// ---------------------------------------------------------------------------------------------------------- let relayBox = new RelayBox_1.RelayBoxThing('base', 'labor', 'relaybox', 'IoT/Command/RelayBox', 'IoT/Status/RelayBox', [ "Küche", "Herd", "Waschküche" ]); diff --git a/src/main.ts b/src/main.ts index 2263ef0..082ba02 100644 --- a/src/main.ts +++ b/src/main.ts @@ -330,6 +330,13 @@ let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen, ]) thermostatKitchenCron.start() +// ---------------------------------------------------------------------------------------------------------- +let windowContactFrontdoor = new MaxWindowContact('Gnd', 'Hallway', 'FrontdoorContact', 'Haustür', 23) +windowContactFrontdoor.start() +allLabeledItems.push(windowContactFrontdoor) + + + // ---------------------------------------------------------------------------------------------------------- let relayBox = new RelayBoxThing('base', 'labor', 'relaybox', 'IoT/Command/RelayBox', 'IoT/Status/RelayBox', [ "Küche", "Herd", "Waschküche"