GreenSky MQTT Bridge Plugin (SmartThings Bridge)

Posted on
Tue Jun 26, 2018 3:15 pm
jh71283 offline
Posts: 107
Joined: Jun 16, 2014

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

It seems to me that there are some exceptions being thrown silently somewhere which is very frustrating.

When you set up V2 it should have given you some default superbridge patterns, but here are the defaults just in case that is not working:

SuperBridge Out
house/devices/{DeviceName}/{State}

SuperBridge In
house/devices/{DeviceName}/{State}/set

SuperBridge Action Groups
house/scenes/{ActionGroup}/execute

The plugin will substitute those placeholders for your device names, and subscribe accordingly, so if you have debugging enabled you should see a subscription for every device.

I know this is testing your patience, but if one of you guys that are experiencing problems could try setting these patterns, I'd appreciate it!

Posted on
Wed Jun 27, 2018 11:27 am
BonfireVA offline
Posts: 39
Joined: Sep 17, 2017

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

jh71283 wrote:
It seems to me that there are some exceptions being thrown silently somewhere which is very frustrating.

When you set up V2 it should have given you some default superbridge patterns, but here are the defaults just in case that is not working:

SuperBridge Out
house/devices/{DeviceName}/{State}

SuperBridge In
house/devices/{DeviceName}/{State}/set

SuperBridge Action Groups
house/scenes/{ActionGroup}/execute

The plugin will substitute those placeholders for your device names, and subscribe accordingly, so if you have debugging enabled you should see a subscription for every device.

I know this is testing your patience, but if one of you guys that are experiencing problems could try setting these patterns, I'd appreciate it!



Because I have not had great success with this or the other MQTT plugin, I ended up using a combination of python scripts, NodeRed, and the Indigo RestAPI to integrate my MQTT devices into Indigo. That approach is actually working very well and so far is very stable, but it certainly is more work each time I need to add a new device....

That said, I should be able to give this a try later this afternoon and will let you know if it makes a difference for me.

-Eric

Posted on
Wed Jun 27, 2018 3:54 pm
BonfireVA offline
Posts: 39
Joined: Sep 17, 2017

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

Added the defaults in the bridge settings, didn't seem to make any difference.

Posted on
Wed Jul 18, 2018 12:34 pm
jh71283 offline
Posts: 107
Joined: Jun 16, 2014

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

Hi Guys

I've published a new version, but the main aim for this release is to get more information on errors that are getting thrown.

This release will automatically submit errors to my RayGun.io account, so that I can see and debug them more effectively.

Posted on
Sun Aug 05, 2018 12:09 am
steinis offline
Posts: 47
Joined: Jul 17, 2015

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

Thanks for great plugin!
Is it possible to add a retain function to the plugin and how can I receive values from for example a dimmer from HASS?

My goal is to use indigo as the z-wave controller(since indigo is by far the fastest to handle to handle z-wave!) and Hass as the main system.

Posted on
Sat Aug 11, 2018 8:48 am
Umtauscher offline
User avatar
Posts: 306
Joined: Oct 03, 2014
Location: Cologne, Germany

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

Hi jh71283 ,

thanks for the plugin but if I am not doing something wrong, it doesn't support subscriping for the state topic.
Like others I am experimenting with a sonoff device using Tasmota.
I have proper control over the device meaning switch on/off works without problems. Unfortunately the state that the device shows is only rendered locally and has nothing to do with the actual state of the device. This means I only get the correct state, if Indigo switches the device. If I use the button on the sonoff or switch it using it's own webpage, the statechange isn't rflected in Indigo.

When I switch debug on in the plugin settings, really nothing additional is shown in the log.
Except for that single line
GreenSky MQTT Bridge Debug logger debugging enabled

Nothing else happens.

When I doubleclick on the state icon in Indigo, the state icon and the state in the list change, but the device is not switched.
If I am doing something wrong here are the parameters I set.

Configure dialog of the plugin:
Code: Select all
MQTT Server Address: localhost  - moquitto is installed on the same machine as Indigo and it's working fine
MQTT Server Port: 1883
MQTT Server USer Name: <MyUsername>
MQTT Server Password: <MyPassword>
Superbridge pattern (out): <empty> - I really don't know what this is for...
 Superbridge pattern (in): <empty>  - dito
Superbridge pattern (Action Groups): <empty>  -dito
Enabel debugging: checked - makes no difference


I created a MQTT switch using the following settings:
Code: Select all
state topic: stat/sonoff/POWER
Command topic: cmnd/sonoff/POWER
ON Payload: ON
OFF Payload: OFF
QOA: 0 - what does that mean?


I really hope you can do something about it.
Cheers

Wilhelm
Last edited by Umtauscher on Sun Aug 12, 2018 8:58 am, edited 2 times in total.

Posted on
Sat Aug 11, 2018 8:59 am
Umtauscher offline
User avatar
Posts: 306
Joined: Oct 03, 2014
Location: Cologne, Germany

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

supplemental:
I just downloaded the 1.0.1 Version and the state is showing correctly there.

Unfortunately the double click on the state doesn#t work either.
Just to let you know....

Who is online

Users browsing this forum: No registered users and 1 guest