#3 zwavejs2mqtt.zwavejs2mqtt[704264]: Missing plug: «serial-port»

Closed
opened 1 year ago by johntdyer · 12 comments
johntdyer commented 1 year ago

Seem to be getting this error w/ 7.1.0

1:07:53 root@coruscant.local ~ snap logs zwavejs2mqtt                                                           130 ↵
2022-09-07T01:07:53Z zwavejs2mqtt.zwavejs2mqtt[704207]: }
2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE
2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'.
2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.397s CPU time.
2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 52.
2022-09-07T01:07:53Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt.
2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.397s CPU time.
2022-09-07T01:07:54Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt.
2022-09-07T01:07:54Z zwavejs2mqtt.zwavejs2mqtt[704234]: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2022-09-07T01:07:54Z zwavejs2mqtt.zwavejs2mqtt[704264]: Missing plug: «serial-port»
1:07:55 root@coruscant.local ~

Works fine w/ the release channel

Seem to be getting this error w/ 7.1.0 ``` 1:07:53 root@coruscant.local ~ snap logs zwavejs2mqtt 130 ↵ 2022-09-07T01:07:53Z zwavejs2mqtt.zwavejs2mqtt[704207]: } 2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE 2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'. 2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.397s CPU time. 2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 52. 2022-09-07T01:07:53Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt. 2022-09-07T01:07:53Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.397s CPU time. 2022-09-07T01:07:54Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt. 2022-09-07T01:07:54Z zwavejs2mqtt.zwavejs2mqtt[704234]: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2022-09-07T01:07:54Z zwavejs2mqtt.zwavejs2mqtt[704264]: Missing plug: «serial-port» 1:07:55 root@coruscant.local ~ ``` Works fine w/ the release channel

Hi,

Are you on edge?

Hi, Are you on edge?
johntdyer commented 1 year ago
Poster

yes, stable doesnt appear to work w/ Home Assistant 2022.09, if I use it I get the following error:

Retrying setup: Invalid server version: Z-Wave JS Server version is incompatible: 1.21.0 a version is required that supports at least api schema 22

yes, stable doesnt appear to work w/ Home Assistant 2022.09, if I use it I get the following error: ```Retrying setup: Invalid server version: Z-Wave JS Server version is incompatible: 1.21.0 a version is required that supports at least api schema 22```

Hi, ah ok.

You should use the «candidate» channel. The latest/stable is only used for the final patch of latest stable, it will normally be 1 major version behind. Candidate will have rolling releases.

You can switch with

sudo snap switch zwavejs2mqtt --channel=candidate
Hi, ah ok. You should use the «candidate» channel. The latest/stable is only used for the final patch of latest stable, it will normally be 1 major version behind. Candidate will have rolling releases. You can switch with ``` sudo snap switch zwavejs2mqtt --channel=candidate ```

PS! The serial-plug is totally unrelated. It's an optional plug, that you can use if your dongle accepts it. Or if you use the Razberry HATS. But if you use raw-usb plug, that enough.

PS! The serial-plug is totally unrelated. It's an optional plug, that you can use if your dongle accepts it. Or if you use the Razberry HATS. But if you use raw-usb plug, that enough.
johntdyer commented 1 year ago
Poster

So whats interesting is that it wouldnt start at all when using this branch...

