- Posted on
Thu Nov 16, 2017 7:52 am
-
bbruck
offline
-
- Posts: 343
- Joined: Oct 05, 2008
This may require more technical ability than I have, but let me see if I can get a little more information.
In digging around, I found that to install Mosquitto I needed to install Homebrew, which I did.
I then installed Mosquitto.
I did NOT do any configuration of Mosquitto from the command line - and have no idea if I should have - I notice the Mosquitto documentation talks about this possibility.
From within Indigo, I then configured the plugin. It asked for a MQTT Server Address and port.
Again, after searching around, I found what I THINK might have been the values for this. I used the local IP address for the Mac that Indigo is on for the MGTT Server address: 192.168.0.12.
And I THINK I was supposed to use port 1883 for the MQTT Server Port, so I've tried that.
I'm having two issues at this point. The first is that when I tried to set up an MQTT Switch device, I am asked for five pieces of information: State Topic, Command Topic, On Payload, Off Payload, and QOS. I'm simply trying to connect a lamp controller switch that I can access via my smartthings hub and app, but have no concept what these values are. Can you point me to where I find documentation for this?
Second, I'm getting the following errors in the log. I suspect it's because I have the wrong values for the server address and port, but don't know.:
GreenSky MQTT Bridge Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 67, in runConcurrentThread
File "plugin.py", line 74, in connectToMQTTBroker
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/GreenSkyMQTTBridge.indigoPlugin/Contents/Server Plugin/paho/mqtt/client.py", line 686, in connect
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/GreenSkyMQTTBridge.indigoPlugin/Contents/Server Plugin/paho/mqtt/client.py", line 808, in reconnect
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 575, in create_connection
error: [Errno 61] Connection refused
GreenSky MQTT Bridge Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Or, please feel free to just let me know that using this plugin assumes a knowledge of coding that I don't have, and I'll move on. Thanks!