@Emil said in Matter devices showing offline:
@buckyswider _matterc._udp is for commissioning, so that one is only present while the device is "pairable", typically 15 minutes after boot when the device is factory reset (i.e. no Matter pairings yet).
_matter._tcp shall be advertised after the device has been commissioned (paired), one service per "fabric" (i.e. per "hub" it has been commissioned to), as long as it is powered on and connected to the network. If it does not advertise this service, it will not be possible to reach it by Matter controllers. If you don't see this service when you expect to, it seems like a bug in that device.
Maybe you have devices from other Matter brands you can test with?
Hi again @Emil. The Tapo device seems to be advertising _matter.tcp most of the time now. Surfing the web leaves me confused about expected behaviour of Matter Wifi devices...so I did what any techie would do...I asked chatgpt! Now I know it's not perfect, but that answer seems to be a "No". Really curious is the statement about mDNS query. Again, I'm just spitballin' here, but is it possible that a hub is supposed to issue an mDNS query in normal operation to try to recover an offline device? I did email Leviton support as well to get their take on this. Here is the complete ChatGPT answer. Thanks!
No, a Matter-over-Wi-Fi device does not need to advertise the _matter._tcp
service at all times, but it must do so when it is available for commissioning or reachable on the IP network for control or communication.
Here's how it works:
-
Commissioning Phase:
- The device must advertise the
_matter._tcp
service via mDNS (Multicast DNS) during commissioning to allow controllers (e.g., smart home apps) to discover it.
- This includes service subtypes that convey info like device type, vendor ID, etc.
-
Operational Phase:
- Once the device is commissioned and in normal operation, it can limit or stop advertising
_matter._tcp
to reduce network chatter.
- However, it must re-advertise it again if requested (e.g., via an mDNS query) or when the device is rebooted, comes back online, or changes its network configuration.
-
Dormant/Low Power Devices:
- Battery-powered or low-power devices can defer or limit mDNS advertisement when in a sleep state, as long as they resume it appropriately when active or queried.
Summary:
A Matter-over-Wi-Fi device does not need to continuously advertise _matter._tcp
, but must do so when it's discoverable (e.g., commissioning) or active on the network.