Thermostat Bedroom
This commit is contained in:
23
src/main.ts
23
src/main.ts
@ -48,6 +48,11 @@ let annaBedLight = new M433SwitchItem('1st', 'Anna', 'BedLight', 'Bettlicht Anna
|
||||
annaBedLight.start()
|
||||
allLabeledItems.push(annaBedLight)
|
||||
|
||||
|
||||
let windowContactAnna1st = new 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('1st', 'Matthias', 'StandLight', 'Stehlampen Matthias', '7 24 1', '6 24 1')
|
||||
@ -181,11 +186,11 @@ thermostatBedroom1st.start()
|
||||
allLabeledItems.push(thermostatBedroom1st)
|
||||
|
||||
let thermostatBedroom1stCron = new 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()
|
||||
@ -243,10 +248,10 @@ thermostatBathroomGnd.start()
|
||||
allLabeledItems.push(thermostatBathroomGnd)
|
||||
|
||||
let thermostatBathroomGndCron = new 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()
|
||||
|
Reference in New Issue
Block a user