Snap missing serial-port

Hi,
my installation was working fine for the last 2 years and today, I’ve got a ‘missing serial-port’ on snap / zwave-js-ui. I cleaned everything, uninstalled snapd, deleted all the files and retry with same error below.

  1. yes I’ve enabled hotplug in snapd
  2. yes I’ve restarted snapd
  3. yes the USB aeon stick is connected (/dev/ttyACM0 for example)

Any help ?

root@pi4:~# snap install --channel=stable zwave-js-ui

zwave-js-ui v8.17.1 from Giaever.online (giaever-online) installed
root@pi4:~# 
root@pi4:~# snap connect zwave-js-ui:raw-usb
root@pi4:~# snap connect zwave-js-ui:hardware-observe
root@pi4:~# snap interface serial-port
name:    serial-port
summary: allows accessing a specific serial port
plugs:
  - zwave-js-ui
root@pi4:~# zwave-js-ui.enable
Missing plug: «serial-port»
Service enabled!
- If you have turned OFF «log to file», follow logs with:
  $ snap logs zwave-js-ui -f
- If you have turned ON «log to file», follow logs with:
  $ tail -f /var/snap/zwave-js-ui/189/*.log

root@pi4:~# snap set system experimental.hotplug=true
root@pi4:~# systemctl restart snapd
root@pi4:~# snap interface serial-port
name:    serial-port
summary: allows accessing a specific serial port
plugs:
  - zwave-js-ui

You’ll want to report that to the author of the snap.

Snap is not likely to every be a good match with Home Assistant. When a new version Home Assistant is available it automatically updates the app, you have no control. Upgrading to a new version of Home Assistant (and all the Addon packages plus oddball app you might be using) has to be a very deliberate well planned process. You are at the mercy of the author of the Snap package.

I initially used Snap just to get Home Assistant going quickly and easily on an OS I was very familiar with. But when it comes to long term stability, not such a good choice.

1 Like