Page 18 of 24

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 10:48
by tjabas
Is it possible to install open zwave in the latest domoticz versions?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 10:53
by HansF
jbaragon wrote: Tuesday 02 January 2024 10:41 As soon as they do not release a version of Domoticz where Zwave is not simply implemented as before, I am switching to another system. Things have to be simpler and for a program to be used by the majority it must be made easy and friendly.
I totally agree with that.
Years ago I just wanted to build a nice home automation system with a Raspberry Pi, Z-Wave and Domoticz. Over time I have expanded it with a number of Sonoff and ESP WiFi modules. All works fine. I don't intend to have to make major and time-consuming changes. Or that the system or app no longer works after an update. Very annoying, and in this way I lose the support of the family.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 10:59
by madpatrick
HansF wrote: Tuesday 02 January 2024 10:53
jbaragon wrote: Tuesday 02 January 2024 10:41 As soon as they do not release a version of Domoticz where Zwave is not simply implemented as before, I am switching to another system. Things have to be simpler and for a program to be used by the majority it must be made easy and friendly.
I totally agree with that.
Years ago I just wanted to build a nice home automation system with a Raspberry Pi, Z-Wave and Domoticz. Over time I have expanded it with a number of Sonoff and ESP WiFi modules. All works fine. I don't intend to have to make major and time-consuming changes. Or that the system or app no longer works after an update. Very annoying, and in this way I lose the support of the family.
Why do you want switch to a diferent system if you do not have made any recent hardware changes and everything is working fine.
Since there are no major changes in the new releases which are for me important for me, i'll not do any updates. The updates will not bring me nog anything new.
Just maintain on 2023.2 and keep it running

btw. Would be nice it release 2023.2 would be kept available to install

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 12:52
by HansF
Correct.
I am using an older Domoticz version and am not going to upgrade.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 13:52
by gizmocuz
I modified the ZWaveJS-UI wiki page, hope it's easier now

https://www.domoticz.com/wiki/Zwave-JS-UI

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Tuesday 02 January 2024 17:34
by AimoPaukku
HansF wrote: Tuesday 02 January 2024 10:53
jbaragon wrote: Tuesday 02 January 2024 10:41 As soon as they do not release a version of Domoticz where Zwave is not simply implemented as before, I am switching to another system. Things have to be simpler and for a program to be used by the majority it must be made easy and friendly.
I totally agree with that.
Years ago I just wanted to build a nice home automation system with a Raspberry Pi, Z-Wave and Domoticz. Over time I have expanded it with a number of Sonoff and ESP WiFi modules. All works fine. I don't intend to have to make major and time-consuming changes. Or that the system or app no longer works after an update. Very annoying, and in this way I lose the support of the family.
Just like my story... Im a long time looked for a reason to start over with something new and simple. This was it

So where to we go next?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 9:08
by gizmocuz
It really does not matter what you choose as it is going to be ZWaveJS-UI whatever (home automation platform) you choose.
Or you just stick with 2023.2.
I am still using Windows 95 as I did not like to upgrade to 98/XP

It's EOL for OpenZWave for 2 years now, this is mentioned on the forum here as well. More than one year (almost two) it is said to migrate.
Yes, this migration will take possible a few hours depending on how much devices you have.
You can't imagine how many hours/weeks of coding time I put into keeping OZW up and running.
So glad that there is a good alternative now.

@madpatrick, you can still install 2023.2 via docker/compose, or check out the source code and compile yourself.
That I (manually) have to build and host beta's/stable's (arm32/arm64/amd64/docker) is also taking quite some time ... every time.
It's a service I perform in my free time, and also paying for the hardware/hosting.

If you want a commercial solution, maybe you should invest in a Fibaro Home Center?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 9:25
by madpatrick
gizmocuz wrote: Wednesday 03 January 2024 9:08 It really does not matter what you choose as it is going to be ZWaveJS-UI whatever (home automation platform) you choose.
Or you just stick with 2023.2.
I am still using Windows 95 as I did not like to upgrade to 98/XP

It's EOL for OpenZWave for 2 years now, this is mentioned on the forum here as well. More than one year (almost two) it is said to migrate.
Yes, this migration will take possible a few hours depending on how much devices you have.
You can't imagine how many hours/weeks of coding time I put into keeping OZW up and running.
So glad that there is a good alternative now.

@madpatrick, you can still install 2023.2 via docker/compose, or check out the source code and compile yourself.
That I (manually) have to build and host beta's/stable's (arm32/arm64/amd64/docker) is also taking quite some time ... every time.
It's a service I perform in my free time, and also paying for the hardware/hosting.

If you want a commercial solution, maybe you should invest in a Fibaro Home Center?
Thanks for your reply and all the effort you are putting in this project.
I've a running system and having not need to upgrade (yet). Also i've a backup on a clean VM which i can use if for some reason my live system wil crash :o
Also i'm very aware that some day i've to change to ZWaveJS-UI and definetaly will do this. But for now i've a good and stable running system which i don't want to change.

Keep up the good work !

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 12:43
by rfvdboom
gizmocuz wrote: Wednesday 03 January 2024 9:08 It's a service I perform in my free time, and also paying for the hardware/hosting.
I think people sometimes forget that people making this kind op projects possible, to invest their knowledge and free time. Otherwise there are other solutions like Homey Pro. But the problem is that this kind of systems are limited. And i hate limits :lol:

I am using Domoticz for many years now. Yes, the are some problems from time to time. But i always found a solution on this forum for it and with the help from other users. So thank u for that! And because of working with Domoticz, i learn everyday a little bit more.

Keep up the good work!

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 15:16
by AimoPaukku
gizmocuz wrote: Tuesday 02 January 2024 13:52 I modified the ZWaveJS-UI wiki page, hope it's easier now

