1) Give a description of the problem. When opening doors/windows, send a notification that the thermostat set points have been changed
2) What is the expected behavior? Just send a single notification when the event triggers for the first time
3) What is happening/not happening? I’m getting the notifications, but they all pile up and I get one for each door or window that was opened within the 5 minute timer of the first opening.
4) Post a Green Snapshot of the piston!
5) Attach any logs (From ST IDE and by turning logging level to Full)
Not FULL logging, but it shows the timestamps of when the events occurred…
9/5/2017, 1:10:36 PM +334ms
+0ms ╔Received event [Home].time = 1504631437569 with a delay of -1236ms
+2043ms ╚Event processed successfully (2043ms)
9/5/2017, 1:10:20 PM +395ms
+1ms ╔Received event [Home].time = 1504631420709 with a delay of -315ms
+2457ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:10:37 PM EDT (in 14.718s)
+2475ms ╚Event processed successfully (2475ms)
9/5/2017, 1:09:10 PM +410ms
+1ms ╔Received event [Home].time = 1504631350942 with a delay of -533ms
+851ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:10:20 PM EDT (in 69.45s), with 2 more jobs pending
+868ms ╚Event processed successfully (867ms)
9/5/2017, 1:08:56 PM +242ms
+1ms ╔Received event [Home].time = 1504631336439 with a delay of -198ms
+3045ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:09:10 PM EDT (in 11.657s), with 3 more jobs pending
+3063ms ╚Event processed successfully (3063ms)
9/5/2017, 1:07:31 PM +401ms
+1ms ╔Received event [Home].time = 1504631252025 with a delay of -625ms
+919ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:08:56 PM EDT (in 84.121s), with 4 more jobs pending
+935ms ╚Event processed successfully (935ms)
9/5/2017, 1:05:36 PM +974ms
+2ms ╔Received event [Master Bathroom Window].contact = open with a delay of 911ms
+641ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 114.412s), with 5 more jobs pending
+658ms ╚Event processed successfully (657ms)
9/5/2017, 1:05:21 PM +667ms
+2ms ╔Received event [Master Bedroom Window Left].contact = open with a delay of 853ms
+598ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 129.761s), with 4 more jobs pending
+617ms ╚Event processed successfully (616ms)
9/5/2017, 1:05:20 PM +136ms
+2ms ╔Received event [Master Bedroom Window Right].contact = open with a delay of 910ms
+608ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 131.283s), with 3 more jobs pending
+629ms ╚Event processed successfully (628ms)
9/5/2017, 1:04:10 PM +401ms
+2ms ╔Received event [Front Door].contact = open with a delay of 1218ms
+576ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 201.049s), with 2 more jobs pending
+593ms ╚Event processed successfully (593ms)
9/5/2017, 1:03:55 PM +886ms
+2ms ╔Received event [Kitchen Sliding Door].contact = open with a delay of 861ms
+587ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 215.554s), with 1 more job pending
+604ms ╚Event processed successfully (603ms)
9/5/2017, 1:02:31 PM +220ms
+2ms ╔Received event [Kitchen Window].contact = open with a delay of 815ms
+832ms ║Setting up scheduled job for Tue, Sep 5 2017 @ 1:07:32 PM EDT (in 299.974s)
+847ms ╚Event processed successfully (847ms)