-
Notifications
You must be signed in to change notification settings - Fork 14
[Bug]: all devices shown as offline in Google Home #176
Comments
I am running into the same issue on v1.4.1. Do you have any Active Sessions or any update on the issue? |
Could you provide some details?
|
no update on the issue from my side. I have the feeleing it is due to the usage of VLANS, but not yet the time to look into it further |
There are definitley some restrictions for matter regarding VLANs.
https://github.com/project-chip/matter.js/blob/main/docs/TROUBLESHOOTING.md#network-considerations |
It is connected to home assistant and can see state changes, google can see the devices and entities I have exposed as a test but they are always offline. It is installed via docker-compose as is home assistant not HAOS or as an addon. |
Could you add another screenshot of the "devices" page? You say Google Home updates the status coming from matter - even when its showing the devices as offline? That's strange... |
It seems similar to this issue but not sure how to resolve: |
Is there any further updates on this? I've just set up Matterbridge in docker and exposed entities from Home Assistant to it. That bit went fine and I can see everything I exposed in Matterbridge. I added the entities to Google Home but they all show Offline. I use a Unifi network and although I do have my Google devices on a separate vlan I don't usually have any issues. My Home Assistant and docker setup all runs on the main LAN so that shouldn't cause any issues. |
No still stick at that point too. I have a Cisco switch with ipv6 enabled and a single vlan. I can ping6 devices across the network without issue. I have been trying for the last couple of months with no luck. |
I've enabled ipv6 on my Unifi setup. I deleted the previous devices in Google home and then reset Matterbridge so I could start the process fresh. None of that helped. Devices still show Offline :( |
I am so sorry, that i am not very helpful here, but i am not that experienced with network setups and network requirements of matter. Anyway this bug still looks a lot like the bug posted in the matterbridge rep (posted by bobbieluke1 before):
Could you please
Maybe this will lead us to some root cause. |
You were right to go along with IPv6 being the issue. I now have it fully working (connected to Google Home and showing Active Sessions in Matterbridge). I went to https://unique-local-ipv6.com/ and generated an IPv6 address. So for example I got fd55:7362:3cf0::/48 I converted this to fd55:7362:3cf0:1001::/64 (changed the end bit from ::/48 to 1001::/64) and pasted it into the IPv6 tab in the network setup on Unifi. After doing that I rebooted my Matterbridge server and observed that the Matterbridge UI was now showing an IPv6 address in the subnet above. Suddenly Matterbridge reported that Google Home was active and it all worked. EDIT: Just to clarify. I added the 1001 because I also set up another IPv6 for a seperate VLAN on 1002 just so I could easily tell which VLAN a device was on by looking at its IPv6. Many thanks for this plugin :) |
Could you share more details about your Unifi configuration, I have similar issues with all the devices showing as offline in Google Home and I'm also using a Unifi network. I read on this page, Effortless Matter setup with Unifi, that Multicast DNS should be off but it doesn't make any difference for me if I disable it. My setup:
At first I had the IPv6 Interface Type set to "None" in the network settings but I changed it to "Static" and replicated what you did with generating an IPv6 address and copying it to the settings. The other IPv6 settings was set to "Auto", but I've now changed that to manual settings and using Client Address Assignment set to "DHCPv6" instead of the default "SLAAC" (made no difference). Once I updated the IPv6 subnet I restarted the server and verified that both the server itself and the Matterbridge UI showed the same IPv6 address and that it was in the subnet. The device is added in Google Home but it goes offline soon after being added, it's also named "bridge" and all the lights are listed as "bulb" instead of their real name and placed in an unassigned room: I also get this error message in the log (three times) when I add the device. I assume it's related to why the devices go offline:
I've reset the Matterbridge commissioning and re-added the device several times trying different network settings, but they all end up with offline devices. One time I was asked to select the room for the bridge when I added it, that time the bridge was actually given the name I entered while adding it and it was placed in the room I selected. But instead none of the lights were added, only the bridge, and it still went offline soon after being added. But I haven't been able to reproduce that behavior (only bridge added but with correct name) since then. |
I had been finally able to get it up and running. After this, I had to turn on IoT Auto-Discovery for the IoT network and Multicast Filtering off. I was able to connect to Matterbridge with a Tablet which is also on the IoT VLAN. Before, I could not set it up correctly, so it must be something with the communication between Default and IoT VLAN. |
What happened?
I have set up the Matterbridge via unRaid. It seems that the connection to Home Assistant is fine since all the lights are shown.
The pairing with Google Home is working as well, but after this all devices are shown as offline and I can't toggle them.
Your configuration
No response
Relevant log output
No response
Version
Matterbrigde 1.3.13 // Plugin 1.6.17
The text was updated successfully, but these errors were encountered: