tyoung3 / BlinkLight

SmartThings: BlinkLight SmartApp
Apache License 2.0
6 stars 40 forks source link

Any way to stop this running, whilst it`s already running? #1

Open uksoftware opened 4 years ago

uksoftware commented 4 years ago

This is just what I wanted. But heres the problem, Say my motion detector triggers BlinkLight to start flashing a light (4 flashes, 800ms apart). If theres MORE motion whilst BlinkLight is flashing the light, it just re triggers it mid action. This means sometimes the light is left on when it was off etc. Is there a way to tell it not to re trigger whilst it`s running?

Thanks.

tyoung3 commented 4 years ago

Interesting! I’ll have a look. —twy

On Sun, Oct 13, 2019 at 2:26 PM uksoftware notifications@github.com wrote:

This is just what I wanted. But heres the problem, Say my motion detector triggers BlinkLight to start flashing a light (4 flashes, 800ms apart). If theres MORE motion whilst BlinkLight is flashing the light, it just re triggers it mid action. This means sometimes the light is left on when it was off etc. Is there a way to tell it not to re trigger whilst it`s running?

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tyoung3/BlinkLight/issues/1?email_source=notifications&email_token=AAKX7ZU3YC5C4FUWEMUSBK3QONR3VA5CNFSM4JAIB272YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HROO47Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKX7ZUVVWGEY62HS3COCB3QONR3VANCNFSM4JAIB27Q .

-- iphone@twyoung.com

tyoung3 commented 4 years ago

You are correct. I was able to recreate the problem with the simulator. I will take a look at the code.

Tom Young47 MITCHELL ST.STAMFORD, CT 06902

When bad men combine, the good must associate; ... -Edmund Burke 'Thoughts on the cause of the present discontents' , 1770

On Sun, Oct 13, 2019 at 2:26 PM uksoftware notifications@github.com wrote:

This is just what I wanted. But heres the problem, Say my motion detector triggers BlinkLight to start flashing a light (4 flashes, 800ms apart). If theres MORE motion whilst BlinkLight is flashing the light, it just re triggers it mid action. This means sometimes the light is left on when it was off etc. Is there a way to tell it not to re trigger whilst it`s running?

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tyoung3/BlinkLight/issues/1?email_source=notifications&email_token=AAKX7ZU3YC5C4FUWEMUSBK3QONR3VA5CNFSM4JAIB272YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HROO47Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKX7ZUVVWGEY62HS3COCB3QONR3VANCNFSM4JAIB27Q .