|  Developer
Updated on May 18, 2022

set_daily_repeating_entry_lock_schedule()

  • Sets daily repeating 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),
    • daily_repeating_entry_lock_schedule(table), — optional. Pass nil for removing
  • return: none.
Edit
				
					require "zwave"

zwave.set_daily_repeating_entry_lock_schedule(node_id, channel_id, user_id, slot_id,
    {
        weekDays = { "monday", "friday" },
        startHour = 11,
        startMinute = 20,
        durationHour = 14,
        durationMinute = 50
    })