Echo Speaks won't announce for front door only


#1

1) Give a description of the problem
I got this piston from from the forum and works great except that it doesn’t announce for one door in particular “Front Door” When the door opens Garage and sliding door opens I am alerted via Alexa speaker. Nothing happens when the front door opens. In the Smartthings App, I can see when the door opens. Any idea why the front door won’t announce like the others? This my first post and confused about the posting of the image.

2) What is the expected behaviour?
(Announce when any door is opened)

3) What is happening/not happening?
(No announcement when front door opens)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

Version:1.0 StartHTML:000000233 EndHTML:000035506 StartFragment:000010151 EndFragment:000035409 StartSelection:000010203 EndSelection:000035399 SourceURL:https://dashboard.webcore.co/piston/:695969399101e8d430995fe5f3b538f0:

4/16/2020, 5:13:42 PM +102ms
+1ms ╔Received event [Home].time/recovery = 1587071622101 with a delay of 1ms
+69ms ║RunTime Analysis CS &gt; 34ms &gt; PS &gt; 8ms &gt; PE &gt; 27ms &gt; CE
+71ms ║Runtime (39560 bytes) successfully initialized in 8ms (v0.3.110.20191009) (69ms)
+72ms ║╔Execution stage started
+73ms ║╚Execution stage complete. (1ms)
+75ms ╚Event processed successfully (74ms)
4/16/2020, 5:13:29 PM +149ms
+0ms ╔Received event [Home].time/recovery = 1587071609148 with a delay of 1ms
+798ms ║RunTime Analysis CS &gt; 27ms &gt; PS &gt; 755ms &gt; PE &gt; 16ms &gt; CE
+799ms ║Piston waited at a semaphore for 752ms
+802ms ║Runtime (39631 bytes) successfully initialized in 755ms (v0.3.110.20191009) (800ms)
+803ms ║╔Execution stage started
+803ms ║╚Execution stage complete. (1ms)
+805ms ╚Event processed successfully (804ms)
4/16/2020, 5:05:20 PM +147ms
+1ms ╔Received event [Home].time/recovery = 1587071120142 with a delay of 5ms
+60ms ║RunTime Analysis CS &gt; 36ms &gt; PS &gt; 5ms &gt; PE &gt; 19ms &gt; CE
+63ms ║Runtime (39560 bytes) successfully initialized in 5ms (v0.3.110.20191009) (60ms)
+64ms ║╔Execution stage started
+64ms ║╚Execution stage complete. (1ms)
+65ms ╚Event processed successfully (65ms)
4/16/2020, 5:05:08 PM +114ms
+1ms ╔Received event [Home].time/recovery = 1587071108114 with a delay of 0ms
+85ms ║RunTime Analysis CS &gt; 52ms &gt; PS &gt; 11ms &gt; PE &gt; 22ms &gt; CE
+88ms ║Runtime (39562 bytes) successfully initialized in 11ms (v0.3.110.20191009) (85ms)
+88ms ║╔Execution stage started
+89ms ║╚Execution stage complete. (1ms)
+90ms ╚Event processed successfully (90ms)
4/16/2020, 5:02:15 PM +87ms
+1ms ╔Received event [Home].time/recovery = 1587070935087 with a delay of 0ms
+102ms ║RunTime Analysis CS &gt; 70ms &gt; PS &gt; 8ms &gt; PE &gt; 23ms &gt; CE
+105ms ║Runtime (39561 bytes) successfully initialized in 8ms (v0.3.110.20191009) (102ms)
+106ms ║╔Execution stage started
+107ms ║╚Execution stage complete. (2ms)
+109ms ╚Event processed successfully (108ms)
4/16/2020, 5:01:46 PM +137ms
+0ms ╔Received event [Home].time/recovery = 1587070906136 with a delay of 1ms
+61ms ║RunTime Analysis CS &gt; 37ms &gt; PS &gt; 6ms &gt; PE &gt; 18ms &gt; CE
+63ms ║Runtime (39560 bytes) successfully initialized in 6ms (v0.3.110.20191009) (62ms)
+64ms ║╔Execution stage started
+65ms ║╚Execution stage complete. (1ms)
+66ms ╚Event processed successfully (66ms)
4/16/2020, 4:52:25 PM +179ms
+0ms ╔Received event [Home].time/recovery = 1587070345178 with a delay of 0ms
+49ms ║RunTime Analysis CS &gt; 28ms &gt; PS &gt; 5ms &gt; PE &gt; 17ms &gt; CE
+52ms ║Runtime (39560 bytes) successfully initialized in 5ms (v0.3.110.20191009) (51ms)
+53ms ║╔Execution stage started
+54ms ║╚Execution stage complete. (1ms)
+55ms ╚Event processed successfully (55ms)
4/16/2020, 4:51:55 PM +100ms
+0ms ╔Received event [Home].time/recovery = 1587070315099 with a delay of 0ms
+44ms ║RunTime Analysis CS &gt; 25ms &gt; PS &gt; 5ms &gt; PE &gt; 15ms &gt; CE
+47ms ║Runtime (39560 bytes) successfully initialized in 5ms (v0.3.110.20191009) (46ms)
+48ms ║╔Execution stage started
+49ms ║╚Execution stage complete. (1ms)
+50ms ╚Event processed successfully (49ms)
4/16/2020, 4:51:50 PM +211ms
+0ms ╔Received event [Home].time/recovery = 1587070310210 with a delay of 0ms
+64ms ║RunTime Analysis CS &gt; 40ms &gt; PS &gt; 6ms &gt; PE &gt; 19ms &gt; CE
+67ms ║Runtime (39560 bytes) successfully initialized in 6ms (v0.3.110.20191009) (65ms)
+68ms ║╔Execution stage started
+69ms ║╚Execution stage complete. (2ms)
+70ms ╚Event processed successfully (70ms)

