Page 1 sur 1

Erreur avec zwave-js-ui

Publié : 07 janv. 2023, 14:15
par pierrotori
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»

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>
est ce le bon choix d'avoir installé zwave-js-ui au lieu de zwavejs2mqtt ?

Modération

Publié : 07 janv. 2023, 17:12
par Keros
Je viens de déplacer ton message dans un nouveau sujet dans la section Zwave.

Re: Erreur avec zwave-js-ui

Publié : 09 janv. 2023, 20:55
par pierrotori
j'ai reussi à installer zwave-js-ui par contre je suis revenu en arrière car j'avais 3 repertoires loop sur disque qui était à 100%
Apparemment cela serait à cause de l’utilitaire snapd qui permet d'installer les pakages

y a t'il un moyen d'installer zwave-js-ui sans snap ?

Re: Erreur avec zwave-js-ui

Publié : 09 janv. 2023, 21:05
par pierrotori
oui on pourrait avec cette procédure https://github.com/zwave-js/zwave-js-ui ... sions/1350

je reviens sur la gestion /dev/loop0 is full comme sur ce lien
https://unix.stackexchange.com/question ... free-space

j'ai trouvé des infos https://forum.ubuntu-fr.org/viewtopic.php?id=2028913

les vôtres sont toujours à 100% aussi ?

Re: Erreur avec zwave-js-ui

Publié : 10 janv. 2023, 18:57
par pierrotori
vous avez installé zwave-js-ui avec l’installation Docker ou snap ?

Personne pour la question , je dois être le seul à l'avoir installé :D