Using a barcode scanner through USB serial

Hi, first post and HA novice.

I am trying to use a barcode scanner to enable my young son to scan certain barcodes and then play a certain song through spocast depending on the barcode he scans.

I can find my scanner in harware screen and have written some code in config yaml below. However I cannot get any data from the scanner in to HA. It is setup in serial mode using USB.

sensor:

  • platform: serial
    name: “Barcode Scanner”
    serial_port: “/dev/ttyACM0”
    baudrate: 9600

Using Oracle VB with HA OS 15 running on windows 10.

No doubt I have mised some info, so please ask me for any further info needed.

Thanks!