Page 9 of 9

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Fri Dec 07, 2018 6:50 am
by steinis
yes this need to be an option and used wisely, but sometimes its needed.
Another option would be an action to send all device status to the MQTT broker.

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Fri Dec 07, 2018 9:23 am
by Umtauscher
Well in my experience sending the status information is exactly what the plugin is doing right now?!?

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Tue Dec 11, 2018 10:53 pm
by symo
Does anybody have a good "getting started" guide for this. I've successfully setup the the SmartThings side. I can see messages on my broker from both sides... I would like to just see some simple examples of how to implement this.

Thank you,
Jon

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Thu Feb 07, 2019 2:30 pm
by avdhil
Hi! Thanks for this plugin. So far it works great.
Only one thing. Is there a way to filter out devices to be published. Now al my timers and Sonos timing data is pushed out without a real reason.

Cheers,
Alexander

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Mon Feb 11, 2019 12:51 pm
by steinis
I have a question for the Node red flow for Indigo. Its working fine but I can't get the "indigo-get-device" and "indigo-get-variable" to work?

When I change something I Indigo nothing is happening in node red. Is it using the MQTT or Indigo API to fetch the status? Sending to Indigo and the MQTT part is working just fine BTW.

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Mon Feb 11, 2019 2:42 pm
by Umtauscher
Hi steinis,

I have an example for you. This is a fibaro dimmer module that I use with Indigo with complete integration in node red.
This works bidirectional. I hope this helps to figure it out.

Code: Select all
[{"id":"e90289ac.87357","type":"ui_slider","z":"33101acf.2bc8fe","name":"","label":"Deckenlampe","group":"940199d.ee65ce8","order":1,"width":0,"height":0,"passthru":false,"outs":"end","topic":"brightnessLevel","min":0,"max":"100","step":1,"x":640,"y":40,"wires":[["adef157a.c14e48"]]},{"id":"adef157a.c14e48","type":"indigo-set-device","z":"33101acf.2bc8fe","name":"","controller":"2b8f6f57.a868b8","itemname":"Deckenlampe Dimmer","key":"brightness","value":"","x":920,"y":40,"wires":[[]]},{"id":"d4028546.e6c17","type":"function","z":"33101acf.2bc8fe","name":"Brightness Filter","func":"return {payload: msg.payload.newValue};","outputs":1,"noerr":0,"x":420,"y":40,"wires":[["e90289ac.87357"]]},{"id":"af59ff4.3d1138","type":"indigo mqtt in","z":"33101acf.2bc8fe","name":"","topic":"","qos":"2","broker":"9e13ecef.c73ae","controller":"","itemname":"Deckenlampe Dimmer","itemid":"140509571","state":"brightnessLevel","onlyonchange":true,"valuefilter":"","ignoreretainedmessages":false,"x":180,"y":40,"wires":[["d4028546.e6c17"]]},{"id":"940199d.ee65ce8","type":"ui_group","z":"","name":"Deckenlampe","tab":"f6befa.200ce108","order":1,"disp":false,"width":"6","collapse":false},{"id":"2b8f6f57.a868b8","type":"indigo-controller","z":"","name":"Indigo.voyager95.de","protocol":"http","host":"indigo.voyager95.de","port":"8176","username":"wilhelm","password":"telefax"},{"id":"9e13ecef.c73ae","type":"mqtt-broker","z":"","name":"Indigobroker","broker":"mqttbroker.voyager95.de","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","closeTopic":"","closeQos":"0","closeRetain":"false","closePayload":"","willTopic":"","willQos":"0","willRetain":"false","willPayload":""},{"id":"f6befa.200ce108","type":"ui_tab","z":"","name":"Wilhelm_s Büro","icon":"dashboard","order":1}]

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Mon Feb 11, 2019 2:56 pm
by steinis
Thanks. This is similar to what I have done. Then you use the MQTT for input to node red instead of the "indigo-get-device" and thats fine, but I can't see my variables in the "indigo MQTT". Do you have a solution to fetch variables from Indigo to node red?

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Mon Feb 11, 2019 3:04 pm
by Umtauscher
I have never considered variables to be accesible over an MQTT server. So I didn't miss that.
Maybe you should try using a virtual device for that? (just an idea)

Re: GreenSky MQTT Bridge Plugin (SmartThings Bridge)

PostPosted: Tue Jun 04, 2019 7:31 am
by AndyVirus
Is there a way to prevent an Indigo Device from writing to the log and just update the status of the Device?

I have a Smappee power monitor. I just found that hidden away you can tell it to connect to an MQTT broker. I have done so and created a Greensky MQTT Sensor device which subscribes to the topic and parses the value of totalReactivePower. This is published every second (I think it can be delayed if needed in Smappee).

So as it publishes every second it writes the device status to the Indigo log every second which of course is not useful. Any way to not write that device status to a log, only errors?