mreyn2005 wrote:For mqttGateway, it just crashes. When I setup a new Device for Topic Subscription, no matter what I fill in or don't fill in for the configuration I get:
- Code: Select all
mqttGateway Debug validating configUi
mqttGateway Error Error in plugin execution UiValidate:
Traceback (most recent call last):
File "plugin.py", line 383, in validateDeviceConfigUi
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
OSError: [Errno 2] No such file or directory
FWIW, I figured out why you're having a problem with this plugin. It assumes that the mosquitto binary is in /usr/local/bin, as it creates a sub-process of this command for every topic you want to subscribe to. Then it creates a listener thread for each of those processes.