st-swanny / smartthings

My smartthings projects
48 stars 128 forks source link

PIR Sensors #4

Open bragg2012 opened 8 years ago

bragg2012 commented 8 years ago

Not really an issue just a query but was unable to find any contact details.

Does this project support the use of the wirelesstag PIR sensors within smartthings?

st-swanny commented 8 years ago

I believe they should work although I haven't tried them myself. I made a code change for someone in the main thread on the SmartThings forums related to PIR sensors though: https://community.smartthings.com/t/wireless-sensor-tags-integration/5259 if you want more info.

leftyftw commented 7 years ago

They work, but the caveat is WirelesTags uses a timeout model where SmartThings uses an active ping. The rub is if you're doing jumping jacks in front of a WirelessTag, it will never time out and won't send a message to SmartThings to say "hey, motion detected." Setting a small timeout will alleviate some of that. I'm digging through code now to see how we might be able to remediate that.

dancwilliams commented 7 years ago

I was curious about this exact thing! Thank you for the clarification.