node-red-matter
node-red-matter copied to clipboard
Can't find devices
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.
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?
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 trace or debug
and now ?
journalctl -u node-red should give you all the logs. Check that, then try to pair to the virtual matter device, reproduce the issue, check the logs again and post them here
After start nodered.txt After detect device.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?
Just, deploy in Node-Red and go to configure the device node again, then QR code should be there.
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.
- So make sure (especially with Google) your network has enabled IPv6
- make sure all parties (the host with the device running on/node-red, the hub, the mobile app) and all interact with each other and are in the same network and UDP package flow is not blocked
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 NanoPi is connected to the router via Ethernet cable and my iPhone/Android devices via WiFi to the same router, means same network.
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) Quite simple installation. And just Matter node plugin
Its there any Firewall active on the device?
Not on NanoPi-Dietpi device, May be in the Router for in-outgoing traffic
Check all router settings
What does "ip a" outouts onthe dietpi?
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
Just, deploy in Node-Red and go to configure the device node again, then QR code should be there.
Not entirely sure what I'm supposed to put in the matter server section. I have the Google Home Speaker unit which makes other Matter devices work..
I went to the example and.. Pairing Unable to retrieve pairing data. Make sure you deployed the node first, and that the associated Matter server is running.
Where do you see it ?, Sorry I can't find this item
enter in a SSH shell
root@DietPi:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:81:69:a6:58:a3 brd ff:ff:ff:ff:ff:ff inet 192.168.1.13/24 brd 192.168.1.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::81:69ff:fea6:58a3/64 scope link valid_lft forever preferred_lft forever
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. You could also try the "ESP Rainmaker app" ... just to try other things
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
