Z-way installation on Raspberry PI 5
Re: Z-way installation on Raspberry PI 5
Is anybody aware if there is by now an automated „Z-way installation on Raspberry PI 5“ available? I tried multiple approaches this week and finally reset my SSD to the status one week before. My view is that an application should not require any OS tweaks to get it running.
Thanks.
Thanks.
-
- Posts: 233
- Joined: 02 Mar 2020 22:41
Re: Z-way installation on Raspberry PI 5
I'm not aware of an automated installation. That being said, the Z-Wave.Me team has written a support article for installing Z-Way on Raspbian Bookworm x64:
If you encounter a problem, please read this forum thread:
Note that the SD card image at https://z-wave.me/z-way/download-z-way/ should not be used on a Pi 5 since the image is based on Debian buster and is incompatible with the Pi 5. Although the image is compatible with earlier Pi versions, buster is quite old (it's been superseded by bullseye which has been superseded by bookworm).
If following the steps in the support article involves more effort than you want, the Z-Wave.Me team sells a hardware appliance called Z-Station that you can buy on Amazon:
Code: Select all
https://help.z-wave.me/en/knowledge_base/art/177/cat/37/installing-z-way-server-on-raspbian-bookworm-x64
Code: Select all
https://forum.z-wave.me/viewtopic.php?f=3422&p=99574
If following the steps in the support article involves more effort than you want, the Z-Wave.Me team sells a hardware appliance called Z-Station that you can buy on Amazon:
Code: Select all
https://www.amazon.com/Z-Station-Z-Wave-Me-Adaptor-Z-Wave-Zigbee/dp/B0CX9DL5CP
Re: Z-way installation on Raspberry PI 5
Thank you for your reply. I will try the installation as you mentioned.
Re: Z-way installation on Raspberry PI 5
I tried to install Z-Way on my RASPI5 8MB using a couple of different ways. None of them worked. Just one example....
1. Z-Way installation by running the "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash" installation script.
2. z-way-server was not running.
/opt/z-way-server/z-way-server: error while loading shared libraries: libzcommons.so: cannot open shared object file: No such file or directory
- currently no solution found
3. Server log: "/var/log/z-way-server.log" is empty
4. Flashed a new OS Bookworm 64Bit
5. Executed changes as suggested by seattleneil at https://forum.z-wave.me/viewtopic.php?f=3422&p=99574
6. Installed z-way again by running "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash"
7. z-way-server was not running (see above 2.)
8. Server log: "/var/log/z-way-server.log" is empty
9. Changed hardware to Raspi4B 8GB,
- flashed a new OS Bookworm 64Bit
- Executed changes as suggested by seattleneil (see above 4.)
- Installed z-way by running the "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash" installation script.
10. Z-way-server is *** running okay *** on Raspi4B.
My conclusion... As of today, Z-Way is not running on Raspi5 with OS Bookworm 64Bit. The development team is requested to fix that problem.
Thank you.
1. Z-Way installation by running the "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash" installation script.
2. z-way-server was not running.
/opt/z-way-server/z-way-server: error while loading shared libraries: libzcommons.so: cannot open shared object file: No such file or directory
- currently no solution found
3. Server log: "/var/log/z-way-server.log" is empty
4. Flashed a new OS Bookworm 64Bit
5. Executed changes as suggested by seattleneil at https://forum.z-wave.me/viewtopic.php?f=3422&p=99574
6. Installed z-way again by running "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash"
7. z-way-server was not running (see above 2.)
8. Server log: "/var/log/z-way-server.log" is empty
9. Changed hardware to Raspi4B 8GB,
- flashed a new OS Bookworm 64Bit
- Executed changes as suggested by seattleneil (see above 4.)
- Installed z-way by running the "wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash" installation script.
10. Z-way-server is *** running okay *** on Raspi4B.
My conclusion... As of today, Z-Way is not running on Raspi5 with OS Bookworm 64Bit. The development team is requested to fix that problem.
Thank you.
-
- Posts: 233
- Joined: 02 Mar 2020 22:41
Re: Z-way installation on Raspberry PI 5
To help the Z-Wave.Me team with a potential solution, can you please run the following 2 commands on your Pi 5 (as root):
echo /opt/z-way-server/libs > /etc/ld.so.conf.d/z-way-server.conf
ldconfig
Next, try to restart the z-way-server by running the following command (as root):
systemctl restart z-way-server
- or if you prefer the old init.d command method - run: /etc/init.d/z-way-server restart
With luck, the "error while loading shared libraries: libzcommons.so" message should disappear.
Please post your results so that a solution can be identified.
echo /opt/z-way-server/libs > /etc/ld.so.conf.d/z-way-server.conf
ldconfig
Next, try to restart the z-way-server by running the following command (as root):
systemctl restart z-way-server
- or if you prefer the old init.d command method - run: /etc/init.d/z-way-server restart
With luck, the "error while loading shared libraries: libzcommons.so" message should disappear.
Please post your results so that a solution can be identified.
Re: Z-way installation on Raspberry PI 5
I tried this...
admin@RASPI05US:~ $ sudo -i su
root@RASPI05US:~# echo /opt/z-way-server/libs > /etc/ld.so.conf.d/z-way-server.conf
root@RASPI05US:~# ldconfig
root@RASPI05US:~# systemctl restart z-way-server
There was no error message. Also /var/log/z-way-server.log remains empty.
Thanks.
admin@RASPI05US:~ $ sudo -i su
root@RASPI05US:~# echo /opt/z-way-server/libs > /etc/ld.so.conf.d/z-way-server.conf
root@RASPI05US:~# ldconfig
root@RASPI05US:~# systemctl restart z-way-server
There was no error message. Also /var/log/z-way-server.log remains empty.
Thanks.
-
- Posts: 233
- Joined: 02 Mar 2020 22:41
Re: Z-way installation on Raspberry PI 5
Please check if the z-way-server process is running. You can run: systemctl status z-way-server.
Note that the log file location and verbosity are configurable. Perhaps the default settings have been changed. Perhaps there's another startup issue. Ideally, the issues will be solved and the Z-Wave.Me team will update their installation instructions.
Note that the log file location and verbosity are configurable. Perhaps the default settings have been changed. Perhaps there's another startup issue. Ideally, the issues will be solved and the Z-Wave.Me team will update their installation instructions.
Re: Z-way installation on Raspberry PI 5
Thank you for your approaches to help. I just started the RASPI5 again and got this message:
z-way-server.service - LSB: RaZberry Z-Wave service
Loaded: loaded (/etc/init.d/z-way-server; generated)
Active: active (exited) since Sun 2024-07-21 00:22:39 PDT; 21h ago
Docs: man:systemd-sysv-generator(8)
Process: 724 ExecStart=/etc/init.d/z-way-server start (code=exited, status=0/SUCCESS)
CPU: 7ms
Jul 21 00:22:39 RASPI05US systemd[1]: Starting z-way-server.service - LSB: RaZberry Z-Wave service...
Jul 21 00:22:39 RASPI05US z-way-server[724]: Starting z-way-server: done.
Jul 21 00:22:39 RASPI05US systemd[1]: Started z-way-server.service - LSB: RaZberry Z-Wave service.
Since I'm unable to connect to the service, I had a look:
admin@RASPI05US:~ $ sudo nmap localhost
Starting Nmap 7.93 ( https://nmap.org ) at 2024-07-21 21:46 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000040s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 997 closed tcp ports (reset)
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
5900/tcp open vnc
I guess there is something really wrong and only the programmers will be able to fix it. Unfortunately, it seems to be very quiet at their end.
Thanks again.
~
z-way-server.service - LSB: RaZberry Z-Wave service
Loaded: loaded (/etc/init.d/z-way-server; generated)
Active: active (exited) since Sun 2024-07-21 00:22:39 PDT; 21h ago
Docs: man:systemd-sysv-generator(8)
Process: 724 ExecStart=/etc/init.d/z-way-server start (code=exited, status=0/SUCCESS)
CPU: 7ms
Jul 21 00:22:39 RASPI05US systemd[1]: Starting z-way-server.service - LSB: RaZberry Z-Wave service...
Jul 21 00:22:39 RASPI05US z-way-server[724]: Starting z-way-server: done.
Jul 21 00:22:39 RASPI05US systemd[1]: Started z-way-server.service - LSB: RaZberry Z-Wave service.
Since I'm unable to connect to the service, I had a look:
admin@RASPI05US:~ $ sudo nmap localhost
Starting Nmap 7.93 ( https://nmap.org ) at 2024-07-21 21:46 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000040s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 997 closed tcp ports (reset)
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
5900/tcp open vnc
I guess there is something really wrong and only the programmers will be able to fix it. Unfortunately, it seems to be very quiet at their end.
Thanks again.
~
-
- Posts: 233
- Joined: 02 Mar 2020 22:41
Re: Z-way installation on Raspberry PI 5
Unfortunately, it looks like solving this problem will involve more effort than simply exchanging a few forum messages.
Please consider asking @PoltoS for support and provide him with ssh access.
If you want to try to troubleshoot the problem further, here's something you can do:
1. Make sure there is no z-way-server process running. You can run the following command to check: ps -ef | grep z-way-server
If there is a z-way-server process running, kill it and confirm there is no z-way-server process running before proceeding to the next step.
2. Run the z-way-server process under the debugger using these commands (as user root):
cd /opt/z-way-server
gdb ./z-way-server
3. You'll see some output from the debugger. At the gdb prompt, run these commands:
handle SIGPIPE nostop
handle SIGILL nostop
handle SIGHUP nostop
run
4. If the z-way-server process exits or fails, run the backtrace command at the gdb prompt. If the z-way-server process runs, type ^C to exit the process.
5. At the gdb prompt, type exit to return to the shell prompt.
6. Add a post to this thread showing everything from steps 2-4.
Depending on the gdb output, additional troubleshooting may make sense, such as running: strace /opt/z-way-server/z-way-server
Please consider asking @PoltoS for support and provide him with ssh access.
If you want to try to troubleshoot the problem further, here's something you can do:
1. Make sure there is no z-way-server process running. You can run the following command to check: ps -ef | grep z-way-server
If there is a z-way-server process running, kill it and confirm there is no z-way-server process running before proceeding to the next step.
2. Run the z-way-server process under the debugger using these commands (as user root):
cd /opt/z-way-server
gdb ./z-way-server
3. You'll see some output from the debugger. At the gdb prompt, run these commands:
handle SIGPIPE nostop
handle SIGILL nostop
handle SIGHUP nostop
run
4. If the z-way-server process exits or fails, run the backtrace command at the gdb prompt. If the z-way-server process runs, type ^C to exit the process.
5. At the gdb prompt, type exit to return to the shell prompt.
6. Add a post to this thread showing everything from steps 2-4.
Depending on the gdb output, additional troubleshooting may make sense, such as running: strace /opt/z-way-server/z-way-server
Re: Z-way installation on Raspberry PI 5
I find it incredibly frustrating that the software doesn’t work seamlessly on the Raspberry Pi 5 (RPI5) right out of the box. Despite spending months trying to address this issue, I still can’t pinpoint the problem. I suspect it’s a rather basic reason. I want to express my gratitude to @seattleneil for dedicating time and sharing ideas to assist us. His expertise is truly commendable. Unfortunately, I lack the same level of knowledge.
Additionally, I’m curious about the status of the ‘z-wave-me’ team/project. The forum activity seems to be in decrease too. Would expected '@Poltos & Company' to be more actively engaged.
Additionally, I’m curious about the status of the ‘z-wave-me’ team/project. The forum activity seems to be in decrease too. Would expected '@Poltos & Company' to be more actively engaged.