How do I view the USB devices with HASS.io?

Found how to find the USB serial ports.

It’s part of the Hass.io CLI.

  1. SSH to [email protected]

  2. You’ll have this prompt: addon_core_ssh:/config#

  3. type: hassio help

  4. you’ll see:

    ---- Hass.IO Cli ----

    HomeAssistant:
    $ hassio homeassistant logs
    $ hassio homeassistant restart
    $ hassio homeassistant update

    Host:
    $ hassio host hardware
    $ hassio host reboot
    $ hassio host shutdown
    $ hassio host update

  5. Type: hassio host hardware

  6. It will spit out a report that includes your USB serial paths. See the example output below.

    {
    “result”: “ok”,
    “data”: {
    “serial”: [
    “/dev/ttyACM0”,
    “/dev/ttyACM1”
    ],
    “input”: [],
    “disk”: [],
    “audio”: {
    “0”: {
    “name”: “bcm2835 - bcm2835 ALSA”,
    “type”: “ALSA”,
    “devices”: {
    “0”: “digital audio playback”,
    “1”: “digital audio playback”
    }
    }
    }
    }
    }

Hope that helps.

4 Likes