Thermostat Bedroom

This commit is contained in:
Wolfgang Hottgenroth
2018-02-25 22:32:50 +01:00
parent 7ead49a67a
commit bd0996b03b
4 changed files with 74 additions and 18 deletions

21
dist/main.js vendored
View File

@ -38,6 +38,9 @@ aquariumLightCron.start();
let annaBedLight = new M433SwitchItem_1.M433SwitchItem('1st', 'Anna', 'BedLight', 'Bettlicht Anna', '14668116 24 1', '14668113 24 1');
annaBedLight.start();
allLabeledItems.push(annaBedLight);
let windowContactAnna1st = new MaxWindowContact_1.MaxWindowContact('1st', 'Anna', 'WindowContact', 'Fenster Anna', 20);
windowContactAnna1st.start();
allLabeledItems.push(windowContactAnna1st);
// Matthias -------------------------------------------------------------------------------------------------
// Matthias Stehlampen 7 24 1 6 24 1
let matthiasStandLights = new M433SwitchItem_1.M433SwitchItem('1st', 'Matthias', 'StandLight', 'Stehlampen Matthias', '7 24 1', '6 24 1');
@ -140,11 +143,11 @@ let thermostatBedroom1st = new MaxThermostat_1.MaxThermostat('1st', 'Bedroom', '
thermostatBedroom1st.start();
allLabeledItems.push(thermostatBedroom1st);
let thermostatBedroom1stCron = new Cron_1.Cron('thermostatBedroom1stCron', thermostatBedroom1st, [
{ cronTime: '00 00 06 * * mon-fri', output: '21.0' },
{ cronTime: '00 00 09 * * mon-fri', output: '5.0' },
{ cronTime: '00 00 08 * * sat-sun', output: '21.0' },
{ cronTime: '00 00 11 * * sat-sun', output: '5.0' },
{ cronTime: '00 00 17 * * *', output: '21.0' },
{ cronTime: '00 01 06 * * mon-fri', output: '21.0' },
{ cronTime: '00 01 09 * * mon-fri', output: '5.0' },
{ cronTime: '00 01 08 * * sat-sun', output: '21.0' },
{ cronTime: '00 01 11 * * sat-sun', output: '5.0' },
{ cronTime: '00 00 17 * * *', output: '23.0' },
{ cronTime: '00 59 23 * * *', output: '5.0' }
]);
thermostatBedroom1stCron.start();
@ -185,10 +188,10 @@ let thermostatBathroomGnd = new MaxThermostat_1.MaxThermostat('Gnd', 'Bathroom',
thermostatBathroomGnd.start();
allLabeledItems.push(thermostatBathroomGnd);
let thermostatBathroomGndCron = new Cron_1.Cron('thermostatBathroomGndCron', thermostatBathroomGnd, [
{ cronTime: '00 00 06 * * mon-fri', output: '21.0' },
{ cronTime: '00 00 08 * * sat-sun', output: '21.0' },
{ cronTime: '00 00 11 * * *', output: '5.0' },
{ cronTime: '00 00 19 * * *', output: '21.0' },
{ cronTime: '00 02 06 * * mon-fri', output: '21.0' },
{ cronTime: '00 02 08 * * sat-sun', output: '21.0' },
{ cronTime: '00 02 11 * * *', output: '5.0' },
{ cronTime: '00 02 19 * * *', output: '21.0' },
{ cronTime: '00 00 23 * * *', output: '5.0' }
]);
thermostatBathroomGndCron.start();