Compatible with Kimai 2.0

Tryb kiosku z obsługą kodów kreskowych i RFID

Śledzenie czasu obecności w środowisku, w którym użytkownik nie ma dostępu do Kimai (np. w magazynie), poprzez skanowanie kodów kreskowych lub RFID w celu rozpoczęcia i zakończenia arkuszy czasowych.

Kevin Papst
Oferowane przez
Kevin Papst

A Kimai plugin, which allows using barcodes for punch-in and punch-out time tracking with Kimai. You can use it with an attached barcode scanner, or you run Kimai on a device (e.g. tablet) with a built-in camera.

It also supports a “freestyle” mode, which allows to enter any free configurable code (up to 120 characters), so you can also use other devices for starting/stopping:

  • an electronic USB number-pad
  • an RFID scanner that acts as keyboard

If you want to use Kimai in a kiosk mode, where your users should only register their attendance time through
punch-in and punch-out mode when entering/leaving the building, then this bundle is the solution for you.

It could be as simple as:

  • Print the barcodes on your employee cards
  • Mount a tablet to the wall in your entrance room
  • Let your users check-in & check-out when entering the building by scanning the barcode of their employee card

You can test it in the “Plugins” demo.

Features

  • Start/Stop work with
    • barcode scanner (via device camera, only works via HTTPS)
    • barcode scanner (via USB or Bluetooth)
    • RFID scanner (via USB or Bluetooth)
  • Upon starting/stopping a record via this plugin, the user will see a short overview screen with the entries of the current week (including some statistics)
  • New user profile screen for the “codes”
    • Display all codes for user
    • Generate a random code (automatically done if none is existing yet for the active code-type)
    • Re-use existing code for user by entering (or scanning) it manually
  • User specific settings to configured allowed start and end working time (user can only clock in between these times)
  • Supports the following 1D barcodes:
    • Code 128
    • Code 39
    • UPC-A (scanner needs to transmit check digit)
    • Code 2 of 5
    • Code 2 of 5 interleaved
    • Codabar (scanner needs to transmit start & stop digits)
  • Optional: show active / inactive users in login screen
  • Many CSS classes to customize the look with Custom CSS Bundle

You need to configure a non-global activity for starting the record via this plugin. This will be used for every recorded timesheet that is created using the kiosk mode.

Hardware

This is NOT a hardware recommendation, but more an idea for possible use-cases.

I tried the linked products and even though all scanner are rather cheap, they work without problems.

The above are affiliate links for Amazon (germany) where I bought them myself.

Configuration

You have to configure the bundle before you can use it - you reach the configuration via

  • the Plugin screen (Preferences in action dropdown behind the plugin)
  • the Kiosk administration (cogs icon in the upper right)
  • the System configuration (Kiosk & Barcode section)

The following configurations are available:

Configuration Description
Login mode whether to use camera or usb mode
Code format you have to decide which code format you want to use
Barcode includes readable code whether the barcode in the user profile will include the human readable code
Duration to display confirmation dialog (in seconds) how long the start/stop screens will be shown after a successful scan
Activity the non-global activity that will be used to track the times

Permissions

This bundle introduces new permissions, which limit access to certain functions:

Permission Name Description
barcode_own_profile allows to see and administrate barcode for the own user profile
barcode_other_profile allows to see and administrate barcode for all user profiles
kiosk_own_profile allows to configure user specific kiosk settings (eg. start and end time) for the own user profile
kiosk_other_profile allows to configure user specific kiosk settings (eg. start and end time) for all user profiles

By default, these are granted to each user with the role ROLE_SUPER_ADMIN.

Instalacja

Skopiuj pliki

Extract the ZIP file and upload the included directory and all files to your Kimai installation to the new directory:

var/plugins/KioskBundle/

The file structure needs to look like this afterwards:

var/plugins/
├── KioskBundle
│   ├── KioskBundle.php
|   └ ... more files and directories follow here ...

Wyczyść pamięć podręczną

After uploading the files, Kimai needs to know about the new plugin. It will be found once the cache was re-built. Call these commands from the Kimai directory:

How to reload Kimai cache

bin/console kimai:reload --env=prod

It is not advised, but in case the above command fails you could try:

rm -r var/cache/prod/*

You might have to set file permissions afterwards:

Adjust file permission

You have to allow PHP (your webserver process) to write to var/ and it subdirectories.

Here is an example for Debian/Ubuntu (to be executed inside the Kimai directory):

chown -R :www-data .
chmod -R g+r .
chmod -R g+rw var/

Utwórz bazę danych

Run the following command:

bin/console kimai:bundle:kiosk:install

This will create the required database tables and update them to the latest version.

Zainstaluj zasoby

The following command will install the required assets (images, javascripts, styles):

bin/console assets:install

Aktualizacje

Updating the plugin works exactly like the installation:

  • Delete the directory var/plugins/KioskBundle/
  • Execute all installation steps again:
    • Skopiuj pliki
    • Wyczyść pamięć podręczną
    • Update database with bin/console kimai:bundle:kiosk:install
    • Update assets with bin/console assets:install

Poniższa tabela zawiera porównanie między pluginem a minimalną wymaganą wersją Kimai.

Wersja pakietu Minimalna wersja Kimai
2.5.0 2.1.0
2.4.0 2.0.33
2.3.0 - 2.3.1 2.0.29
2.2.1 2.0.20
2.0 - 2.2.0 2.0
1.9 1.15
1.7 1.14

Możesz przetestować ten plugin na demo.kimai.org:

Nazwa użytkownika: susan_super
Hasło: kitten

Znajdź więcej kont testowych tutaj.

Zrzuty ekranu

Screenshot
Wyświetla listę wszystkich użytkowników wraz z ich skonfigurowanymi typami kodów logowania
Screenshot
Skonfiguruj wtyczkę Kiosk według własnych potrzeb, tryb logowania i format kodu zależą od siebie nawzajem
Screenshot
Ten nowy kod kreskowy może teraz być drukowany i wręczany użytkownikowi
Screenshot
Tryb logowania 'Kod kreskowy z czytnikiem USB' pokazuje ekran tak jak ten, pole wejściowe jest preselekcjonowane, a czytnik wyśle go po znalezieniu kodu
Screenshot
Ekran logowania z aktywowaną opcją listy użytkowników
Screenshot
Tryb logowania 'Kod kreskowy z kamerą urządzenia' pokazuje obraz z kamery i ciągle skanuje kody kreskowe
Screenshot
Skanowanie istniejącego kodu użytkownika rozpoczyna nową kartę czasową
Screenshot
Lub gdy karta czasowa już działa, zostanie zatrzymana

Zakup

You can buy the plugin via Lemon Squeezy (CreditCard, instant access) or from the developer (bank-transfer, up to one week)

Support-questions, bug-reports and feature-requests will be answered in this Github repository

Oferowane przez

Kevin Papst

Building Kimai since 2009

Jeśli masz jakiekolwiek pytania, skorzystaj z poniższych informacji kontaktowych, aby skontaktować się bezpośrednio z deweloperem.
Top