DheerajKhajuria / pimatic-mysensors

mysensors
http://forum.mysensors.org/topic/797/pimatic-mysensors-controller-plugin
GNU General Public License v2.0
23 stars 24 forks source link

Disable reset pir #11

Closed sweebee closed 9 years ago

sweebee commented 9 years ago

I have your plugin a little bid modified to my needs. Like my pirs does send a false signal. May i add a pull requests that adds the option to disable the auto reset? by default its disabled. You have to enable it in your config. So by default it doesn't affect the normal pirs. So if you add autoReset: false then it doesn't reset.

So for normal pirs no difference, but for pir's that send a false signal it can be disabled.

DheerajKhajuria commented 9 years ago

merged the PIR related changes

sweebee commented 9 years ago

Thank you!