2022-09-06T22:40:51Z zwavejs2mqtt.zwavejs2mqtt[80201]: Missing plug: «serial-port»
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.188 INFO APP: Version: 7.1.0.c3e72c4
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.191 INFO APP: Application path:/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:  ______                       _     ___                  _   _
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: |___  /                      (_)   |__ \                | | | |
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:    / /_      ____ ___   _____ _ ___   ) |_ __ ___   __ _| |_| |_
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:   / /\ \ /\ / / _` \ \ / / _ \ / __| / /| '_ ` _ \ / _` | __| __|
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:  / /__\ V  V / (_| |\ V /  __/ \__ \/ /_| | | | | | (_| | |_| |_
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: /_____|\_/\_/ \__,_| \_/ \___| |___/____|_| |_| |_|\__, |\__|\__|
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:                             _/ |                      | |
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:                            |__/                       |_|
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.216 WARN STORE: scenes.json not found
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.256 INFO APP: Listening on port 8091 host 192.168.100.5 protocol HTTP
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: [Error: ENOENT: no such file or directory, scandir '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'] {
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:   errno: -2,
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:   code: 'ENOENT',
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:   syscall: 'scandir',
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]:   path: '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: }
2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE
2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'.
2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.278s CPU time.
2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 275.
2022-09-06T22:40:54Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt.
2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.278s CPU time.
2022-09-06T22:40:54Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt.
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80327]: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80355]: Missing plug: «serial-port»
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.692 INFO APP: Version: 7.1.0.c3e72c4
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.695 INFO APP: Application path:/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:  ______                       _     ___                  _   _
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: |___  /                      (_)   |__ \                | | | |
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:    / /_      ____ ___   _____ _ ___   ) |_ __ ___   __ _| |_| |_
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:   / /\ \ /\ / / _` \ \ / / _ \ / __| / /| '_ ` _ \ / _` | __| __|
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:  / /__\ V  V / (_| |\ V /  __/ \__ \/ /_| | | | | | (_| | |_| |_
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: /_____|\_/\_/ \__,_| \_/ \___| |___/____|_| |_| |_|\__, |\__|\__|
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:                             _/ |                      | |
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:                            |__/                       |_|
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.717 WARN STORE: scenes.json not found
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.749 INFO APP: Listening on port 8091 host 192.168.100.5 protocol HTTP
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: [Error: ENOENT: no such file or directory, scandir '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'] {
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:   errno: -2,
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:   code: 'ENOENT',
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:   syscall: 'scandir',
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]:   path: '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'
2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: }
2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE
2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'.
2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.269s CPU time.
2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 276.
2022-09-06T22:40:57Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt.
2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.269s CPU time.
2022-09-06T22:40:58Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt.
So whats interesting is that it wouldnt start at all when using this branch... ``` 2022-09-06T22:40:51Z zwavejs2mqtt.zwavejs2mqtt[80201]: Missing plug: «serial-port» 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.188 INFO APP: Version: 7.1.0.c3e72c4 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.191 INFO APP: Application path:/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: ______ _ ___ _ _ 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: |___ / (_) |__ \ | | | | 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: / /_ ____ ___ _____ _ ___ ) |_ __ ___ __ _| |_| |_ 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: / /\ \ /\ / / _` \ \ / / _ \ / __| / /| '_ ` _ \ / _` | __| __| 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: / /__\ V V / (_| |\ V / __/ \__ \/ /_| | | | | | (_| | |_| |_ 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: /_____|\_/\_/ \__,_| \_/ \___| |___/____|_| |_| |_|\__, |\__|\__| 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: _/ | | | 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: |__/ |_| 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.216 WARN STORE: scenes.json not found 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: 2022-09-06 22:40:54.256 INFO APP: Listening on port 8091 host 192.168.100.5 protocol HTTP 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: [Error: ENOENT: no such file or directory, scandir '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'] { 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: errno: -2, 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: code: 'ENOENT', 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: syscall: 'scandir', 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: path: '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets' 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80301]: } 2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE 2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'. 2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.278s CPU time. 2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 275. 2022-09-06T22:40:54Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt. 2022-09-06T22:40:54Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.278s CPU time. 2022-09-06T22:40:54Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt. 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80327]: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2022-09-06T22:40:54Z zwavejs2mqtt.zwavejs2mqtt[80355]: Missing plug: «serial-port» 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.692 INFO APP: Version: 7.1.0.c3e72c4 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.695 INFO APP: Application path:/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: ______ _ ___ _ _ 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: |___ / (_) |__ \ | | | | 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: / /_ ____ ___ _____ _ ___ ) |_ __ ___ __ _| |_| |_ 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: / /\ \ /\ / / _` \ \ / / _ \ / __| / /| '_ ` _ \ / _` | __| __| 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: / /__\ V V / (_| |\ V / __/ \__ \/ /_| | | | | | (_| | |_| |_ 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: /_____|\_/\_/ \__,_| \_/ \___| |___/____|_| |_| |_|\__, |\__|\__| 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: _/ | | | 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: |__/ |_| 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.717 WARN STORE: scenes.json not found 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: 2022-09-06 22:40:57.749 INFO APP: Listening on port 8091 host 192.168.100.5 protocol HTTP 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: [Error: ENOENT: no such file or directory, scandir '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets'] { 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: errno: -2, 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: code: 'ENOENT', 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: syscall: 'scandir', 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: path: '/snap/zwavejs2mqtt/428/lib/node_modules/zwavejs2mqtt/server/snippets' 2022-09-06T22:40:57Z zwavejs2mqtt.zwavejs2mqtt[80447]: } 2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Main process exited, code=exited, status=1/FAILURE 2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Failed with result 'exit-code'. 2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.269s CPU time. 2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Scheduled restart job, restart counter is at 276. 2022-09-06T22:40:57Z systemd[1]: Stopped Service for snap application zwavejs2mqtt.zwavejs2mqtt. 2022-09-06T22:40:57Z systemd[1]: snap.zwavejs2mqtt.zwavejs2mqtt.service: Consumed 4.269s CPU time. 2022-09-06T22:40:58Z systemd[1]: Started Service for snap application zwavejs2mqtt.zwavejs2mqtt. ```

Hmmm. It should work, I'm using revision 431. Did you do a snap refresh? Try that, and verify which revision you're at.

Also a new version is baking at the time speaking. There's been some layout issues from day 1 that me and the developer (Daniel) has just cleared out. It should be up in about 20 minutes.

I'll notify you :)

Hmmm. It should work, I'm using revision `431`. Did you do a `snap refresh`? Try that, and verify which revision you're at. Also a new version is baking at the time speaking. There's been some layout issues from day 1 that me and the developer (Daniel) has just cleared out. It should be up in about 20 minutes. I'll notify you :)

amd64 version is out.

`amd64` version is out.

arm64 is out

`arm64` is out

PS! Regard to being on the edge channel, read this: https://github.com/zwave-js/zwavejs2mqtt/issues/2631#issuecomment-1238575394

PS! Regard to being on the edge channel, read this: https://github.com/zwave-js/zwavejs2mqtt/issues/2631#issuecomment-1238575394

armhf is out

`armhf` is out
johntdyer commented 1 year ago
Poster

Thanks!, btw, is the snap part of the offical release now? I only came to this repo because I thought it wasn't and it would be the best way to engage w/ you

Thanks!, btw, is the snap part of the offical release now? I only came to this repo because I thought it wasn't and it would be the best way to engage w/ you

It's not directly, but they have added it as a «deploy method», in their bug reports.

We also cooperate, so they will tell me in case something is reported to them directly :)

However, it's best to report issues related to the snap in this repo or the mirror at Github.

It's not directly, but they have added it as a «deploy method», in their bug reports. We also cooperate, so they will tell me in case something is reported to them directly :) However, it's best to report issues related to the snap in this repo or the mirror at [Github](https://github.com/home-assistant-snap/zwavejs2mqtt/issues).
Sign in to join this conversation.
No Label
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.