https://www.domoticz.com/wiki/Zwave-JS-UI
I have tried so many times...

Why this OZW had to be removed?

I cannot go back to 2023 version.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 15:33
by gizmocuz
AimoPaukku wrote: Wednesday 03 January 2024 15:16
gizmocuz wrote: Tuesday 02 January 2024 13:52 I modified the ZWaveJS-UI wiki page, hope it's easier now

https://www.domoticz.com/wiki/Zwave-JS-UI
I have tried so many times...

Why this OZW had to be removed?

I cannot go back to 2023 version.
Did you now? And where exactly did it went wrong?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 21:18
by studiocascade
After my recent update, i was really shocked to see OZW being removed.
(yes, i read that it was announced already, but i simply didn't see that before i started upgrading)

Now i'm trying to get ZWaveJS-UI and MQTT running, the way it was instructed on the Wiki.
I'm running on Raspberry Pi and installed Dokker, ZWaveJS-UI and MQTT on it.
The UI is working. I can see my devices through it when i browse to http://[mydomoticzIP]:8091

So i added MQTT AD in Domoticz, but now i get these errors in my log:

Code: Select all

Status: zWave: Connecting to localhost:8091
Error: zWave: disconnected, restarting (rc=14/Success)
What can i do to get it running? It's dark here right now since i can't control the devices anymore :shock:

Edit: Got it running already. I just found that you have to put the IP address into the control panel of Z-Wave JS UI instead of "Localhost"

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 21:45
by AimoPaukku
gizmocuz wrote: Wednesday 03 January 2024 15:33
AimoPaukku wrote: Wednesday 03 January 2024 15:16
gizmocuz wrote: Tuesday 02 January 2024 13:52 I modified the ZWaveJS-UI wiki page, hope it's easier now

https://www.domoticz.com/wiki/Zwave-JS-UI
I have tried so many times...

Why this OZW had to be removed?

I cannot go back to 2023 version.
Did you now? And where exactly did it went wrong?
I did not know, I made normal database backup and just updated, like so many times and trusted this will be better and better.

Now everything is total mess....

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Wednesday 03 January 2024 23:29
by tjabas
i have now installed JS UI but i get this error message:
Driver: Failed to open the serial port: Error: No such file or directory, cannot open usb-0

i have double checked the usb settings and it seems fine, but yet there not.

any idea?

i have a aeotech gen5 z-wave stick.

when i enter this: ls /dev/serial/by-id

i get these connected devices.
the only one it must be of the 4 connected devices must be :usb-0658_0200-if00


usb-0658_0200-if00
usb-RFXCOM_RFXtrx433_A1RTBQE-if00-port0
usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
usb-Silicon_Labs_ZiGate_0001-if00-port

i have entered usb-0658_0200-if00 in both docker-compose.yml and the z-wave settings in JS UI

but there is no connection.

any idea?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 3:18
by skevik1
I had the same problem and I changed the serial port to /dev/zwave and after that it worked.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 8:39
by Jan-
Hello,
Is it possible to upgrade domoticz for windows to Zwave-JS-UI?

Where can i find the latest stable version for windows with Openzwave: 2023.2 exe?

Thanks in advance.

Kind regards,
Jan.

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 11:27
by Bospieper
Hello skevik1,
Where did you change the serial port to /dev/zwave. Is it in Zwavejs-ui or in docker-compose.yml file?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 11:33
by Michel13
Hello,

I am trying to install ZWave-JS-UI on my RPI 3B following the wiki.
The problem starts with the installation of Docker-compose.
This process takes a huge time to complete (almost 1/2h !)

Code: Select all

pi@raspberrypi:~ $ sudo systemctl enable docker
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
pi@raspberrypi:~ $pi@raspberrypi:~ $ curl -fsSL test.docker.com -o get-docker.sh
pi@raspberrypi:~ $ sudo sh get-docker.sh
# Executing docker install script, commit: e5543d473431b782227f8908005543bb4389b8de
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
+ sh -c chmod a+r /etc/apt/keyrings/docker.gpg
+ sh -c echo "deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/raspbian bullseye test" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null
+ sh -c docker version
Client: Docker Engine - Community
 Version:           25.0.0-beta.3
 API version:       1.44
 Go version:        go1.21.5
 Git commit:        8dd2cda
 Built:             Thu Dec 21 00:51:40 2023
 OS/Arch:           linux/arm
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.0-beta.3
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.5
  Git commit:       7bc56c5
  Built:            Thu Dec 21 00:51:40 2023
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.6.26
  GitCommit:        3dd1e886e55dd695541fdcd67420c2888645a495
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

================================================================================

To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:

    dockerd-rootless-setuptool.sh install

Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.


To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/

WARNING: Access to the remote API on a privileged Docker daemon is equivalent
         to root access on the host. Refer to the 'Docker daemon attack surface'
         documentation for details: https://docs.docker.com/go/attack-surface/

================================================================================

pi@raspberrypi:~ $ sudo usermod -aG docker pi
pi@raspberrypi:~ $ sudo systemctl enable docker
pi@raspberrypi:~ $ sudo reboot
It looks like the installation is OK, but at the next step I have the following message :

Code: Select all

pi@raspberrypi:~ $ docker compose up -d
-bash: docker : commande introuvable
I did that twice with same result.
Is there something wrong ? Any idea to solve it ?

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 11:40
by jvdz
.. and what about?:

Code: Select all

sudo docker compose up -d

Re: Easiest way to migrate Openzwave to ZWave-JS-UI

Posted: Thursday 04 January 2024 12:02
by Michel13
@jvdz
I have tried it, same result.
The problem is docker which is not found.
Do you know where it is supposed to be installed ?

Edit : a seach on "docker" gives nothing...