Switching from Zwave 1.4 (Deprecated) to ZWave JS UI (formerly ZwaveJS2MQTT)

It’s an entity that is disabled by default.

1 Like

I am running core-2021.9.7, OS 6.4, with zwavejs2mqtt 0.25.1 and the zwave js integration is talking to zwavejs2mqtt over websockets. I just upgraded to the above from the legacy zwave 1.4 implementation.

All of my devices have reappeared and are connected to home assistant except one troublesome device. It is a small remote control for a shade.It is a Springs Window Fashions, Basic Remote Control Z-Wave, Model BRZ1. The device remains in the interviewing node mode forever. I am unsure how to wake up the remote control so zwavejs2mqtt can finish and set it up correctly after switching from the old to new integration.

Any suggestions welcome!

Thanks in advance for your help.

(http://shared.springswindowfashions.com/SwfShared/pdf/installation/Autoview_Owner_Manual.pdf)

Awesome thanks for that. All working nicely.:+1:

1 Like

Hi firstof9

I really like the states statement you gave me earlier. Do you know if that can be used in the title of a glance card?

I currently have
title: Zwave Nodes {{states|selectattr(‘entity_id’, ‘search’, ‘node_status’)|selectattr(‘state’, ‘==’, ‘alive’)|list|count}}/{{states|selectattr(‘entity_id’, ‘search’, ‘node_status’)|list|count}}

And the result is zwave node 0/0

If I put
{{states|selectattr(‘entity_id’, ‘search’, ‘node_status’)|selectattr(‘state’, ‘==’, ‘alive’)|list|count}}/{{states|selectattr(‘entity_id’, ‘search’, ‘node_status’)|list|count}}

Into dev tools I get 13/13 which is correct.

If it didn’t work I would expect an error or it not to show a value at all. The fact it shows 0/0 makes me think I have a syntax issue.

Or it’s just dumb luck
If you have any ideas I would love to hear them.

Thanks again

I made it a template sensor and just feed that into a glance card:

image

My HA Dashboard config can be seen here if you’d like to see more.

83??? Dude

They’re all benign Unavailables :wink:

1 zwave node offline because I have it air gapped right now :stuck_out_tongue:

Cool I just read the config. I’ll run with that. Thanks again for your help.

1 Like

Finally got a chance to make some test (I was on vacations)… but unfortunately it does nor work :frowning:
This template shows 7 out of 18 nodes, exactly the same that I mentioned that shows on the graph with connections to other nodes. These are alive and have attribute Node Status attribute… Interestingly integration itself shows 11 nodes with status Alive and the rest is Asleep or Unknown (these unknown are actually signal repeaters). Again strange as HA does not show any entities with Asleep status, so this cannot be added to counter…

EDIT: As firstof9 mentioned in his post; problem was with disabled entities on devices that shows the status. After going one by one ad enabling disabled by default entities I got proper total count of devices now. Also Asleep status now shows properly, the template will need to be modified to count also such nodes as active.

When you follow this guide are you supposed to start by installing the docker image or on step 5 when it says to Install ZwaveJS2MQTT addon is that installing it?

If you’re running hassos, you only need the addon

Always get confused with the different releases and what’s called what. I installed my own Linux OS and Docker and installed with:

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s

Which seems missing now. So guess that would be a supervisor install?

Thanks.

JR

Do you have the supervisor tab?

Supervisor tab on the main HA web UI and under Configuration > Info middle column is:

# Supervisor

Version

supervisor-2021.10.0

Newest Version

supervisor-2021.10.0

ok, then you just need the addon for step 5

Cool, thanks. So I backed up my system, walked thru the process successfully, then backed out for now as don’t want to reconfigure my notes yet. That said, remember there is now an automatic way to reconfigure the node names and stuff. Where is that or does that show up somewhere if you just use Z-Wave JS by itself?

if you’re talking about the migrate wizard, it only appears in the old zwave integration.

Have to check it out since i have a virtual and reverted back to pre upgrade. If this is an option when using ZwaveJS2MQTT.

I suggest you look at the overview wiki page I created for zwave so you can learn the differences between each option

OK so when I’ve switched over i go back to apply the original entity names. So for my dimmer switch I had two entries.

light.family_room_light_switch_dimmer
zwave.family_room_light_switch_dimmer

So in the highlighted below is the zwave… one

When I upgrade as guess I’ll call it, the light entity is there when you click on the device, but I can’t find where the zwave… value is set. Not sure I need to but was trying to find it.