change kitchen heating

This commit is contained in:
Wolfgang Hottgenroth
2018-01-25 16:00:43 +01:00
parent 1113924c57
commit 32a57408d9
4 changed files with 13 additions and 13 deletions

2
dist/Export.js vendored
View File

@ -84,7 +84,7 @@ function ContactHomekitExport(id, label, status) {
"statusContactSensorState": status "statusContactSensorState": status
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}; };
return { 'id': id, 'object': o }; return { 'id': id, 'object': o };

6
dist/main.js vendored
View File

@ -194,10 +194,10 @@ let thermostatKitchen = new MaxThermostat_1.MaxThermostat('Gnd', 'Kitchen', 'The
thermostatKitchen.start(); thermostatKitchen.start();
allLabeledItems.push(thermostatKitchen); allLabeledItems.push(thermostatKitchen);
let thermostatKitchenCron = new Cron_1.Cron('thermostatKitchenCron', thermostatKitchen, [ let thermostatKitchenCron = new Cron_1.Cron('thermostatKitchenCron', thermostatKitchen, [
{ cronTime: '00 00 06 * * mon-fri', output: '20.0' }, { cronTime: '00 00 06 * * mon-fri', output: '19.0' },
{ cronTime: '00 00 08 * * sat-sun', output: '20.0' }, { cronTime: '00 00 08 * * sat-sun', output: '19.0' },
{ cronTime: '00 00 10 * * mon-wed', output: '5.0' }, { cronTime: '00 00 10 * * mon-wed', output: '5.0' },
{ cronTime: '00 30 13 * * mon-wed', output: '20.0' }, { cronTime: '00 30 13 * * mon-wed', output: '19.0' },
{ cronTime: '00 00 23 * * *', output: '5.0' } { cronTime: '00 00 23 * * *', output: '5.0' }
]); ]);
thermostatKitchenCron.start(); thermostatKitchenCron.start();

View File

@ -412,7 +412,7 @@
"statusContactSensorState": "dispatcher_ng/items/Gnd/Bathroom/WindowContact/state/feedback" "statusContactSensorState": "dispatcher_ng/items/Gnd/Bathroom/WindowContact/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"Gnd_Bathroom_Thermostat": { "Gnd_Bathroom_Thermostat": {
@ -434,7 +434,7 @@
"statusContactSensorState": "dispatcher_ng/items/1st/Bathroom/WindowContact/state/feedback" "statusContactSensorState": "dispatcher_ng/items/1st/Bathroom/WindowContact/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"1st_Bathroom_Thermostat": { "1st_Bathroom_Thermostat": {
@ -456,7 +456,7 @@
"statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact1/state/feedback" "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact1/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"Gnd_Kitchen_WindowContact2": { "Gnd_Kitchen_WindowContact2": {
@ -467,7 +467,7 @@
"statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact2/state/feedback" "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact2/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"Gnd_Kitchen_WindowContact3": { "Gnd_Kitchen_WindowContact3": {
@ -478,7 +478,7 @@
"statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact3/state/feedback" "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact3/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"Gnd_Kitchen_WindowContact4": { "Gnd_Kitchen_WindowContact4": {
@ -489,7 +489,7 @@
"statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact4/state/feedback" "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact4/state/feedback"
}, },
"payload": { "payload": {
"conContactDetected": "CLOSED" "onContactDetected": "CLOSED"
} }
}, },
"Gnd_Kitchen_Thermostat": { "Gnd_Kitchen_Thermostat": {

View File

@ -251,10 +251,10 @@ thermostatKitchen.start()
allLabeledItems.push(thermostatKitchen) allLabeledItems.push(thermostatKitchen)
let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen, [ let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen, [
{cronTime: '00 00 06 * * mon-fri', output: '20.0'}, {cronTime: '00 00 06 * * mon-fri', output: '19.0'},
{cronTime: '00 00 08 * * sat-sun', output: '20.0'}, {cronTime: '00 00 08 * * sat-sun', output: '19.0'},
{cronTime: '00 00 10 * * mon-wed', output: '5.0'}, {cronTime: '00 00 10 * * mon-wed', output: '5.0'},
{cronTime: '00 30 13 * * mon-wed', output: '20.0'}, {cronTime: '00 30 13 * * mon-wed', output: '19.0'},
{cronTime: '00 00 23 * * *', output: '5.0'} {cronTime: '00 00 23 * * *', output: '5.0'}
]) ])
thermostatKitchenCron.start() thermostatKitchenCron.start()