Smartthings issue
Posted: 09 Jul 2019 02:24
I just got my Z-uno this afternoon, and it took me all of 15 minutes to get the thing upgraded to the latest firmware, a basic example sketch loaded, and paired successfully into my Smartthings hub. Out of the box, this looked fantastic. Then things went sideways, and I've spent the last 6 hours banging my head on the wall … I'm really hoping someone here can help get me back on track.
My goal for this device is to integrate two relays, and two sensors with Smartthings; so I made a quick edit to the example sketch to have two "simple control relays" … which compiles fine and loads fine … but I can't ever get two devices when it connects to Smartthings, always one. I've tried with/without the GitHub device handles, and alterations of most of the example sketches. I've mixed/matched channel types thinking maybe I was limited to one of each, and I even used the example sketch from the quick start guide which has 3 channels by default (to make sure I wasn't simply writing bad code) … the outcome is always the same. I've even tried pairing in the new app, and the classic app for most, if not all, the mentioned scenarios. I'll add that, every code change was accompanied by exclusion and repairing with the hub in order to be sure that changes had the best shot at being detected.
Maybe I setup smartthings wrong, or maybe I am just unclear on this should work and I'm simply approaching it the wrong way.
Does anyone one have any insight or suggestions on how to tackle this? … maybe there is a topic somewhere about using multi-channel in Smartthings and I just couldn't find it. Or perhaps there is a quick detail of how the device handlers need to be installed to get everything working. Does there need to be a SmartApp in addition to the handlers? (couldn't find one)
Thanks for any help you can provide.
My goal for this device is to integrate two relays, and two sensors with Smartthings; so I made a quick edit to the example sketch to have two "simple control relays" … which compiles fine and loads fine … but I can't ever get two devices when it connects to Smartthings, always one. I've tried with/without the GitHub device handles, and alterations of most of the example sketches. I've mixed/matched channel types thinking maybe I was limited to one of each, and I even used the example sketch from the quick start guide which has 3 channels by default (to make sure I wasn't simply writing bad code) … the outcome is always the same. I've even tried pairing in the new app, and the classic app for most, if not all, the mentioned scenarios. I'll add that, every code change was accompanied by exclusion and repairing with the hub in order to be sure that changes had the best shot at being detected.
Maybe I setup smartthings wrong, or maybe I am just unclear on this should work and I'm simply approaching it the wrong way.
Does anyone one have any insight or suggestions on how to tackle this? … maybe there is a topic somewhere about using multi-channel in Smartthings and I just couldn't find it. Or perhaps there is a quick detail of how the device handlers need to be installed to get everything working. Does there need to be a SmartApp in addition to the handlers? (couldn't find one)
Thanks for any help you can provide.