Connecting UniFi Protect
See the camera image of an access attempt, open the recording in UniFi Protect and show cash and card payments as text over the camera footage.
Last updated on
With the UniFi Protect connection you see the camera image of that moment straight away in the details of an access attempt, and you get from an access attempt or an access point event to the recording of the matching camera in one click. Cash payments and card payments can also run as text over the footage of a camera, so you can look back when the till does not balance. Installing is the same as for every integration, see Installing an integration.
Before you start:
- The cameras are read on your park through the connector. It must be online. If it is not, Tillor reports The Tillor connector is offline or unreachable.
- You need the details of your UniFi OS console. That is the box or server UniFi Protect runs on.
- For the connection with access points, those access points must exist, see Access control.
Installing
Open the integration
Go to SettingsIntegrationsUniFi Protect.
Fill in the console
- Console host: the local IP address or hostname of your UniFi OS console.
- API key: a secret code you create in the console, which lets Tillor read cameras.
- Cloud console ID: the long ID after
/consoles/in the unifi.ui.com URL of your console. - Protect user and Protect password: optional. A local user of your UniFi OS console that may view Protect. You need it to show the camera image in the details of an access attempt. Create a separate user for it, without two-step verification. The password stays in Tillor and only goes to your connector.
Choose the payment cameras
Under Cash payments camera and POS payments camera choose a camera, or leave Do not register. POS is the card terminal.
Click Install
As soon as the host and API key are filled in, Tillor loads the cameras from the console.
Linking cameras to access points
After installing, the Settings block contains the Access point cameras table. Link each Access point to a Camera. If the list is empty, add access points first.
After that, the details of an access attempt and of an access point event show the Open in UniFi Protect link. It opens the recording around that moment in UniFi Protect, in a new tab.
The camera image of an access attempt
If you filled in a Protect user and Protect password, Tillor shows in the details of an access attempt the image that the camera of that access point recorded at the moment of the attempt. That way, when a licence plate was misread, you see straight away which plate was really there, without searching the recording.
- The image is at the top of the details, below the attempt's data and above Access method. The image loads as soon as you open the details.
- Tillor keeps the image of every licence plate for 12 months, as a smaller image (960 pixels wide). Every night Tillor fetches the images of the past two days, newest first. That way you still see the image after your console has deleted the recording. Images not stored yet are fetched live from your console through the connector.
- For a licence plate, Tillor shows the image from 2 to 3 seconds after the camera read the plate, when the vehicle is in view. For an NFC tag or QR code with a linked licence plate, it is the moment of that plate.
- With 1 s back and 1 s forward you view the second before or after, up to 30 seconds from the moment.
Second reading of the licence plate
With the same connection, Tillor reads the licence plate of every pass a second time, independently of what the camera read. That shows you the difference between a plate that really was different and a plate the camera misread. It needs no extra settings: you only need the Protect user, the Protect password and a camera per access point.
- The connector at your park fetches a video clip of about 5 seconds of the pass from UniFi Protect and sends it to Tillor. If your console cannot export video, Tillor uses a few still frames around the pass.
- A reader on Tillor's own servers reads the plate from several frames. No data goes to external services.
- The video clip is not stored. Tillor keeps the best frame of the pass, a small crop of the plate and the result. That best frame replaces the camera image of that attempt and is also kept for 12 months.
- Tillor starts the second reading about a minute after the pass comes in. The result usually appears with the access attempt within a few minutes. Readings run one at a time per park, so on a busy moment it takes a little longer.
- If the connector is offline, the image is not on the console yet or the reader is briefly unavailable, Tillor tries again by itself after 1, 3, 9 and 27 minutes. Tillor does not retry a rejected Protect login or footage that the console no longer has.
- Every night a check runs over the past two days. It picks up whatever was missed.
- A second reading does not change whether the barrier opened, the status of the attempt or the clean-up of ghost entries. When the reader saw a whole, different plate and the pass is not tied to a plate you typed in yourself, Tillor stores that plate on the attempt. When the pass came from a QR code that had been converted to the camera's plate, Tillor puts that plate on the access method, unless another customer already has it.
You see the result in the details of an access attempt, below the camera image, in the Second reading block. It shows the Result, the Plate read, for Check registration also the Registered plate, the Plate in the image, the Frames in agreement (for example 4 of 5), the Reader confidence, whether it was read from a Video clip of the pass or Still frames of the pass, when it was read and which Reader models were used. For an NFC tag or QR code you see the reading of the coupled plate.
| Result | What it means | What do you do? |
|---|---|---|
| Confirmed | The reader read the same plate as the stored plate. | Nothing. |
| Different plate | The reader saw another plate. Usually the camera made a mistake, for example O and 0, Q and O at night or B and 8. | Look at the image and the crop. When the attempt is not tied to a plate you typed in yourself, Tillor stores the plate the reader saw. A QR code that had been converted to the camera's plate is updated to that plate, unless another customer already has it. |
| Check registration | The attempt matched a registered plate, but the reader and the camera both saw a plate that is one or two characters away from the registration. There is probably a typing mistake in the access method, for example KIECV102 registered while the car has KLECV102. | Open the access method and correct the plate. |
| Plate cut off | Only part of the plate was in view, for example behind a post or at the edge of the image. The reading cannot confirm anything. | Check that the camera has the plate well in view. |
| No plate found | The reader found no plate in the images. | Nothing. |
If the reading differs (Different plate, Check registration or Plate cut off), a line also appears in the Events of the access point, and of the access method and the customer if the attempt has them. The line is called Second plate reading differs. Confirmed and No plate found leave no line.
Good to know
The second reading only works once Tillor has switched the reader on for your environment and your connector has a version that supports it. Until then you do not see the Second reading block and the single camera image works as before.
What happens next?
- If you chose a camera under Cash payments camera or POS payments camera, Tillor sends every payment that becomes Paid to that camera. Cash payments go to the cash camera, card payments on a terminal go to the POS camera.
- Payments that were paid more than 24 hours ago no longer get text over the footage.
- Payments through Mollie only count if they belong to the main Mollie profile.
- If you change the details, save. If you leave the API key or the Protect password empty, the existing value stays in use. With Uninstall you remove the connection.