Push notifications for location modes not working


#1

1) Give a description of the problem
Push notifications not sending when location mode changes.

2) What is the expected behaviour?
I expect location mode to change at 11:00 PM and every time both I and my SO leave the house, or one of us arrives, and send a push notification letting me know this has happened.

3) What is happening/not happening?
The location mode seems to change but not send the push notification.

**4) Post a Green Snapshot of the piston!
(upload://gxc5POa3N3xj2lELhtE1LRCArls.png)

5) Attach logs after turning logging level to Full
9/13/2020, 10:10:18 PM +414ms
+0ms ╔Received event [Home].test = 1600049418413 with a delay of 0ms
+49ms ║RunTime Analysis CS > 18ms > PS > 4ms > PE > 27ms > CE
+51ms ║Runtime (39726 bytes) successfully initialized in 4ms (v0.3.110.20191009) (50ms)
+52ms ║╔Execution stage started
+69ms ║║Comparison (enum) present is (string) not present = false (2ms)
+71ms ║║Condition #3 evaluated false (13ms)
+72ms ║║Condition group #1 evaluated false (state did not change) (16ms)
+85ms ║║Comparison (time) 79818488 is_between (time) 82800000 … (time) 25200000 = false (8ms)
+87ms ║║Condition #6 evaluated false (12ms)
+96ms ║║Cancelling statement #6’s schedules…
+101ms ║║Requesting time schedule wake up at Sun, Sep 13 2020 @ 11:00:00 PM EDT
+104ms ║║Condition group #2 evaluated false (state did not change) (31ms)
+107ms ║║Cancelling statement #4’s schedules…
+153ms ║║Executed virtual command setLocationMode (43ms)
+160ms ║║Calculating (string) Location mode changed to + (string) Home >> (string) Location mode changed to Home
+163ms ║║Calculating (string) Location mode changed to Home + (string) >> (string) Location mode changed to Home
+239ms ║║Executed virtual command sendPushNotification (73ms)
+243ms ║║Cancelling statement #14’s schedules…
+246ms ║║Executed virtual command setState (1ms)
+253ms ║╚Execution stage complete. (201ms)
+254ms ║Setting up scheduled job for Sun, Sep 13 2020 @ 11:00:00 PM EDT (in 2981.332s)
+269ms ╚Event processed successfully (270ms)


#2

using new app? if yes, edit your piston to use:

send push notification (msg) and store in messages

PS… your image did not show in your post so I am just taking a guess


#3

Sorry, here’s my piston screenshot… I am using the new app, yes.

https://gyazo.com/1705f56fb51d488eab137d105c45aa4d

Edit: After setting Store to Messages as True, that seems to have gotten it working! Thanks!