|  Developer
Updated on May 18, 2022

set_year_day_entry_lock_schedule()

  • Sets year day entry lock schedule for specific node, channel, user, slot
Edit

  • params:
    • node_id (int),
    • channel_id (int),
    • user_id (int), – select one of existing user ( see user code cc )
    • slot_id(int),
    • year_day_entry_lock_schedule(table), — optional. Pass nil for removing
  • return: none.
Edit
				
					require "zwave"

zwave.set_year_day_entry_lock_schedule(node_id, channel_id, user_id, slot_id,
    {
        startYear = 2019,
        startMonth = 1,
        startDay = 10,
        startHour = 23,
        startMinute = 1,
        stopYear = 2019,
        stopMonth = 2,
        stopDay = 10,
        stopHour = 23,
        stopMinute = 1,
    })