Bug 1566 - Ability to "save" one alarm in the sb2 itself
: Ability to "save" one alarm in the sb2 itself
Status: RESOLVED FIXED
Product: SB 2/3
Classification: Unclassified
Component: Audio
: unspecified
: All All
: P2 enhancement with 2 votes (vote)
: Future
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-18 09:42 UTC by Christian Pernegger
Modified: 2009-09-22 20:53 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pernegger 2005-05-18 09:42:58 UTC
Is there any way the alarm plugins could "save" one alarm time in the sb2
itself, to avoid not triggering it at all when the slimserver / connection to
sqn goes down?

It'd go something like this:

1. User modifies alarm settings
2. If any alarms are active start a timer on the sb2 itself that runs to 1-2
   seconds after the time of the next active alarm.
3. If everything is still fine (server up, etc) when the alarm should trigger,
   do as we do now, clear the sb2 internal alarm (and set the next active one,
   if any)
4. If the sb2's internal alarm does trigger that means something is wrong with
   the server connection. BEEP loudly, annoyingly and continously so people wake
   up. Display corresponding message.

One problem: The flash chip probably wasn't made for this, so there is no
persistent storage. This in turn means that we lose the internal timer after a
power outage. Proposed solution: If the sb2 does not manage to connect with its
stored config, i. e. slimserver is (still) down, BEEP. If there is no stored
config, BEEP.

That way the alarm should be triggered at the right time whenever possible, and
the user be alerted whenever there's the possibility of an alarm lost.
Comment 1 Nicolas Bailly 2009-05-26 05:41:35 UTC
I might be mistaken, but I think SB1/2/3 don't even have an internal clock to keep track of time, which would make it impossible to do anything at a given time without being connected to SC or SN.
Comment 2 Michael Herger 2009-09-22 20:53:51 UTC
Implemented in Boom & later