12 063
правки
(Новая страница: «// sales area illumination defineRule("lightingFrontshopOnOff", { when: function() { return dev._schedules.frontshop_lighting || true; }, the…») |
(Новая страница: «// backstoreroom ventilation defineRule("ventBackstoreOnOff", { when: function() { return dev._schedules.ext_working_hours_15m || true; }, th…») |
||
Строка 943: | Строка 943: | ||
// | // backstoreroom ventilation | ||
defineRule("ventBackstoreOnOff", { | defineRule("ventBackstoreOnOff", { | ||
when: function() { | when: function() { | ||
Строка 951: | Строка 951: | ||
log("ventBackstoreOnOff newValue={}, devName={}, cellName={}", newValue, devName, cellName); | log("ventBackstoreOnOff newValue={}, devName={}, cellName={}", newValue, devName, cellName); | ||
var on = dev._schedules.ext_working_hours_15m; | var on = dev._schedules.ext_working_hours_15m; | ||
dev["wb-mr6c_81/K1"] = ! on; // | dev["wb-mr6c_81/K1"] = ! on; //inverted contactor | ||
dev["wb-mr6c_81/K5"] = ! on; // | dev["wb-mr6c_81/K5"] = ! on; //inverted contactor | ||
} | } | ||
}); | }); |
правки