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
-
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!