Z-way installation on Raspberry PI 5

Discussions about Z-Way software and Z-Wave technology in general
AlesKO
Posts: 84
Joined: 24 Nov 2016 09:58

Z-way installation on Raspberry PI 5

Post by AlesKO »

Just tried to make fresh Z-way installation on Raspberry 5:
1. Used existing SD card from my 'old' Raspberry 3. Z-way installation does not work: "The installed operating system does not indicate support for Raspberry 5". ???

2. Downloaded official Z-way image on SD card: "The installed operating system does not indicate support for Raspberry 5"

3. Downloaded original Raspberry PI OS (64 bit): Raspberry 5 works fine but imposible to install Z-Way: "Not supported"

Any suggestions ?
RandomTask
Posts: 16
Joined: 29 Mar 2019 12:17

Re: Z-way installation on Raspberry PI 5

Post by RandomTask »

I think you have installed Raspberry Pi OS Lite x64 Bookworm. If yes, please read this topic: https://forum.z-wave.me/viewtopic.php?f=3419&t=35967. If it helps you, please write feedback 😀"
AlesKO
Posts: 84
Joined: 24 Nov 2016 09:58

Re: Z-way installation on Raspberry PI 5

Post by AlesKO »

Well this was the 4th method I tried yesterday. I installed full Raspberry PI OS Desktop 64-bit. Desktop is much more appropriate and user friendly for me.

Then I installed z-way (followed 'help.z-wave.me' article: Installing Z-Way server on Raspbian Bookworm x64):
wget -qO - https://raw.githubusercontent.com/msaza ... ay-Install | sudo bash
No errors during installation.

I could not connect to Razberry 7 so I thought it was a bad script...

On 'find.z-wave.me' I can see IP for direct connection to Raspberry. But the link is not accessible.

If this is the right way to install z-way what should I chech next ?

And thank you for your quick response !
AlesKO
Posts: 84
Joined: 24 Nov 2016 09:58

Re: Z-way installation on Raspberry PI 5

Post by AlesKO »

Did some more homeworks:
1. Bluetooth turned off
2. Serial port enabled
ssh.jpg
ssh.jpg (35.13 KiB) Viewed 24488 times
It tells me nothing :shock:
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: Z-way installation on Raspberry PI 5

Post by michap »

Hi,

have you checked /var/log/z-way-server.log ?
On 'find.z-wave.me' I can see IP for direct connection to Raspberry. But the link is not accessible.
Here you can see if z-way-server is running or why was not started.
You can find out the IP with ifconfig on shell - and then use the direct link http://[IP-address]:8123 for your z-way installation

You have connected a RaZberry modul? (this will be second step to enable it, if missing...)

Michael
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: Z-way installation on Raspberry PI 5

Post by michap »

2. Serial port enabled
BTW:
in file /boot/firmware/config.txt you have inserted the last line?

Code: Select all

...
[all]

dtoverlay=pi3-disable-bt
enable_uart=1
Michael
AlesKO
Posts: 84
Joined: 24 Nov 2016 09:58

Re: Z-way installation on Raspberry PI 5

Post by AlesKO »

'/var/log/z-way-server.log' file is empty.

Razberry 7 module works fine on my Raspberry PI 3B. I connected it to Rasp PI 5 before z-way installation.


'/boot/firmware/config.txt' now looks like:
...
[all]
dtparam=uart0=on
enable_uart=1

There must be some issue with new OS setup.?.
If this helps (http://192.xxx.xx.xx:8083): ERR_CONNECTION_REFUSED
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: Z-way installation on Raspberry PI 5

Post by michap »

So looks like z-way is not running at all...

try following:

Code: Select all

/etc/init.d/z-way-server stop  (to be sure that not running)

cd /opt/z-way-server
./z-way-server
Here you see any error messages why it cannot start.

And - I would try to reinstall z-way using the script - without the "q" option, so that you see more output from script:

Code: Select all

wget -O - https://raw.githubusercontent.com/msazanov/Z-WayInstallScript/main/Z-Way-Install | sudo bash
Script was working on 64-bit bookworm fine for me.

Michael
hp1
Posts: 34
Joined: 09 Jun 2015 07:00

Re: Z-way installation on Raspberry PI 5

Post by hp1 »

I am trying to also install on a raspberry pi5. Fresh installation, and get the same results after trying twice (the second time I didn't do the initial update check in case something changed)

After install I get a library issue:
pi@razberry:~ $ sudo /opt/z-way-server/z-way-server
/opt/z-way-server/z-way-server: error while loading shared libraries: libzcommons.so: cannot open shared object file: No such file or directory

If I manually add /opt/z-way-server/libs in the a new file /ld.so.conf.d/zway.conf and then do an ldconfig, I get a different error:

pi@razberry:~ $ sudo /opt/z-way-server/z-way-server
/opt/z-way-server/z-way-server: error while loading shared libraries: libxml2.so.2: ELF load command address/offset not page-aligned

Any ideas?

Edit: I solved this by setting the rpi5 kernel to use 4k pages. So adding this to the config.txt allowed the z-way server to start:

kernel=kernel8.img
Last edited by hp1 on 01 Dec 2023 20:44, edited 1 time in total.
AlesKO
Posts: 84
Joined: 24 Nov 2016 09:58

Re: Z-way installation on Raspberry PI 5

Post by AlesKO »

My 'upgrade' is also 'still in progress' :-(

Would be great if z-way support team prepare installation procedure that works on a new RPI platform.
Otherwise we (non Raspberry PI OS experts) are just wasting our time.
Post Reply