История
18 января 2023
6 августа 2020
7 июня 2019
3 июня 2019
Новая страница: «A description of the features of future versions of the rules engine can be found here: * Special:MyLanguage/Движок_правил_wb-rules_2.0|Движок…»
−48
Новая страница: «== under development ==»
−6
Новая страница: «* wb-rules 1.7 rules engine»
−13
Новая страница: «== What's new in the latest versions ==»
−32
Новая страница: «The most complete description of the rules engine: https://github.com/contactless/wb-rules/blob/master/README.md»
−17
Новая страница: «== A full description of the capabilities of the rules engine ==»
−22
Новая страница: «defineRule("acVegOff", { when: function() { return vegetablesTemperature < 17.8 }, then: function (newValue, devName, cellName) { log("acV…»
−10
Новая страница: «defineRule("acVegOn", { when: function() { return vegetablesTemperature >= 18.5 }, then: function (newValue, devName, cellName) { log("acV…»
−13
Новая страница: «// =============== Vegetable zone ============== // Cooling vegetables air-conditioned only when the air temperature is above 18.5 C»
−62
Новая страница: «// after working hours, the air conditioning is off defineRule("countersACOff", { when: function() { return (!dev._schedules.working_hours_15m) || (co…»
−55
Новая страница: «defineRule("countersACOn", { when: function() { return (dev._schedules.working_hours_15m) && (countersTemperature < 17.7); }, then: function (ne…»
−28
Новая страница: «// in the cash area during working hours the temperature is maintained by air conditioning (position controller)»
−73
Нет описания правки
−3
Новая страница: «// supply and exhaust ventilation are forcibly switched off defineRule("ventFrontshopAlwaysOff", { when: cron("@every 1m"), then: function() { de…»
−49
Новая страница: «defineRule("heatersNightOn", { when: function() { return (!dev._schedules.heaters_schedule) && (vegetablesTemperature < 11.3); }, then: function…»
−18
Новая страница: «// position controller works at night defineRule("heatersNightOff", { when: function() { return (!dev._schedules.heaters_schedule) && (vegetablesTempe…»
−53
Новая страница: «defineRule("heatersDayOn", { when: function() { return (dev._schedules.heaters_schedule) && (vegetablesTemperature < 16.7); }, then: function (n…»
−18
Новая страница: «// position controller works daily defineRule("heatersDayOff", { when: function() { return (dev._schedules.heaters_schedule) && (vegetablesTemperature…»
−54
Новая страница: «// ========= Boilers and supply ventilation =========== // feedback by the temperature of the vegetable zone»
−58
Новая страница: «//Display fridges defineRule("powerBrandFridgesOnOff", { when: function() { return dev._schedules.working_hours || true; }, then: function (ne…»
−75
Новая страница: «// the lighting in the freezer showcases via the normally-closed relays (inverted) dev["wb-mrm2-old_60/Relay 1"] = !on; dev["wb-mrm2-old_61/Relay 1"]…»
−39
Новая страница: «// Freezer showcase illumination defineRule("lightingCoolingshelfsOnOff", { when: function() { return dev._schedules.frontshop_lighting || true; }…»
−23
Новая страница: «// backstoreroom ventilation defineRule("ventBackstoreOnOff", { when: function() { return dev._schedules.ext_working_hours_15m || true; }, th…»
−96
Новая страница: «// sales area illumination defineRule("lightingFrontshopOnOff", { when: function() { return dev._schedules.frontshop_lighting || true; }, the…»
−53
Новая страница: «// signboard and facade illumination defineRule("signboardOnOff", { when: function() { return dev._schedules.signboard || true; }, then: funct…»
−20
Новая страница: «An example of a rule using Schedules: <syntaxhighlight lang="ecmascript"> (function() { // closing»
−43
Новая страница: «(function(Schedules) { // closing»
−11
Новая страница: «This means that even if the controller works intermittently and missed the transition time between schedules (10 am), the controller will still turn on the lighti…»
−145
Нет описания правки
−3
Новая страница: «For example, we want the lighting to be on from 10 to 17h. The libschedule will follow the rule of "turn on the lights" once a minute from 10 am to 17 PM.»
−125
Новая страница: «Not cron-rules are used for schedules, but the libschedule. The libschedule enables and disables rules, which, unlike cron rules, are executed continuously when…»
−151
Новая страница: «Object - grocery store. Various store systems are controlled by feedback from temperature sensors and taking into account the schedule of the store.»
−128
Нет описания правки
−5
Новая страница: «=== Complex rules with schedules ===»
−29
Новая страница: «More detailed and with example - in the topic on the technical support [https://support.wirenboard.com/t/kak-na-wb5-wb6-sozdat-pole-dlya-vvoda-ustavok-i-peredat-z…»
−32
Новая страница: «To enable the user to enter exact parameter values (setpoints) from the interface, you can use the [https://wirenboard.com/wiki/index.php/%D0%A1%D0%BE%D0%B7%D0%B4…»
−132
Новая страница: «=== User fields in the interface ===»
−37
Новая страница: «setTimeout(setup_port, 1000); // set setup_port() running 1 second after starting.»
−77
Новая страница: «Full contents of the rules file:»
−35
Новая страница: «8. Putting it all together»
−13
Новая страница: «Note the double shielding.»
−55
Новая страница: «7. Let's describe the rules for switching on and off the switch»
−42
Новая страница: «6. Add a function to configure the port.»
−44
Новая страница: «A new device "Send custom command to RS-485 port"should appear in the Devices section of the web interface.»
−51