diff --git a/dist/Export.js b/dist/Export.js index 89f4397..3927a9c 100644 --- a/dist/Export.js +++ b/dist/Export.js @@ -84,7 +84,7 @@ function ContactHomekitExport(id, label, status) { "statusContactSensorState": status }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }; return { 'id': id, 'object': o }; diff --git a/dist/main.js b/dist/main.js index 9082ca6..dcffb8a 100644 --- a/dist/main.js +++ b/dist/main.js @@ -194,10 +194,10 @@ let thermostatKitchen = new MaxThermostat_1.MaxThermostat('Gnd', 'Kitchen', 'The thermostatKitchen.start(); allLabeledItems.push(thermostatKitchen); let thermostatKitchenCron = new Cron_1.Cron('thermostatKitchenCron', thermostatKitchen, [ - { cronTime: '00 00 06 * * mon-fri', output: '20.0' }, - { cronTime: '00 00 08 * * sat-sun', output: '20.0' }, + { cronTime: '00 00 06 * * mon-fri', output: '19.0' }, + { cronTime: '00 00 08 * * sat-sun', output: '19.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' } ]); thermostatKitchenCron.start(); diff --git a/homekit.json b/homekit.json index db5e30c..ce56515 100644 --- a/homekit.json +++ b/homekit.json @@ -412,7 +412,7 @@ "statusContactSensorState": "dispatcher_ng/items/Gnd/Bathroom/WindowContact/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "Gnd_Bathroom_Thermostat": { @@ -434,7 +434,7 @@ "statusContactSensorState": "dispatcher_ng/items/1st/Bathroom/WindowContact/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "1st_Bathroom_Thermostat": { @@ -456,7 +456,7 @@ "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact1/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "Gnd_Kitchen_WindowContact2": { @@ -467,7 +467,7 @@ "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact2/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "Gnd_Kitchen_WindowContact3": { @@ -478,7 +478,7 @@ "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact3/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "Gnd_Kitchen_WindowContact4": { @@ -489,7 +489,7 @@ "statusContactSensorState": "dispatcher_ng/items/Gnd/Kitchen/WindowContact4/state/feedback" }, "payload": { - "conContactDetected": "CLOSED" + "onContactDetected": "CLOSED" } }, "Gnd_Kitchen_Thermostat": { diff --git a/src/main.ts b/src/main.ts index b8a8527..d777f79 100644 --- a/src/main.ts +++ b/src/main.ts @@ -251,10 +251,10 @@ thermostatKitchen.start() allLabeledItems.push(thermostatKitchen) let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen, [ - {cronTime: '00 00 06 * * mon-fri', output: '20.0'}, - {cronTime: '00 00 08 * * sat-sun', output: '20.0'}, + {cronTime: '00 00 06 * * mon-fri', output: '19.0'}, + {cronTime: '00 00 08 * * sat-sun', output: '19.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'} ]) thermostatKitchenCron.start()