Switching from Zwave 1.4 (Deprecated) to Zwave JS

The logs are on the log tab for the addon.

Hi.
I have this node red rule:
When Vanity (21) turns on, Spotlight (22), Fan (23) and Closet (27) turn on

I turned on debug and then flipped the switch for the vanity:


ZWaveJS2MQTT
Innovation System © 2021
Debug
 
 
2021-04-05 12:07:48.292 INFO ZWAVE: Node 21: value updated: 37-0-currentValue false => true
2021-04-05 12:07:48.611 INFO ZWAVE: Node 21: value notification: 91-0-scene-001 0
2021-04-05 12:07:48.731 INFO ZWAVE: Node 22: value updated: 37-0-currentValue false => true
2021-04-05 12:07:49.237 INFO ZWAVE: Node 22: value updated: 37-0-currentValue true => true
2021-04-05 12:07:49.602 INFO ZWAVE: Node 23: value updated: 37-0-currentValue false => true
2021-04-05 12:07:49.740 INFO ZWAVE: Node 23: value updated: 37-0-currentValue true => true
2021-04-05 12:07:50.376 INFO ZWAVE: Node 27: value updated: 37-0-currentValue false => true
2021-04-05 12:07:50.660 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:50.761 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:51.305 INFO ZWAVE: Node 22: value updated: 37-0-currentValue true => true
2021-04-05 12:07:51.309 INFO ZWAVE: Node 22: value updated: 37-0-targetValue true => true
2021-04-05 12:07:51.313 INFO ZWAVE: Node 22: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:52.242 INFO ZWAVE: Node 23: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.246 INFO ZWAVE: Node 23: value updated: 37-0-targetValue true => true
2021-04-05 12:07:52.250 INFO ZWAVE: Node 23: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:52.471 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.634 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.843 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.904 INFO ZWAVE: Node 3: value updated: 50-0-value-65537 1270.596 => 1270.65
2021-04-05 12:07:52.906 INFO ZWAVE: Node 3: value updated: 50-0-previousValue-65537 1270.577 => 1270.596
2021-04-05 12:07:52.909 INFO ZWAVE: Node 3: value updated: 50-0-deltaTime-65537 208 => 600
2021-04-05 12:07:52.939 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.995 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:52.996 INFO ZWAVE: Node 27: value updated: 37-0-targetValue true => true
2021-04-05 12:07:52.998 INFO ZWAVE: Node 27: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:53.070 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.073 INFO ZWAVE: Node 27: value updated: 37-0-targetValue true => true
2021-04-05 12:07:53.076 INFO ZWAVE: Node 27: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:53.151 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.153 INFO ZWAVE: Node 27: value updated: 37-0-targetValue true => true
2021-04-05 12:07:53.155 INFO ZWAVE: Node 27: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:53.204 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.239 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.240 INFO ZWAVE: Node 27: value updated: 37-0-targetValue true => true
2021-04-05 12:07:53.243 INFO ZWAVE: Node 27: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:53.259 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.389 INFO ZWAVE: Node 27: value updated: 37-0-currentValue true => true
2021-04-05 12:07:53.393 INFO ZWAVE: Node 27: value updated: 37-0-targetValue true => true
2021-04-05 12:07:53.398 INFO ZWAVE: Node 27: value updated: 37-0-duration [Duration: 0seconds] => [Duration: 0seconds]
2021-04-05 12:07:53.640 INFO ZWAVE: Node 2: value updated: 50-0-value-65537 33.856 => 33.856
2021-04-05 12:07:53.645 INFO ZWAVE: Node 2: value updated: 50-0-previousValue-65537 33.856 => 33.856
2021-04-05 12:07:53.649 INFO ZWAVE: Node 2: value updated: 50-0-deltaTime-65537 600 => 600

Looks like it takes about 2.5 seconds to get the three switches on. It is interesting that none of these nodes are connected directly to the controller. I wonder if that accounts for some of the delay. (There seems to actually be a delay between flipping the vanity switch and HA appearing to see the state change)

