-
Notifications
You must be signed in to change notification settings - Fork 84
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
example-mqtt.py Doesn't Work #9
Comments
Interesting! Open to a PR to fix it - sounds like it should be fixable if the minimal example still works |
I would open a PR, but I have no idea how to fix it. |
Actually, looks like it might be a config or Python issue on your computer? https://stackoverflow.com/questions/23777121/why-am-i-getting-socket-gaierror-errno-2-from-python-httplib |
That issue is a problem with the use of .local addresses instead of IP addresses. I think this issue has something to do with the MQTT_HOST variable. It's set to "jarvis". I don't think this is a valid hostname. That's probably why it doesn't work. I imagine you have to set up an MQTT server and put its address in that variable. |
Ah yep! Let me know if setting up an MQTT server on your end and changing MQTT_HOST to point to it works for you - if it does, I'll update the docs to clarify that :) |
When I try to run the
example-mqtt.py
file, I get an error (Fedora 25, 64-bit).example-minimal.py
works as expected.The text was updated successfully, but these errors were encountered: