This commit is contained in:
Wolfgang Hottgenroth
2018-01-23 20:30:04 +01:00
parent 988840a947
commit 4aa7335e54
3 changed files with 21 additions and 20 deletions

View File

@ -32,8 +32,8 @@ aquariumLight.start()
allLabeledItems.push(aquariumLight)
let aquariumLightCron = new Cron('aquariumLightCron', aquariumLight, [
{cronTime: '00 00 07 * * 1-5', output: 'ON'},
{cronTime: '00 00 09 * * 6-7', output: 'ON'},
{cronTime: '00 00 07 * * mon-fri', output: 'ON'},
{cronTime: '00 00 09 * * sat-sun', output: 'ON'},
{cronTime: '00 00 13 * * *', output: 'OFF'},
{cronTime: '00 00 14 * * *', output: 'ON'},
{cronTime: '00 00 22 * * *', output: 'OFF'}
@ -204,8 +204,8 @@ thermostatBathroomGnd.start()
allLabeledItems.push(thermostatBathroomGnd)
let thermostatBathroomGndCron = new Cron('thermostatBathroomGndCron', thermostatBathroomGnd, [
{cronTime: '00 00 06 * * 1-5', output: '21.0'},
{cronTime: '00 00 08 * * 6-7', output: '21.0'},
{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 00 23 * * *', output: '5.0'}
@ -222,8 +222,8 @@ thermostatBathroom1st.start()
allLabeledItems.push(thermostatBathroom1st)
let thermostatBathroom1stCron = new Cron('thermostatBathroom1stCron', thermostatBathroom1st, [
{cronTime: '00 00 06 * * 1-5', output: '21.0'},
{cronTime: '00 00 08 * * 6-7', output: '21.0'},
{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 00 23 * * *', output: '5.0'}
@ -251,10 +251,10 @@ thermostatKitchen.start()
allLabeledItems.push(thermostatKitchen)
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 06 * * mon-fri', output: '20.0'},
{cronTime: '00 00 08 * * sat-sun', output: '20.0'},
{cronTime: '00 00 10 * * mon-wed', output: '5.0'},
{cronTime: '00 30 13 * * mon-wed', output: '20.0'},
{cronTime: '00 00 23 * * *', output: '5.0'}
])
thermostatKitchenCron.start()