Page 1 of 1

SmartThings Zones Open/Closed

PostPosted: Fri Nov 18, 2016 8:47 am
by 0xDECAFBAD
I just got the SmartThings integration set up and if I try to "arm" my house in the SmartThings dashboard it complains that the zones are open. Looking at the service_manager.groovy code on line 281-282 I see:

Code: Select all
// Default contact to closed.
zone_switch.sendEvent(name: "contact", value: "open", isStateChange: true, displayed: false);


Shouldn't it be:

Code: Select all
// Default contact to closed.
zone_switch.sendEvent(name: "contact", value: "closed", isStateChange: true, displayed: false);

Re: SmartThings Zones Open/Closed

PostPosted: Sat Nov 19, 2016 8:36 am
by kevin
Yeah, it's on our list to revert back to that logic. For some reason they treat a relay opposite.