RFID terminals
With an RFID terminal, employees clock in and out with a card or chip, without a browser or phone. The first tap clocks in, the next one clocks out.
Setting up
Section titled “Setting up”- Open Admin → Settings and choose the RFID terminals section.
- Give the terminal a name, for example “Entrance plant 1”, and click Create key.
- Copy the key and enter it in the terminal. Samado shows it only this once.
- For each person, enter the chip code of their card under Admin → Employees, in the Profile section (sign-in and terminal).
Create a separate key for each terminal. The list then shows when each terminal was last used, and you can lock out a single device.
Name the terminal, create a key. “How to connect a terminal” shows the address and an example.
Connecting a terminal (for whoever sets up the device)
Section titled “Connecting a terminal (for whoever sets up the device)”On every card tap the terminal sends a request to Samado. The exact address for your Samado app is shown under Admin → Settings → RFID terminals → How to connect a terminal, ready to copy.
- Address:
POST https://<your Samado app>/api/terminal/clock - Headers:
X-API-Key: <the terminal's key>andContent-Type: application/json - Body:
{"chip_code": "04A1B2C3"}, the chip code exactly as entered for the person
Responses:
| Status | Meaning |
|---|---|
| 200 | Clocked. action is clock_in or clock_out, message a short text for the display, for example “Maria eingestempelt” |
| 404 | Unknown chip code, or the person is deactivated |
| 401 | Wrong or deleted key |
| 429 | Too many requests (more than 120 per minute from one address) |
To try it out, for example from a laptop:
curl -X POST "https://<your Samado app>/api/terminal/clock" \ -H "X-API-Key: smd_t_..." \ -H "Content-Type: application/json" \ -d '{"chip_code": "04A1B2C3"}'Device lost or replaced
Section titled “Device lost or replaced”Delete the device’s key in the list. From then on nobody can clock with it. Create a new key for the new device.
What the audit log shows
Section titled “What the audit log shows”Every terminal punch appears in the audit log with the terminal’s name. Creating and deleting keys is logged too.