Erreur avec zwave-js-ui
Publié : 07 janv. 2023, 14:15
Bonjour,
Je viens d'installer zwave-js-ui et j'ai cette erreur pour ma cle usb stick zwave qui est en /dev/ttyUSB-ZStick-5G -> ttyACM0 : Missing plug: «serial-port»
est ce le bon choix d'avoir installé zwave-js-ui au lieu de zwavejs2mqtt ?
Je viens d'installer zwave-js-ui et j'ai cette erreur pour ma cle usb stick zwave qui est en /dev/ttyUSB-ZStick-5G -> ttyACM0 : Missing plug: «serial-port»
Code : Tout sélectionner
zwave-js-ui.help
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Missing plug: «serial-port»
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
zwave-js-ui - v8.6.2
IMPORTANT! The DAEMON/SERVICE is disabled by default after installation.
You have to manually 'daemonize' it with executing the command
$ zwave-js-ui.enable
Set your configuration as descrived below
Server configuration values: {
"server": {
"force-disable-ssl": false,
"host": "localhost",
"port": 8091,
"ssl": false
}
}
- server.ssl: Use secure communication
- server.host: IP address to bind to, e.g 127.0.0.1
- server.port: Port to reach the web interface
Session configuration values: {
"session": {
"cookie-secure": "",
"secret": "068c528a-8e72-11ed-bcf2-e3d399aeed28"
}
}
- session.secret: Used as secret for session. If not provided a default one is used.
- session.cookie-secure: Set the cookie secure option. See: https://github.com/expressjs/session#cookiesecure
Session configuration values: {
"mqtt": {
"name": ""
}
}
- mqtt.name: The name used as client name when connecting to the mqtt server.
Set options with: $ snap set zwave-js-ui param=key
For example: $ snap set zwave-js-ui server.host=0.0.0.0
Other settings can be set in the UI after start.
If you have turned OFF «log to file», follow the log(s) with
$ sudo snap logs zwave-js-ui -f
OR if you have turned ON «log to file», tail the logs with
$ tail -f /var/snap/zwave-js-ui/49/*.log
Other commands
Disable the daemon: $ zwave-js-ui.disable
Restart the daemon: $ zwave-js-ui.restart
Info on the serial-port plug:
This plug requires the experimental hotplug feature in snapd.
Enable it with
$ sudo snap set system experimental.hotplug=true
And restart snapd with:
$ sudo systemctl restart snapd
Now list available serial slots with:
$ sudo snap iterface serial-port
And connect it to zwave-js-ui with:
$ sudo snap connect zwave-js-ui:serial-port <slot name>