-
Notifications
You must be signed in to change notification settings - Fork 30
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
Question about MDNS discovery #32
Comments
I tracked down the difference that the readme mentions; it's just to allow underscores in the name: $ diff -u zc-upstream.py zeroconf.py
--- zc-upstream.py 2021-01-23 23:01:15.599935355 -0800
+++ zeroconf.py 2021-01-23 22:59:07.084524866 -0800
@@ -148,7 +148,7 @@
_TYPE_ANY: "any"}
_HAS_A_TO_Z = re.compile(r'[A-Za-z]')
-_HAS_ONLY_A_TO_Z_NUM_HYPHEN = re.compile(r'^[A-Za-z0-9\-]+$')
+_HAS_ONLY_A_TO_Z_NUM_HYPHEN = re.compile(r'^[A-Za-z0-9\-\_]+$')
_HAS_ASCII_CONTROL_CHARS = re.compile(r'[\x00-\x1f\x7f]') |
FWIW, while querying for |
And closing the loop here: I happened to discover that the "Auto-Optimize Network" function on my UniFi network settings was enabled. One of the consequences of this is to block multicast traffic, and that explains why the normal discovery was not working. With it disabled, I can now see responses to the Sharing this here for puzzled internet searchers of the future! |
This isn't directly an issue with this library, hope that's ok!
I'm looking at coding a Rust client for my dyson devices and I don't see them responding to mDNS queries.
The readme in this project says that it has a modified version of zeroconf because the dyson implementation isn't valid.
I've tried sticking this in the bottom of
zeroconf.py
here to see if I can get something enumerating:but I never see any responses come back. Is there some trick to getting this to work, or is the mDNS implementation in the dyson devices really badly borked? I can see a few issues over in https://github.com/CharlesBlonde/libpurecoollink/issues that relate to auto-connect not working.
The text was updated successfully, but these errors were encountered: