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
-
Create a text widget and fill it with
SCAN
text -
Navigate yourself into Properties >> Widget >> Other >> Edit touch events
-
Click on the
ADD NEW
button, then choose theStatic sensor or device event
in theAction type:
field, thenOther command
-
Add a
Value
to theValue:
field
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
Try it out!