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:- 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.
- 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.
- Allow Nekt’s IP addresses on that port:
34.24.209.97,34.74.81.117and34.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.
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.
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.
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.
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.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 thedevice_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
AFD Records
AFD Records
Table:
afd_records · Primary key: device_serial, device_generation, nsr · Sync: Incremental (nsr)Access control devices
Access Logs
Access Logs
Table:
access_logs · Primary key: id, time · Sync: Incremental (id)Access Rule Schedules
Access Rule Schedules
Table:
access_rule_time_zones · Primary key: access_rule_id, time_zone_id · Sync: Full tableAccess Rules
Access Rules
Table:
access_rules · Primary key: id · Sync: Full tableAlarm Logs
Alarm Logs
Table:
alarm_logs · Primary key: id, time · Sync: Incremental (id)Area Access Rules
Area Access Rules
Table:
area_access_rules · Primary key: area_id, access_rule_id · Sync: Full tableAreas
Areas
Table:
areas · Primary key: id · Sync: Full tableChange Logs
Change Logs
Table:
change_logs · Primary key: id, timestamp · Sync: Incremental (id)Device Info
Device Info
Table:
device_info · Primary key: serial · Sync: Full tableDevices
Devices
Table:
devices · Primary key: id · Sync: Full tableDoor and Turnstile Events
Door and Turnstile Events
Table:
access_events · Primary key: id, timestamp · Sync: Incremental (id)Group Access Rules
Group Access Rules
Table:
group_access_rules · Primary key: group_id, access_rule_id · Sync: Full tableGroups (Departments)
Groups (Departments)
Table:
groups · Primary key: id · Sync: Full tableHolidays
Holidays
Table:
holidays · Primary key: id · Sync: Full tablePortal Access Rules
Portal Access Rules
Table:
portal_access_rules · Primary key: portal_id, access_rule_id · Sync: Full tablePortals
Portals
Table:
portals · Primary key: id · Sync: Full tablePunch Types
Punch Types
Table:
log_types · Primary key: id · Sync: Full tableSchedules (Time Zones)
Schedules (Time Zones)
Table:
time_zones · Primary key: id · Sync: Full tableTime Spans
Time Spans
Table:
time_spans · Primary key: id · Sync: Full tableUser Access Rules
User Access Rules
Table:
user_access_rules · Primary key: user_id, access_rule_id · Sync: Full tableUser Groups
User Groups
Table:
user_groups · Primary key: user_id, group_id · Sync: Full tableUsers
Users
Table:
users · Primary key: id · Sync: Full tableREP time clocks
Company
Company
Table:
company · Primary key: cpf_cnpj · Sync: Full tableDevice Info
Device Info
Table:
device_info · Primary key: serial · Sync: Full tableEmployees
Employees
Table:
employees · Primary key: document · Sync: Full table