Access Controller

INTRODUCTION

The access controller is a block that is used in conjunction with 1-Wire identification devices such as iButtons or RFID tags. You can set up access schedules based on weekly times or calendars, and assign specific users to different groups which have different access rights. The steps below show you how to set up the access controller.

STEP 1: INSERT USER

First you need to have users to then put into user groups. To create a new user, select the Periphery tab, then the ‘Common’ menu, and click on ‘User’. Alternatively, use the F4 shortcut, and type ‘User’. Each user can then have an iButton ID assigned to them. This is important as it is what will trigger the access controller block.

Icon Exclamation Mark Loxone
Each user can then have an iButton ID assigned to them. This is important as it is what will trigger the access controller block.

Config Users Periphery

STEP 2: INSERT USER GROUP

To create a new user group, select the Periphery tab, then the ‘Common’ menu, and click on ‘User Group’. Alternatively, use the F4 shortcut, and type ‘User group’.

Config Groups Periphery

STEP 3: ADD A USER TO A GROUP

A user can be added to a user group simply by clicking and dragging the user into the correct user group.

Config Users and Groups Periphery

STEP 4: ADJUST ACCESS TIMES

Then for each user group you must enter the times during which they are allowed access. Just click on ‘Click here’ in the user group’s properties box.

Config Group Access Times

STEP 5: ADD ACCESS CONTROLLER

To insert the function block, in the Program tab, select ‘Monitoring’ and click ‘Access Controller’. Alternatively, use the F5 shortcut, and type ‘Access Controller’.

Add Access Controller

STEP 6: ASSIGN 1-WIRE EXTENSION

You must now assign the 1-Wire extension (i.e. the iButton reader) to be used, and choose which user groups have access. In this example, we are using the extension called ‘Office Door 1-wire Extension’. You can set the user groups by ticking the appropriate groups in the ‘Allowed groups’ section.

Config Assign 1-Wire Extension

STEP 7: TRIGGER THE BLOCK

The iButton inputs do not have to be connected to the Tr input of the access controller to trigger the block.

Since the ID of each iButton is in the button itself and not the reader, you cannot tell which reader the iButton has been held to if you have multiple readers. To tell which reader an iButton was used at you need to have a separate 1-Wire Extension per reader. If you don’t mind which reader an iButton was used at then you can use as many readers per 1-Wire Extension as needed.

Alternatively you can connect as many readers as you would like and use the access block with an additional sensor such as a push button to identify which reader is which. See the diagram below for how this would work. Next to each door is a push button, to open the door you push the button next to the door and then you have 10 seconds (parameter Tr) to hold the iButton to the reader for the door to open.

Diagram 1-Wire Access Control