contact frontdoor

This commit is contained in:
2018-04-10 21:56:51 +02:00
parent f0d32b5a2b
commit 82cb8d56cb
2 changed files with 11 additions and 0 deletions

4
dist/main.js vendored
View File

@ -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"
]);

View File

@ -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"