There can be a lot of variability in response time and even with the older integration, it would sometimes be slow, but the fastest response on 1.4 was noticeably faster than the fastest response on ZWaveJS. (And, anecdotally, it “felt” like 1.4 was overall faster.)

This isn’t a deal-breaker. I am still a huge fan of ZWJS (Sorry, I didn’t lead with that, it is an overall better experience, but as you walk into the bathroom and turn on the vanity switch while walking toward the closet this delay is the difference between the closet being dark or lit when you get in there.)

Thanks.

Ah, this is because you’re waiting for the state to appear in zwavejs on a dimmer light. The state doesn’t report on until the targetvalue is reached. If your devices support association groups, you should move to that and you won’t see a delay.

Thank you for the response. None of these devices are dimmers these are switches. so maybe that is part of why zwavejs seems slower? Is it possible there is an issue in how these switches are defined to ZWJS?

Thank you.

Not sure, what kind of devices are these? All my switches are instantaneous.

Unlikely, but you could check the configuration params for each device.

These are GE ZWave Plus enbrighten switches.

https://byjasco.com/ge-enbrighten-z-wave-commercial-grade-wall-smart-switch-quickfit-and-simplewire

I have the exact same ones without this issue.

Weird. Could it be that they were added “weirdly” when I was running 1.4? Do you think removing them and re-paring them would do anything?

I’m not sure how they could be ‘weirdly’ added
 what happened?

Maybe? I’d try one and watch the state after you add it back. See if it solves the issue.

Thank you! I added my first device successfully, and all seems well.

I concur, any chance of documentation to follow?, I looked at the Z-Wave JS doc but it’s not clear as to what the flow should be prior, I assume there are some pre config steps prior to installing the server.

I doubt it as Home Assistant has no control over the server or it’s documentation.

I tried a few months ago and the system never rebooted so I had to reflash the hard drive & load the latest snapshot .
I just retried yesterday evening : Same thing. This morning : Same thing.
Maybe there is something I misunderstood?

SPECS: RPI3, USB hard drive installation, the stick is an Aeon Labs Z-Wave Plus Z-Stick GEN5

STEPS : After having done every steps before, I’ve commented the Zwave part in the configuration.yaml file before shutting down HA, waited a few minutes, powered off the RPI3, waited a few seconds, powered on the RPI3.

[ A LITTLE OFF TOPIC]
If someone in charge of that reads this : There’s apparently a time limit (or size limit or another problem) when loading a snapshot straight away without creating a user account : It gives up uploading after a few minutes (full snapshot + slow wifi here) so every time I had to create an account + install samba share to upload and install my snapshot.
[ END OF A LITTLE OFF TOPIC]

look in your logs and see what’s stopping home assistant from starting back up.

HA
That’s all is left on the HD


I’m talking about after you disable the zwave portion in your config and reboot, not after a snapshot.

That’s after the reboot, not after the snapshot.

If all you did is remove something from the configuration, i.e. comment out the zwave lines, and your system doesn’t reboot, then something is wrong with your OS and setup. It’s unrelated to anything zwave. I recommend bringing this up in a separate thread in the OS sections or on the forums.

Hoping to get a little help.

Currently on the depreciated zwave integration, no issues.

I have a zwave entry in configuration.yaml with usb_path and network_key.

I have tried to upgrade to Zwave JS without success. I am trying the following steps

  1. Snapshot.
  2. stop the zwave integration and delete it.
  3. comment out the zwave entry on configuration.yaml.
  4. reboot, verify all zwave integration is gone, all entities gone
  5. go to add Zwave JS in the integrations section
  6. Goes through install, seems to be working for a few moments/minute
  7. Asks for usb path and network key, I copy and paste from the configuration.yaml entry verbatim
  8. Error: Failed to set Z-wave JS configuration
  9. nothing added, can try again but same thing happens

Help?

what do the logs say? Also, I believe the USB path may have changed, verify it’s correct in the addon. Sometimes the old usb path and the new usb path do not match.