How to display the output from the barcode scanned at the dashboard?

Hi, how to display the output of a barcode to be shown at the the dashboard. I have a scanner connected to my laptop with usb cable.

This is my flow. Can anyone help me to solve it?

[
    {
        "id": "5bb019b65d5f0af7",
        "type": "inject",
        "z": "11b31e36b98445ad",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 220,
        "y": 220,
        "wires": [
            [
                "f62c2ee556bf4e86"
            ]
        ]
    },
    {
        "id": "f62c2ee556bf4e86",
        "type": "Barcode Generator",
        "z": "11b31e36b98445ad",
        "name": "",
        "data": "www.google.com",
        "dataType": "str",
        "barcode": "qrcode",
        "barcodeType": "barcode",
        "options": "",
        "optionsType": "ui",
        "sendProperty": "payload",
        "props": [
            {
                "p": "rotate",
                "v": "N",
                "vt": "str"
            },
            {
                "p": "includetext",
                "v": "true",
                "vt": "bool"
            },
            {
                "p": "textxalign",
                "v": "center",
                "vt": "str"
            }
        ],
        "x": 370,
        "y": 220,
        "wires": [
            [
                "72583360f1fa1443"
            ]
        ]
    },
    {
        "id": "72583360f1fa1443",
        "type": "jimp-image",
        "z": "11b31e36b98445ad",
        "name": "",
        "data": "payload",
        "dataType": "msg",
        "ret": "b64",
        "parameter1": "",
        "parameter1Type": "msg",
        "parameter2": "",
        "parameter2Type": "msg",
        "parameter3": "",
        "parameter3Type": "msg",
        "parameter4": "",
        "parameter4Type": "msg",
        "parameter5": "",
        "parameter5Type": "msg",
        "parameter6": "",
        "parameter6Type": "msg",
        "parameter7": "",
        "parameter7Type": "msg",
        "parameter8": "",
        "parameter8Type": "msg",
        "sendProperty": "payload",
        "sendPropertyType": "msg",
        "parameterCount": 0,
        "jimpFunction": "none",
        "selectedJimpFunction": {
            "name": "none",
            "fn": "none",
            "description": "Just loads the image.",
            "parameters": []
        },
        "x": 520,
        "y": 220,
        "wires": [
            [
                "0f10978fe0469748"
            ]
        ]
    },
    {
        "id": "0f10978fe0469748",
        "type": "image viewer",
        "z": "11b31e36b98445ad",
        "name": "",
        "width": 160,
        "data": "payload",
        "dataType": "msg",
        "active": true,
        "x": 680,
        "y": 220,
        "wires": [
            [
                "eb155874df4dc7f4",
                "0ca185c4250bb856"
            ]
        ]
    },
    {
        "id": "eb155874df4dc7f4",
        "type": "ui_template",
        "z": "11b31e36b98445ad",
        "group": "a348b0ef9d248038",
        "name": "",
        "order": 3,
        "width": "6",
        "height": "5",
        "format": "<img src=\"{{msg.payload}}\" style=\"height: 100%;\" />",
        "storeOutMessages": true,
        "fwdInMessages": true,
        "resendOnRefresh": true,
        "templateScope": "local",
        "className": "",
        "x": 850,
        "y": 220,
        "wires": [
            []
        ]
    },
    {
        "id": "0ca185c4250bb856",
        "type": "ui_text_input",
        "z": "11b31e36b98445ad",
        "name": "",
        "label": "",
        "tooltip": "",
        "group": "9c6c51bf2c3ab5b9",
        "order": 0,
        "width": 0,
        "height": 0,
        "passthru": true,
        "mode": "text",
        "delay": 300,
        "topic": "topic",
        "sendOnBlur": true,
        "className": "",
        "topicType": "msg",
        "x": 820,
        "y": 120,
        "wires": [
            [
                "eb155874df4dc7f4",
                "6fc71cb400087d25"
            ]
        ]
    },
    {
        "id": "6fc71cb400087d25",
        "type": "debug",
        "z": "11b31e36b98445ad",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 810,
        "y": 60,
        "wires": []
    },
    {
        "id": "a348b0ef9d248038",
        "type": "ui_group",
        "name": "Default",
        "tab": "3316deba5234ba30",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "9c6c51bf2c3ab5b9",
        "type": "ui_group",
        "name": "Scanner Output ",
        "tab": "3316deba5234ba30",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "3316deba5234ba30",
        "type": "ui_tab",
        "name": "test",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]

I see the output on the desktop without changing anything

I need to show the output by scanning the qrcode using scanner and my scanner connected to my laptop usb port.

Take a read of this thread. Look towards the bottom, it may help you out

Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.