When I register two mDNS listeners, only one of them ever gets results.
I have this:
registerMDNSListener('_shelly._tcp')
registerMDNSListener('_http._tcp')
... stuff here...
List<Map<String,Object>> shellyEntries = getMDNSEntries('_shelly._tcp') ?: []
List<Map<String,Object>> httpEntries = getMDNSEntries('_http._tcp') ?: []
"shellyEntries" gets some responses. "httpEntries" does not.
I've got 2 different third-party mDNS scanner apps, both show TONS of stuff on _http._tcp but they never show up in Hubitat. This runs in a callback from this line in my code: subscribe(location, 'systemStart', 'systemStartHandler') and I've tried rebooting the hub.
The fact that one of them works and the other doesn't pretty much eliminates it being something I've done wrong, since if that was the case then neither would be working. I've also tried using ONLY the _http._tcp one by itself, in case it was an issue of only being able to use one at a time, and that didn't make any difference.
Is there something else that needs done here? Or some other way to register/unregister the listeners that isn't "documented" in the post @gopher.ny posted a while back about this?