-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can't find devices #3
Comments
Hi, could you please provide your flow backup and the Node-RED debug logs from when you start the flow to when the pairing fails through Apple Home? |
This is the flow, |
Thanks, the flow looks in order, I will need the logs to tell you more |
Would you tell me how to get the logs, I've never do it before, sorry |
I just have access to RBPi via SSH or Node-Red web |
You would have to start Node-RED while logged in through SSH, first you will have to update your Node-RED config to set logging level to |
and now ? |
|
After start nodered.txt Those are the logs, just after starting Node-Red, and after trying to detect from iPhone Home app |
Can't see anything wrong, but I'm no expert in matter.js, you could try asking in the Discord channel to see if someone else can provide more help. |
ok, thanks |
Installed, your example set up, using my Google Home Speaker hub device -.. Cant seem to find the QR code to feed into the Google Home device. Your info says documentation on the WIKI but I could ontly find one line of text in there. Am I missing something major here? |
In fact the above logs just show the announcements but noone that tries to catch up or connect. This most likely means issues in UDP/MDNS/IPv6 data flows.
Especially with Docker (no idea if you use it) that all might get interesting Once it works and after scanning the qr code you should see at least "incoming" traffic when the mobile app was able to discover the device |
Thanks Apollon, I'll check. |
i've checked IPv6 on router and NanoPi and both are enabled Don't know how to check UDP flow I don't use docker, just installed DietPi on my NanoPi Neo and Node-Red (with Dietpi-Software) |
Its there any Firewall active on the device? |
Not on NanoPi-Dietpi device, |
Check all router settings |
What does "ip a" outouts onthe dietpi? |
Where do you see it ?, Sorry I can't find this item |
I've checked all menus on router and nothing wrong I guess |
enter in a SSH shell |
root@DietPi:~# ip a |
Ok that looks ok in general ... sotr honestly no idea ... |
Ok, Thanks for your time !!! |
But let me phrase it that way: If you find it out that would be cool. In fact if you tried Google maybe also Try Tuya Smartlife App 8works without an App) or Apple (if you have a hub). There mus be a reason. I personally have this issue that all ecosystems do work beside Alex ... it also never finds and I have no clue why :-( |
PS: mabe try to connect your dietpi via wifi (too) .. if it then works there is maybe an issue with wifi vs lan UDP routing |
ok |
You need to activate mdns support in your network settings or install avahi-daemon vor mdns support. You can check with "tcpdump -i all port 5353" before activating mdns and while the tcpdump is running search for devices with the alexa app/google home. There wont be anything coming in. |
I guess I should have started a separate subject as I've no idea if any of these replies are for me.... this one could not have been for me...
|
@scargill "permission" ... try sudo? |
@itsopti ohh yes this could also be, IF it changes anything else on the system ... in fact matter,js is not using avahi service ... but if mdns is not available "at all" withiut it then yes might be an idea to try |
OK I should have seen that...
Next? |
Yes, sudo ofc, sorry should ve mentioned it. @Apollon77 Matter.js does not need to use a specific service. This should be an OSI-Layer thing i guess. Avahi receives and forwards the mdns pakets to the OS where any program can work with it. As long as any service is receiving and forwarding those network pakets we are fine. @scargill i am sorry, im on the phone right now. It should be tcpdump -i any port 5353 |
Clarification I'm using bog-standard Raspberry Pi operating system, not lite, not using HA or Docker. That any port option just raised a SHEDLOAD od response - not sure gibhub will let me put it in here.
|
@itsopti If you say then good, I do not know linux internals enough to judge it :-) In fact matter.js opens an UDP socket on the host to get MDNS messages and send them out ... |
@scargill it is "-i any" which means that packets for ANY interface will be tracked. You could use "-i eth0" to just capture eth0 but you would need to check if your interface really is named eth0. Mine is named ens160 so -i any is the easy way around. Afterwards it should capture a ton of packages |
A short selection of what comes in...
|
Hi - ok set to TRACE I've tried to remove anything obviously NOT to do with this - as best I can,,, down near the bottom is some stuff about matter.... even then there was too much info so I put it in an included text file...
|
Hi.
I used Node-Red for years with Virtual-Smart-Home plugin, but now I would like to start with Matter.
I've installed your node and imported the example (I just keep one light for simplicity).
Deploying the flow is ok, but Alexa nor Apple Home can't detect the light device.
I tested Alexa app in ios and android without success.
Apple Home says that the device needs a 'Central de accesorios' in spanish to complete configuration, seems to need a bridge or Hub.
My system is a RaspberryPi with Dietpi linux and it is connected via ethernet to my internet router.
Thanks for your nice work.
The text was updated successfully, but these errors were encountered: