School Bell Schedule


#1

1) Give a description of the problem
Home School starts tomorrow so I am trying to get Alexa to play a bell sound when school starts, when first period is over, when second period starts, when second period is over…you get the idea.

2) What is the expected behaviour?
I am doing an execute every day at x time on Mon-Fri if variable school day is true then with Echo it plays bells

3) What is happening/not happening?
Everything is working fine but it seems like there should be a better way especially since Monday is always a special schedule so I am going to need roughly 20 of these for a schedule.

4) Post a Green Snapshot of the pistonimage


#2

Absolutely!

  • The first step is to identify some kind of pattern.
  • The second is to program around that pattern
    (If the pattern is crappy, then go back to step one :grin:)

#3

LOL! Love it. Sadly no pattern. The bell schedule is random… wait a second you might be on to something…

Monday each class is 35 min long with 3 minute break between classes. So do something like…
Everyday at 8:30 am if school day is true then repeat Wait:35 min and then play bell sound. Follow that with a second one at 8:33 that should cover start and end of each class.

Got it all setup then realized lunch throws a wrench into things.

Is it possible to do an execute every day but list many times? That seems easier…


#4

You could have another series of events auto-begin after lunch.


Absolutely… but usually each trigger is on it’s own line in webCoRE. For example:

IF Time happens daily at 8:30am... or
   Time happens daily at 9:08am... or
   Time happens daily at 9:46am... etc
      Then do cool stuff
END IF