Fensterkontakte und Thermostat Küche
This commit is contained in:
24
src/main.ts
24
src/main.ts
@ -226,6 +226,30 @@ let thermostatBathroom1stCron = new Cron('thermostatBathroom1stCron', thermostat
|
||||
])
|
||||
thermostatBathroom1stCron.start()
|
||||
|
||||
|
||||
|
||||
let windowContactKitchen1 = new MaxWindowContact('Gnd', 'Kitchen', 'WindowContact1', 'Fenster Küche Garten', 11)
|
||||
windowContactKitchen1.start()
|
||||
let windowContactKitchen2 = new MaxWindowContact('Gnd', 'Kitchen', 'WindowContact2', 'Fenster Küche Terassentür Garten', 10)
|
||||
windowContactKitchen2.start()
|
||||
let windowContactKitchen3 = new MaxWindowContact('Gnd', 'Kitchen', 'WindowContact3', 'Fenster Küche Straße 1', 12)
|
||||
windowContactKitchen3.start()
|
||||
let windowContactKitchen4 = new MaxWindowContact('Gnd', 'Kitchen', 'WindowContact4', 'Fenster Küche Straße 2', 13)
|
||||
windowContactKitchen4.start()
|
||||
|
||||
let thermostatKitchen = new MaxThermostat('Gnd', 'Kitchen', 'Thermostat', 'Thermostat Küche', 14, [
|
||||
windowContactKitchen1, windowContactKitchen2, windowContactKitchen3, windowContactKitchen4])
|
||||
thermostatKitchen.start()
|
||||
|
||||
let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen, [
|
||||
{cronTime: '00 00 06 * * 1-5', output: '21.0'},
|
||||
{cronTime: '00 00 08 * * 6-7', output: '21.0'},
|
||||
{cronTime: '00 00 10 * * 1-3', output: '5.0'},
|
||||
{cronTime: '00 30 13 * * *', output: '21.0'},
|
||||
{cronTime: '00 00 23 * * *', output: '5.0'}
|
||||
])
|
||||
thermostatKitchenCron.start()
|
||||
|
||||
// ----------------------------------------------------------------------------------------------------------
|
||||
let testFourButton = new HomematicFourButtonThing('Gnd', 'Hallway', 'TestButton', 9, [
|
||||
new HomematicFourButtonSingleItem('dispatcher_ng/items/Gnd/Hallway/Testlight/dimmerIn'),
|
||||
|
Reference in New Issue
Block a user