#2022.3.4 zwave version

1 messages · Page 1 of 1 (latest)

heavy helm
#

I have zwavejs2mqtt: 6.4.1.db1571e
homeassistant@ /srv/homeassistant
└── zwave-js@8.11.9
zwave-js-server v1.15.0 installed in HASS Core version 2022.2.7 when I upgrade to 2022.3.4 it says it needs upgrade yet the three are as new as I can find.

rough blaze
#

6.4.1 is an ancient release of z2m. not sure how you would have that plus just released driver version.

#

"ancient" as of two months ago. 😆

#

6.4.1 uses server 1.14.1 and driver 8.11.1

shut warren
#

that might be explained by semver

#

if z2m has ^8.11.1 as the version range, that inicludes .9

rough blaze
#

so this is a custom build?

#

6.5.2 references ^8.11.6

#

same thing I guess

shut warren
#

yep

#

^ includes everything higher on the same major version

rough blaze
#

Server though is specified as ^1.14.1 in 6.4.1

shut warren
#

1.15.x is the same semver major as 1.14.1

#

so that is also compatible

#

it might make sure to switch to ~ versions, so only the same minor version is accepted

rough blaze
#

there's a calculator, nice

#

The error message from HA shows the version number of the connected server. If it's not showing 1.15.0, then something is up with the upgrade.

heavy helm
#

Ok, I had used SNAP to load zwave-js and had to tell snap to remove it then to install it. I also reloaded the latest zwave-js-server (more than once since it didn't take the first time and now I am running HASS Core 2022.3.5 Thanks all for suggestions

#

Oh, I also had to do an npm install refresh of typescript which seems to dissappear every time I do anything.

#

Again, Thank You All. Home Assistant had a good core group

rough blaze
#

Which snap package is this?

zinc slate
#

I'm not fond of snap

rough blaze
#

If it's the zwavejs2mqtt snap, then there's no reason to install typescript and other node modules.

#

If it's some kind of node snap instead, why not just go with zwavejs2mqtt?

heavy helm
#

The typescript was needed for zwave-js-server which I reloaded from Github. The Snap is (iirc) what loads zwave-js which I think may have been the underlaying problem with version. Oh and I had to reboot everybody to get them all running together as one.

rough blaze
#

You're just running plain nodejs in a Snap?

heavy helm
#

Zwave-js-server is a ts-node app.

rough blaze
#

Yes, I realize that

#

Not following the relationship with Snap

heavy helm
#

Well heck, I am getting rather superannuated after 60 yeard of these damn things and wouldn't know plain nodejs from strawberry

rough blaze
#

And you don't need to install typescript if you install the npm package, FYI

#

Most users do not install these things manually as you are, so just curious as to your use case

heavy helm
#

npm will install Zwave-js-server ??? Ok, that would probably be a lot easier.

rough blaze
heavy helm
#

Installing manually... LOL well I am and have been addicted to manually telling a computer what to do. First it was switches, then it was punch cards and punch tape. I played a lot with MASM but love the different script languages.

#

My first computer, an IBM 1401 at NSA's JSPC

#

1962