Piston for Date and Time-samsung r1 speaker


#1

1) Give a description of the problem
Piston created to announce date and time will not play over speaker but will play if the piston is tested.

2) What is the expected behavior?
As above

3) What is happening/not happening?
No audio output of message but will if the piston is tested. Logs show piston firing correctly

**4) Post a Green Snapshot of the piston

5) Attach any logs (From ST IDE and by turning logging level to Full)

6/26/2018, 9:04:59 PM +45ms
+0ms ╔Received event [Home].time = 1530065100000 with a delay of -956ms
+108ms ║Runtime (36038 bytes) successfully initialized in 37ms (v0.3.104.20180323) (106ms)
+109ms ║╔Execution stage started
+128ms ║╚Execution stage complete. (19ms)
+130ms ║Setting up scheduled job for Wed, Jun 27 2018 @ 9:05:00 PM CDT (in 86400.826s)
+140ms ╚Event processed successfully (140ms)
6/26/2018, 9:03:17 PM +
If a solution is found for your question then please mark the post as the solution.


#2


click New Piston, then select Restore a Piston using a backup code. enter 8zbi, then you will be prompted to select your speaker.


#3

Still a no go. When you test the piston it works fine but not on its on.


#4

The original pic from post #1 has no commands inside the 9:05 block. You can drag your first block and place it inside the 9:05 block (after the DO) and it should work as intended.

Such as:

execute
    every day at 9:05 PM
    DO
        With Upstairsspeaker
        DO Speak text blah blah blah
        End with
    End every
end execute

Side note: There is no need to list all 7 days of the week, all 31 days in the month, and all 12 months of the year in your code… Simply every day at 9:05PM is sufficient.

Also note I left out reference to Night, Away or Home. If those are your only three modes, best to leave those out as well