#2

Please upload your piston using the picture button in the message edit box.

04%20PM

The link you provided doesn’t work.


#3

Also post your logs :slight_smile:


#4

The log you posted does not show a single trigger happening… Only “recovery” events.


#5

I am really very new to this and this is my first piston. What should I do to provide the information needed?


#6
  • I would press Clear (to remove the old logs),
  • Open the sliding door like normal.
  • Wait 10 seconds
  • Close the sliding door.
  • Wait 10 more seconds
  • Open the front door like normal.
  • Wait 10 seconds
  • Close the front door.

This should give you both events in the logs…
(the working door, as well as the broken door)

Afterwards, please post the latest logs back in this thread.


#7

Here is the log after following your steps. I don’t think I get any error from the front door.

4/16/2020, 6:09:13 PM +96ms
+0ms ╔Received event [Home].time/recovery = 1587074953095 with a delay of 1ms
+56ms ║RunTime Analysis CS > 24ms > PS > 11ms > PE > 20ms > CE
+59ms ║Runtime (39562 bytes) successfully initialized in 11ms (v0.3.110.20191009) (57ms)
+60ms ║╔Execution stage started
+62ms ║╚Execution stage complete. (1ms)
+63ms ╚Event processed successfully (63ms)
4/16/2020, 6:08:50 PM +76ms
+1ms ╔Received event [Home].time/recovery = 1587074930075 with a delay of 0ms
+56ms ║RunTime Analysis CS > 29ms > PS > 6ms > PE > 22ms > CE
+62ms ║Runtime (39560 bytes) successfully initialized in 6ms (v0.3.110.20191009) (60ms)
+63ms ║╔Execution stage started
+65ms ║╚Execution stage complete. (2ms)
+67ms ╚Event processed successfully (67ms)
4/16/2020, 6:08:17 PM +147ms
+2ms ╔Received event [Home].time/recovery = 1587074897146 with a delay of 0ms
+79ms ║RunTime Analysis CS > 58ms > PS > 6ms > PE > 15ms > CE
+81ms ║Runtime (39560 bytes) successfully initialized in 6ms (v0.3.110.20191009) (78ms)
+82ms ║╔Execution stage started
+83ms ║╚Execution stage complete. (1ms)
+84ms ╚Event processed successfully (84ms)
4/16/2020, 6:08:05 PM +87ms
+1ms ╔Received event [Home].time/recovery = 1587074885087 with a delay of 0ms
+57ms ║RunTime Analysis CS > 33ms > PS > 6ms > PE > 18ms > CE
+60ms ║Runtime (39560 bytes) successfully initialized in 6ms (v0.3.110.20191009) (58ms)
+61ms ║╔Execution stage started
+61ms ║╚Execution stage complete. (1ms)
+62ms ╚Event processed successfully (62ms)
4/16/2020, 6:07:37 PM +176ms
+0ms ╔Received event [Home].time/recovery = 1587074857174 with a delay of 1ms
+55ms ║RunTime Analysis CS > 29ms > PS > 7ms > PE > 20ms > CE
+58ms ║Runtime (39560 bytes) successfully initialized in 7ms (v0.3.110.20191009) (57ms)
+59ms ║╔Execution stage started
+60ms ║╚Execution stage complete. (1ms)
+688ms ╚Event processed successfully (687ms)Preformatted text


#8

The problem with this piston is it will just repeat forever doing nothing once it turns the repeat variable to true because your SHM will still be disarmed. That is why you get all the recovery messages. All you really need is:

If any doors contact changes to open
  set variable message                               <--as in your original piston
  setvolumespeakandrestore(message)     <--as in your original piston
  wait 10 seconds                                       <--give echo time to speak
end if

If you actually want to repeat the message that is a bit different but this piston is set up to only give the message once and that can be accomplished much simpler.


#9

Question… do you use the SmartThings Classic app or the new SmartThings app?


#10

I will make the changes. It works well for the other doors so I assumed it should work the same for the front door.


#11

I actually use both apps, depending on what suggestion I am following at the time.


#12

Do you have a link to a more simpler solution? I just want it to announce each time the doors open. It does that right now for the 2 doors just not the front door. So I am still lost.


#13

If you don’t want a repeat, but just want an alert each time a door opens, here is a streamlined version:

pic