def play_controlled_alarm()

in src/iot/subscribe.py [0:0]


def play_controlled_alarm():
    global LAST_PLAY

    now = time.time()
    if LAST_PLAY is None or now - LAST_PLAY > PLAY_INTERVAL:
        LAST_PLAY = now
        os.system('omxplayer not_protected.ogg')