Open vatrat opened 7 years ago
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.