Skip to main content

Barcode Reader

Please note, in order to use Sensors and Sensor events, Premium (ENTERPRISE) license is required.

Setup & Configuration

  • Navigate to Devices menu, then select the device where you want to use the sensors.
  • Open the device settings by clicking on the icon

OR

  • Click on the device card, then Select Settings tab
  • Find sensor settings, then set the following sensor configuration:
{
"qrCodeReader": {
"id": "string",
"settings": {
"port": 0
}
}
}

How to use it from content

Content

  1. Create a text widget and fill it with SCAN text

  2. Navigate yourself into Properties >> Widget >> Other >> Edit touch events

  3. Click on the ADD NEW button, then choose the Static sensor or device event in the Action type: field, then Other command

  4. Add a Value to the Value: field

img.png

Command structure

  • The "timeout" value is optional, it allows you to set a timeout for the scanner. If you do not set up any timeout, the scanner will remain active until a new event is executed.
{
"command": "ScanQrCode",
"options": {
"timeout": 90
}
}

Save it, then save the content.

Assign it to the kiosk, then touch the SCAN on the screen.

Downloadable content