Skip to main content

Barcode Reader

Sensor configuration

To set the configuration navigate yourself to DEVICE >> Device Properties >> SET >> SET 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