SmartThings Zones Open/Closed

General Discussion

SmartThings Zones Open/Closed

Postby 0xDECAFBAD » Fri Nov 18, 2016 8:47 am

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);
0xDECAFBAD
newt
newt
 
Posts: 3
Joined: Thu Mar 10, 2016 6:50 am

Re: SmartThings Zones Open/Closed

Postby kevin » Sat Nov 19, 2016 8:36 am

Yeah, it's on our list to revert back to that logic. For some reason they treat a relay opposite.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

cron