Движок правил wb-rules/en: различия между версиями

Нет описания правки
(Новая страница: «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.»)
Строка 711: Строка 711:
Not cron-rules are used for schedules, but  the libschedule. The libschedule enables and disables rules, which, unlike cron rules, are executed continuously when enabled.
Not cron-rules are used for schedules, but  the libschedule. The libschedule enables and disables rules, which, unlike cron rules, are executed continuously when enabled.


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.
For example, we want the lighting to be on from 10 to 17h. The libschedule will follow the "turn on the lights" rule once a minute from 10 am to 17 PM.


Это значит, что даже если контроллер работает с перерывами и пропустил время перехода между расписаниями (10 утра), то контроллер всё равно включит освещение при первой возможности.
Это значит, что даже если контроллер работает с перерывами и пропустил время перехода между расписаниями (10 утра), то контроллер всё равно включит освещение при первой возможности.
12 063

правки