Skip to main content
Control iD makes access control devices (facial readers, card readers and turnstiles such as iDFace, iDAccess, iDFlex and iDBlock) and REP time clocks (iDClass, iDX). Each device keeps its own records and has a built-in web interface. This connector reads one device directly through that interface: who entered where and when, the registered users and their groups and rules, and the AFD file with the time punches.
The connector only reads data. It never opens doors, changes users or touches any setting of the device.

Before you start: make the device reachable

The device sits on your company’s network, so Nekt needs a way to reach it over the internet:
  1. Turn on HTTPS on the device. Access control devices answer plain HTTP by default: in the device’s web interface, open the network settings and turn on SSL (HTTPS). REP time clocks (iDClass, iDX) already use HTTPS only.
  2. Publish the device’s HTTPS port. On your router or firewall, forward a public port to the device’s HTTPS port (443 by default). Ask your IT team or internet provider if you are not sure how.
  3. Allow Nekt’s IP addresses on that port: 34.24.209.97, 34.74.81.117 and 34.138.230.39. Blocking every other address keeps the device protected. These are the addresses of Nekt Express. If your Nekt workspace runs on your own cloud account (GCP or AWS), ask Nekt support for the addresses to allow.
The address you give Nekt is the public one, such as https://203.0.113.10:8443 or https://portaria.yourcompany.com. An internal address (like 192.168.x.x or 10.x.x.x) only works when your Nekt workspace runs on your own cloud account and that cloud has a network route (VPN) to the device; Nekt Express cannot reach it.
The connector needs the login of an administrator of the device’s web interface, and the device does not offer read-only users. Keep the port open only to Nekt’s addresses and change the factory password (admin/admin) before publishing the device.

Configuring Control iD as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Control iD option from the list of connectors. Click Next and you’ll be prompted to add your access.

1. Add account access

The following configurations are available:
  • Device Line: The product line of the device. Choose Access control for iDAccess, iDFace, iDFace Max, iDFlex, iDBlock, iDBox, iDFit and iDUHF, or REP time clock for iDClass and iDX. The tables offered depend on this choice.
  • Device URL: The public HTTPS address of the device, with its port, e.g. https://203.0.113.10:8443.
  • Device User and Device Password: The login of an administrator of the device’s web interface.
  • Start Date (advanced, optional): Earliest event read on the first sync of the incremental tables (access logs, alarms, door events and AFD records). Leave it empty to read everything the device still holds.
  • Verify SSL Certificate (advanced): Control iD devices use a self-signed certificate by default, so leave this off unless a certificate from a trusted authority is installed on the device.
One source reads one device. If you have several devices, create one source per device and give their tables a common prefix to find them together in the Catalog. Once you’re done, click Next.

2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.
Tip: The stream can be found more easily by typing its name.
Select the streams and click Next.

3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.
  • Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
  • Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
  • Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
  • Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
    • Incremental: every time the extraction happens, we’ll get only the new records. We recommend it for Access Logs, Alarm Logs, Door and Turnstile Events, Change Logs and AFD Records.
    • Full table: every time the extraction happens, we’ll get the current state of the data. Users, groups, rules, schedules, employees and the other registration tables are always full table.
The device keeps a limited number of log entries and deletes the oldest when it is full. Keep the log tables incremental and avoid a Full sync of this source: a full sync rewrites those tables with only what the device still holds, and older entries already in your Catalog would be lost.
Once you are done configuring, click Next.

4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Sync at least once a day, so log entries are read before the device rotates them out. Optionally, you can configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here. Once you are ready, click Next to finalize the setup.

5. Check your new source

You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.
For you to be able to see it on your Catalog, you need at least one successful source run.

Device models and firmware

Not every model has every table. For example, Change Logs exist only on iDFace devices, and Punch Types only when the device has time-clock mode. A table the device does not have is skipped in each run, marked as failed with a message naming it, and the other tables keep syncing. Deselect it to stop the message.

Dates and times

Each table keeps the device’s own time, and Nekt does not convert it to another time zone: AFD Records identify employees by CPF (or PIS on older clocks) with 11 digits in employee_document, the same format as the Employees table, so the two can be joined.

When the device is reset or replaced

The connector remembers the last record it read and the device’s serial number. If the device is replaced by another one at the same address, or its records start over after a reset, the run log says so and the connector reads the device again from the start. Records already in your tables stay: AFD records are kept apart by the device_serial column (which device) and the device_generation column (0 for a device’s first numbering, plus 1 each time the same device starts over). Some data is never synced on purpose: password hashes, PINs, card and QR code registrations, biometric templates and, on REP time clocks, employee passwords and badge numbers.

Streams and Fields

Available streams

The table below lists every stream, its slug (the exact identifier to pass when creating the source via API) and a short description.

Access control devices (Device Line: Access control)

REP time clocks (Device Line: REP time clock)

Fields by stream

Common to both lines

Table: afd_records · Primary key: device_serial, device_generation, nsr · Sync: Incremental (nsr)

Access control devices

Table: access_logs · Primary key: id, time · Sync: Incremental (id)
Table: access_rule_time_zones · Primary key: access_rule_id, time_zone_id · Sync: Full table
Table: access_rules · Primary key: id · Sync: Full table
Table: alarm_logs · Primary key: id, time · Sync: Incremental (id)
Table: area_access_rules · Primary key: area_id, access_rule_id · Sync: Full table
Table: areas · Primary key: id · Sync: Full table
Table: change_logs · Primary key: id, timestamp · Sync: Incremental (id)
Table: device_info · Primary key: serial · Sync: Full table
Table: devices · Primary key: id · Sync: Full table
Table: access_events · Primary key: id, timestamp · Sync: Incremental (id)
Table: group_access_rules · Primary key: group_id, access_rule_id · Sync: Full table
Table: groups · Primary key: id · Sync: Full table
Table: holidays · Primary key: id · Sync: Full table
Table: portal_access_rules · Primary key: portal_id, access_rule_id · Sync: Full table
Table: portals · Primary key: id · Sync: Full table
Table: log_types · Primary key: id · Sync: Full table
Table: time_zones · Primary key: id · Sync: Full table
Table: time_spans · Primary key: id · Sync: Full table
Table: user_access_rules · Primary key: user_id, access_rule_id · Sync: Full table
Table: user_groups · Primary key: user_id, group_id · Sync: Full table
Table: users · Primary key: id · Sync: Full table

REP time clocks

Table: company · Primary key: cpf_cnpj · Sync: Full table
Table: device_info · Primary key: serial · Sync: Full table
Table: employees · Primary key: document · Sync: Full table