I've finally worked out how to use this plugin to pass MQTT messages to SmartThings (ST). This has allowed me to integrate my Brilliant.Tech keypads into my Indigo setup. The remaining issue I have though is that I can't get Indigo to display the proper state in the UI (for now just on or off). This is just usually shows as the light bulb icon being on or off. When I toggle the MQTT Dimmer Device in question on or off, the appropriate status message fires, but the device state doesn't change. I have things configured as follows:
I have to believe this is due to me not quite understanding the State Value Location Setting.
The device is controlled by a simple MQTT Message in RAW format. When toggling the device on or off you simple see the following from Mosquitto:
- Code: Select all
...
smartthings/VDS/switch/state on
smartthings/VDS/switch/state off
...
Indigo is properly seeing the MQTT messages and connecting it with the proper device:
Do I somehow have to trigger another MQTT to properly reflect the state somehow? It seems just a message to the topic smartthings/VDS/switch/state with value 'on' should do the trick?