====== Control system behaviour based on holidays, weekends, working days ====== The energy efficient control is an important and popular task nowadays. E.g. heater unit may decrease temperature when there is no people inside a premise and this save energy. WebHMI itself has calendar, scripts to describe the necessary periods and respective actions for the connected equipment. But when you have **many** devices distributed over area with same holiday and working day schedule it is very convinent to share the schedule to many WebHMIs. This idea is shown below: {{ network:l2_calendar_to_many.png?direct&800 |}} {{ network:calendar_control_2.jpg?direct&800 |}} The working day and weekends calender is located in Level2 - Resources menu: {{ network:resources_link_user.png?direct&800 |}} There you can select day type: {{ network:resources_calendar.png?direct&800 |}} *Single click over __particular day__ switches __this day__ type *Single click over __day column header__ switches all days below in the column - for __this month__ *__Double click__ over day column header switches __all days__ below in the column - for the __whole year__ ==== Lua call ==== \\ [[http://docs.webhmi.com.ua/functions_to_manage_energy_resources_consumption#gettodaydaytype|Lua function to get this states]]