Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new devices Smart Scan Hit or Miss #7192

Open
3 tasks done
heffneil opened this issue Sep 17, 2024 · 22 comments
Open
3 tasks done

Adding new devices Smart Scan Hit or Miss #7192

heffneil opened this issue Sep 17, 2024 · 22 comments
Labels
Tech Support 📞 Not a bug, but someone who needs help... Have you tried turning it off and on again?

Comments

@heffneil
Copy link

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Docker

Z-Wave JS UI version

zwave-js-ui: 9.18.0.5040e7e

ZwaveJS version

13.2.0

Describe the bug

I can not reliably add devices. I just added a device and it worked. Then I follow the same procedure and it just never even tries to find it. I have tried 4 or 5 new switches 10 times each.

To Reproduce

On my Iphone with the latest updates (ios18) I go to provision and smart scan and scan the qr code on these zooz on/off switches. ZEN76 800LR

Expected behavior

these switches should just get added. I don't see inclusion mode activate on the top bar on my phone. I have no idea what is going on but I am losing my mind trying to do this SO many times with poor to no results. Please help

Additional context

No response

@heffneil heffneil added the bug Something isn't working label Sep 17, 2024
@robertsLando
Copy link
Member

Please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

@heffneil
Copy link
Author

Can I paste it here safely? Also I have another problem where I can't get to my zwave interface no chrome or safari on my phone unless I use an incognito window. I tried clearing all cookies and browsing data for all time on chrome and I get "Load Failed with RETRY refresh" on the screen. I have the bottom bar of the interface but that's it. SO strange.

@robertsLando
Copy link
Member

Can I paste it here safely

Yes

Also I have another problem where I can't get to my zwave interface no chrome or safari on my phone unless I use an incognito window

@heffneil are you using a proxy? Could you show me chrome console?

@heffneil
Copy link
Author

I am using a cluster of hosts behind nomad with traefik. I don't know if that clarifies your question but like I said incognito and browsers on the computers work. Chrome and Safari not so much.

@heffneil
Copy link
Author

zwave-js-ui-store.zip

@robertsLando
Copy link
Member

@heffneil Did you also setup an external auth on your proxy?

About the main issue could you explain me if the qr scan completes sucessfully (so you see the provisioning entry on the table) and then the device is never added or if it's the scan that is failing?

@heffneil
Copy link
Author

I don't know I am only using this locally. Smart Scan will just wait and wait for hours and then finally they will come online but it takes far too long. I added devices manually but it still doesn't get in to the provisioned list. Just in the smart scan list.

@robertsLando
Copy link
Member

@heffneil do you scan deviced from "Provisioning Entries" tab or from the control panel nodes manager dialog?

@heffneil
Copy link
Author

I go in to Provisioning Entities and do smart scan and scan the qr code. from that point it isn't clear what is happening next but usually it takes HOURS before something will kick in.

@robertsLando
Copy link
Member

@AlCalzone

@AlCalzone
Copy link
Member

According to your log, a device starts requesting to join the network via SmartStart at 04:09:48 UTC and continues to do so until 11:34:25 UTC. However the DSK that belongs to those requests is not in your provisioning list, so it does not get included.
I assume that's when you gave up and included it manually.

If you can share one of the QR codes of a device that would not include, I can see if I figure out why. I assume the QR code is incorrect though (swapped boxes maybe?)

@heffneil
Copy link
Author

I can provide whatever. I have tried to add tons of devices and when I do the smart scan it can literally take hours. Now I don't know if i have to put the device in inclusion mode or whatever - but I never do and eventually they seem to be found. Im just at a loss. Im also trying to add these devices as long range and despite having the proper configuration with security keys and setting USA Long Range that doesn't seem viable.

@robertsLando I still dont' have resolution on the iPhone unable to render without incognito mode.

@AlCalzone
Copy link
Member

if i have to put the device in inclusion mode or whatever - but I never do and eventually they seem to be found

Seems like you're doing it right then. Let me see the QR code from the attempt in your log above.

@heffneil
Copy link
Author

zwave-js-ui-store (1).zip
More problems today.

@heffneil
Copy link
Author

I do think I had some success with scanning the QR code, checking the active box and then triple clicking my zooz switch. But after three it just dragged to a halt - I had to restart the container and then later they started to come in. There are two that never made it in for some reason. They show in the list as unknown and I can't seem to get them to get interviewed.

@robertsLando robertsLando transferred this issue from zwave-js/zwave-js-ui Sep 26, 2024
@AlCalzone
Copy link
Member

Which Z-Wave stick do you have? On which firmware?

@AlCalzone AlCalzone added Tech Support 📞 Not a bug, but someone who needs help... Have you tried turning it off and on again? and removed bug Something isn't working labels Sep 26, 2024
@heffneil
Copy link
Author

I am using a RaZberry 7 Pro with an external antenna on a network adapter from Tube

@AlCalzone
Copy link
Member

FWIW, dropping a 900000 lines logfile with the comment "more problems" is not particularly specific.

They show in the list as unknown

Which nodes are "they"?

In any case, that logfile shows that you receive a meter report on average every 2.5 seconds, in some cases much more frequently. If routing is involved, there's likely even more permanent traffic on the mesh.
It's very likely that this has a lot to do with the issues you're seeing. I suggest giving https://zwave-js.github.io/node-zwave-js/#/troubleshooting/first-steps?id=reduce-reports-from-the-network a good read to improve that situation.

@heffneil
Copy link
Author

heffneil commented Sep 26, 2024

I will be honest I didn't look at the log files - I just zipped them up. I tried to add several devices and played the join the network crapshoot game. I was able to have 3 devices join quickly and properly and several others that took standing on one leg and patting the top of my head and rubbing my belly to get to join and others that just totally refused. Now on day 2 I was able to get the last of them joined. I appreciate the link. I am struggling with over-saturation of my wifi network and transitioning to zwave devices to clear up the airwaves. Some growing pains getting the devices in but once they join and I stop adding more devices I think things are fairly reliable.

@heffneil
Copy link
Author

I see what you are saying and the problem is I looked on the zooz website about reporting and I don't know how to set it report less often.

Parameter 16: Choose how the switch reports its status back to the hub.

Values: 0 – Binary switch report for Z-Wave control, basic set report for paddle control; 1 – binary switch report for both Z-Wave and paddle control (default)

Size: 1 byte dec

@AlCalzone
Copy link
Member

AlCalzone commented Sep 27, 2024

I will be honest I didn't look at the log files

What I meant to say, I need specifics to look for in such a huge logfile, e.g. "Node xyz shows in the list as unknown and I can't seem to get it interviewed."

I don't know how to set it report less often.

Which specific device is it? Does it do energy metering? Do you have a link to the website?

@heffneil
Copy link
Author

I do have some lamp modules and other power monitoring devices but truthfully that's not what I am using them for. 99% are zooz devices ZEN04 800LR and 2 of the minoston MP21Z / MP31Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tech Support 📞 Not a bug, but someone who needs help... Have you tried turning it off and on again?
Projects
None yet
Development

No branches or pull requests

3 participants