Help with my first Piston please - Leaving Work Notifications


#1

1) Give a description of the problem
I am new to WebCore (coming over from Stringify) and need some help with this location piston. If someone can review and let me know if it looks efficient. I used many examples that I can find and tried to tweak to my needs.

2) What is the expected behavior?
I want a message when I get to work (only so I know my location updated). I also want to message my wife when I leave work and then another message when I enter “home” location.

3) What is happening/not happening?
Sporadic results. I get a double message when I get to work. My wife gets the 1st message when I leave work but not the follow up message

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach any logs (From ST IDE and by turning logging level to Full)
I just turned on logging so no logs yet. I will have some tomorrow

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Hello everyone, I finally got the piston to fire properly but still having another issue. When I arrive home, I want my light to turn red, wait 5 mins then change back to warm white, wait 2 mins and then turn off. After it turned on and changed to red, it did not complete the other commands.

Any help is appreciated.


#3

The With on line 43 needs TCP set to Never


#4

Thank you! I added it and will test it out on Monday. I really appreciate the help.

I see this flow uses 56% memory. Is that bad? I am not sure if this can be made more efficient.


#5

I usually ignore the memory number. It has no bearing on efficiency.