I know this is a rather old thread, but as was f*cked up by the radio sometimes waking me up with the default sound rather then my chosen one i searched for a solution. Here it is:
- active remote login on the radio/box (in settings) - ssh to your box (user: root pw: 1234[can be changed]) - default sound is in /usr/share/jive/applets/AlarmSnooze/alarm.mp3 - you can adjust the alarm behaviour (f.e. volume) by manipulating the AlarmSnoozeApplet.lua file in the same directory - change the name of the alarm.mp3 in line 43: self.alarmTone = "applets/AlarmSnooze/myalarm.mp3" - slow down fadein speed in line 453: self.fadeInTimer = Timer(800, - set maxVolume in line 455 if self.alarmVolume < 30 then - provide a myalarm.mp3 If you still want to use you serversound you should adjust line 813 like this (normal wait for server is only 20s): local rtcSleepMsecs = interval + 300000 But to be honest, the whole code looks rather strange to me. From a quick look it seem to work like this: - normally the server alarms the client to wakeup - at some point someone added code to have a local timer as fallback, which is complete independent from server - so the local fallback alarm fires away when it's RTC timer reached alarm time (+20s, so the server can fire first) - when the server fires, the fallback alarm is interupted If my assumptions are correct, this code smells, as a local RTC will run out of sync with servertime quiet fast. My advice: - either forget the server for wakeup and just use your custom fallback sound (with the method provided here) by setting a playlist for wakeup and then deleting the playlist on the server (this is what i do now) or - set the rtcSleepMsecs to +300000 (5min) and set your alarms 5 minutes earlier (as the fallback will now wait 5 minutes before firing up). DO ON YOU OWN RISK, BUT CHANGES WILL BE LOST WHEN YOU FACTORY RESET THE BOX! SO DON'T PANIC ,-) Have fun... Btw: all the natures sounds etc. seem to be hosted on mysqueezebox.com(at least i was unable to find them anywhere on my systems. So be carefull using these as they will probably not be reliable). -- frank_harmann ------------------------------------------------------------------------ frank_harmann's Profile: http://forums.slimdevices.com/member.php?userid=38507 View this thread: http://forums.slimdevices.com/showthread.php?t=71991 _______________________________________________ Radio mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/radio
