Announcement

Collapse
No announcement yet.

Alarm not working with 8.3?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    Today, big hit! 3 different alarms on 3 different radio players (all community firmware) failed to stream a radio stream!
    Nothing changed on my server since yesterday morning except a plugin that waits to be updated (beta Radio Now Playing).
    Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer --- iPeng & Material --- LMS Version: 8.4.0 - 1676612311 on Pi4 4GB - Max2Play --- Qobuz

    Comment


      #92
      I've applied minor upgrades. Both players now will play alarms. I have to set the alarm time to GMT,e . g. convert 7AM my time to its GMT equivalent. The system time on both Raspberry Pis is correct for my time zone according to the date command. How can I set the alarm using my time zone? Is there a command line setting for the alarm?


      Originally posted by simeon_casimir View Post
      I have two Pis set up this way. One works, sort of, and the other does not. The one that "works" only works when I set the alarm for a GMT time that corresponds to my -8 time zone. The other doesn't To use the Jivelite time/date screensaver I had to key in in my timezone. The internet time server default doesn't work. The system time on the Pi defaults to GMT.
      Last edited by simeon_casimir; 2022-11-16, 16:38.

      Comment


        #93
        From a terminal session where LMS is running (inside the VM if running in one) what does
        date -R
        show and what time zone are you in?
        Paul Webster
        Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
        and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

        Comment


          #94
          It shows the correct time and date in my time zone. I'm PST, -8GMT



          Originally posted by Paul Webster View Post
          From a terminal session where LMS is running (inside the VM if running in one) what does
          date -R
          show and what time zone are you in?

          Comment


            #95
            Originally posted by didjean View Post
            Today, big hit! 3 different alarms on 3 different radio players (all community firmware) failed to stream a radio stream!
            Nothing changed on my server since yesterday morning except a plugin that waits to be updated (beta Radio Now Playing).

            So following my last post, the day after, the same happened. No alarm was working anymore! I took the time to further test (without restarting server) and I created a few new alarms based on a radio stream, a playlist or a Radom mix by year.

            All failed - with no backup sound. please find below a log:


            [22-11-17 20:45:00.0007] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
            [22-11-17 20:45:00.0013] Slim::Utils::Alarm::sound (560) Sounding alarm
            [22-11-17 20:45:00.0029] Slim::Utils::Alarm::sound (589) Current Power State: Off
            [22-11-17 20:45:00.0096] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
            [22-11-17 20:45:00.0102] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
            [22-11-17 20:45:00.0116] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
            [22-11-17 20:45:00.0122] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
            [22-11-17 20:45:00.0133] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
            [22-11-17 20:45:01.7219] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
            [22-11-17 20:45:01.7238] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
            [22-11-17 20:45:01.7246] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
            [22-11-17 20:45:01.7250] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
            [22-11-17 20:45:01.7255] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 20:45:0 17/11/2022
            [22-11-17 20:45:01.7260] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 20:45:0 17/11/2022
            [22-11-17 20:45:01.7264] Slim::Utils::Alarm::findNextTime (471) Skipping..
            [22-11-17 20:45:01.7268] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 20:45:0 18/11/2022
            [22-11-17 20:45:01.7273] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 20:45:0 17/11/2022
            [22-11-17 20:45:01.7278] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 20:45:0 18/11/2022
            [22-11-17 20:45:01.7281] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
            [22-11-17 20:45:01.7286] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
            [22-11-17 20:45:01.7290] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
            [22-11-17 20:45:01.7299] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 74700, volume 50
            [22-11-17 20:45:01.7436] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
            [22-11-17 20:45:01.7442] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
            [22-11-17 20:45:01.7464] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
            [22-11-17 20:45:01.7469] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
            [22-11-17 20:45:02.7770] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
            [22-11-17 20:45:02.7779] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off

            After saving that log - I pressed the play button, then I got the stream the same way the alarm would have been launched - meaning with a fade in.

            Following all these tests, I restarted the server and alarm worked: please see the logs for a perfect normal trigger:


            [22-11-17 21:03:00.0011] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
            [22-11-17 21:03:00.0019] Slim::Utils::Alarm::sound (560) Sounding alarm
            [22-11-17 21:03:00.0039] Slim::Utils::Alarm::sound (589) Current Power State: Off
            [22-11-17 21:03:00.0126] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
            [22-11-17 21:03:00.0134] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
            [22-11-17 21:03:00.0153] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
            [22-11-17 21:03:00.0161] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
            [22-11-17 21:03:00.0178] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
            [22-11-17 21:03:02.1999] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
            [22-11-17 21:03:02.2006] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
            [22-11-17 21:03:02.2012] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
            [22-11-17 21:03:02.2015] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
            [22-11-17 21:03:02.2019] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 21:3:0 17/11/2022
            [22-11-17 21:03:02.2022] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 21:3:0 17/11/2022
            [22-11-17 21:03:02.2025] Slim::Utils::Alarm::findNextTime (471) Skipping..
            [22-11-17 21:03:02.2028] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 21:3:0 18/11/2022
            [22-11-17 21:03:02.2030] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 21:3:0 17/11/2022
            [22-11-17 21:03:02.2033] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 21:3:0 18/11/2022
            [22-11-17 21:03:02.2036] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
            [22-11-17 21:03:02.2039] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
            [22-11-17 21:03:02.2042] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
            [22-11-17 21:03:02.2047] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 75780, volume 50
            [22-11-17 21:03:02.2268] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
            [22-11-17 21:03:02.2271] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
            [22-11-17 21:03:02.2291] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: power
            [22-11-17 21:03:02.2294] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
            [22-11-17 21:03:02.2405] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
            [22-11-17 21:03:02.2465] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop


            If I compare both logs - last 7 lines are different.

            Really hope we will find the issue soon... Fingers crossed! In the meantime my 35 years old Philips radio is back on my nightstand :-)
            Last edited by didjean; 2022-11-18, 06:55.
            Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer --- iPeng & Material --- LMS Version: 8.4.0 - 1676612311 on Pi4 4GB - Max2Play --- Qobuz

            Comment


              #96
              Originally posted by didjean View Post
              So following my last post, the day after, the same happened. No alarm was working anymore! I took the time to further test (without restarting server) and I created a few new alarms based on a radio stream, a playlist or a Radom mix by year.

              All failed - with no backup sound. please find below a log:


              [22-11-17 20:45:00.0007] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
              [22-11-17 20:45:00.0013] Slim::Utils::Alarm::sound (560) Sounding alarm
              [22-11-17 20:45:00.0029] Slim::Utils::Alarm::sound (589) Current Power State: Off
              [22-11-17 20:45:00.0096] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
              [22-11-17 20:45:00.0102] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
              [22-11-17 20:45:00.0116] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
              [22-11-17 20:45:00.0122] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
              [22-11-17 20:45:00.0133] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
              [22-11-17 20:45:01.7219] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
              [22-11-17 20:45:01.7238] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
              [22-11-17 20:45:01.7246] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
              [22-11-17 20:45:01.7250] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
              [22-11-17 20:45:01.7255] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 20:45:0 17/11/2022
              [22-11-17 20:45:01.7260] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 20:45:0 17/11/2022
              [22-11-17 20:45:01.7264] Slim::Utils::Alarm::findNextTime (471) Skipping..
              [22-11-17 20:45:01.7268] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 20:45:0 18/11/2022
              [22-11-17 20:45:01.7273] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 20:45:0 17/11/2022
              [22-11-17 20:45:01.7278] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 20:45:0 18/11/2022
              [22-11-17 20:45:01.7281] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
              [22-11-17 20:45:01.7286] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
              [22-11-17 20:45:01.7290] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
              [22-11-17 20:45:01.7299] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 74700, volume 50
              [22-11-17 20:45:01.7436] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
              [22-11-17 20:45:01.7442] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
              [22-11-17 20:45:01.7464] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
              [22-11-17 20:45:01.7469] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
              [22-11-17 20:45:02.7770] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
              [22-11-17 20:45:02.7779] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off

              After saving that log - I pressed the play button, then I got the stream the same way the alarm would have been launched - meaning with a fade in.

              Following all these tests, I restarted the server and alarm worked: please see the logs for a perfect normal trigger:


              [22-11-17 21:03:00.0011] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
              [22-11-17 21:03:00.0019] Slim::Utils::Alarm::sound (560) Sounding alarm
              [22-11-17 21:03:00.0039] Slim::Utils::Alarm::sound (589) Current Power State: Off
              [22-11-17 21:03:00.0126] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
              [22-11-17 21:03:00.0134] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
              [22-11-17 21:03:00.0153] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
              [22-11-17 21:03:00.0161] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
              [22-11-17 21:03:00.0178] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
              [22-11-17 21:03:02.1999] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
              [22-11-17 21:03:02.2006] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
              [22-11-17 21:03:02.2012] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
              [22-11-17 21:03:02.2015] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
              [22-11-17 21:03:02.2019] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 21:3:0 17/11/2022
              [22-11-17 21:03:02.2022] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 21:3:0 17/11/2022
              [22-11-17 21:03:02.2025] Slim::Utils::Alarm::findNextTime (471) Skipping..
              [22-11-17 21:03:02.2028] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 21:3:0 18/11/2022
              [22-11-17 21:03:02.2030] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 21:3:0 17/11/2022
              [22-11-17 21:03:02.2033] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 21:3:0 18/11/2022
              [22-11-17 21:03:02.2036] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
              [22-11-17 21:03:02.2039] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
              [22-11-17 21:03:02.2042] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
              [22-11-17 21:03:02.2047] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 75780, volume 50
              [22-11-17 21:03:02.2268] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
              [22-11-17 21:03:02.2271] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
              [22-11-17 21:03:02.2291] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: power
              [22-11-17 21:03:02.2294] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
              [22-11-17 21:03:02.2405] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
              [22-11-17 21:03:02.2465] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop


              If I compare both logs - last 7 lines are different.

              Really hope we will find the issue soon... Fingers crossed! In the meantime my 35 years old Philips radio is back on my nightstand :-)
              You have mentioned before that you don't hear the fallback alarm any more when the alarm fails. If you can get an alarm to work could you try stopping the playback by clicking stop (pause probably works as well) in a control app, I used material skin. The fallback alarm should sound after 1 minute. If nothing else it proves that the fallback alarm can and should sound.

              Sent from my Pixel 3a using Tapatalk
              Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
              Bedroom: Radio
              Bathroom: Radio

              Comment


                #97
                Originally posted by slartibartfast View Post
                You have mentioned before that you don't hear the fallback alarm any more when the alarm fails. If you can get an alarm to work could you try stopping the playback by clicking stop (pause probably works as well) in a control app, I used material skin. The fallback alarm should sound after 1 minute. If nothing else it proves that the fallback alarm can and should sound.

                Sent from my Pixel 3a using Tapatalk
                Pressing pause or stop (via material skin on my iphone) when alarm starts - it just stops the Alarm, nothing else.
                Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer --- iPeng & Material --- LMS Version: 8.4.0 - 1676612311 on Pi4 4GB - Max2Play --- Qobuz

                Comment


                  #98
                  Originally posted by didjean View Post
                  Pressing pause or stop (via material skin on my iphone) when alarm starts - it just stops the Alarm, nothing else.
                  Even if you leave it for a minute after pressing stop?

                  Sent from my Pixel 3a using Tapatalk
                  Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                  Bedroom: Radio
                  Bathroom: Radio

                  Comment


                    #99
                    Alarm not working with 8.3?

                    didjean - thank you very much for this posting and the log file! I think
                    we got a lead:

                    invalid:

                    > [22-11-17 20:45:01.7436] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd
                    > called with request: stop
                    > [22-11-17 20:45:01.7442] Slim::Utils::Alarm::_alarmEnd (1992) Stopping
                    > alarm


                    vs. correct:

                    > [22-11-17 21:03:02.2268] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd
                    > called with request: stop
                    > [22-11-17 21:03:02.2271] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring
                    > self-created request


                    > If we compare both logs - last 7 lines are different.


                    Yep! There is code in Alarm (and LMS in general) to define the source of
                    a request. Alarm would use this to not act on its own commands, but on
                    commands coming from other parts of the system. In the failing case this
                    flag seems to be missing or modified. Alarm doesn't recognize the "stop"
                    command as coming from itself.

                    It remains to be figured out what that would happen _sometimes_. And
                    it's my understanding that it would start to fail at some point, and not
                    recover once in that mode.
                    Michael

                    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                    (LMS: Settings/Information)

                    Comment


                      Originally posted by slartibartfast View Post
                      Even if you leave it for a minute after pressing stop?

                      Sent from my Pixel 3a using Tapatalk
                      Yes... pressing stop stops it (never hear about back up alamr to be heard 1min after pressing stop btw)

                      And while trying to do this I had again a failed alarm (15:40) and then one that worked (15:47):

                      [22-11-18 15:38:34.5768] Slim::Utils::Alarm::save (1017) Saving alarm.
                      [22-11-18 15:38:34.5782] Slim::Utils::Alarm::save (1037) Alarm saved with id c3a432a6 Rescheduling alarms...
                      [22-11-18 15:38:34.5790] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                      [22-11-18 15:38:34.5797] Slim::Utils::Alarm::scheduleNext (1397) Previous scheduled alarm wasn't triggered. Clearing nextAlarm and killing timer
                      [22-11-18 15:38:34.5806] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                      [22-11-18 15:38:34.5815] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 18/11/2022
                      [22-11-18 15:38:34.5822] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:37:0 18/11/2022
                      [22-11-18 15:38:34.5829] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:40:0 18/11/2022
                      [22-11-18 15:38:34.5836] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                      [22-11-18 15:38:34.5844] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                      [22-11-18 15:38:34.5851] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                      [22-11-18 15:38:34.5861] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 56400, volume 50
                      [22-11-18 15:40:00.0012] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
                      [22-11-18 15:40:00.0020] Slim::Utils::Alarm::sound (560) Sounding alarm
                      [22-11-18 15:40:00.0056] Slim::Utils::Alarm::sound (589) Current Power State: Off
                      [22-11-18 15:40:00.0139] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
                      [22-11-18 15:40:00.0147] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
                      [22-11-18 15:40:00.0165] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
                      [22-11-18 15:40:00.0173] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
                      [22-11-18 15:40:00.0190] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
                      [22-11-18 15:40:00.6190] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
                      [22-11-18 15:40:00.6202] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
                      [22-11-18 15:40:00.6208] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                      [22-11-18 15:40:00.6213] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                      [22-11-18 15:40:00.6218] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 18/11/2022
                      [22-11-18 15:40:00.6222] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                      [22-11-18 15:40:00.6226] Slim::Utils::Alarm::findNextTime (471) Skipping..
                      [22-11-18 15:40:00.6230] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 21/11/2022
                      [22-11-18 15:40:00.6235] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                      [22-11-18 15:40:00.6239] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:40:0 21/11/2022
                      [22-11-18 15:40:00.6244] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                      [22-11-18 15:40:00.6249] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                      [22-11-18 15:40:00.6253] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                      [22-11-18 15:40:00.6259] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                      [22-11-18 15:40:00.6398] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                      [22-11-18 15:40:00.6403] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                      [22-11-18 15:40:00.6418] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
                      [22-11-18 15:40:00.6423] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
                      [22-11-18 15:40:01.6420] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
                      [22-11-18 15:40:01.6431] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off
                      [22-11-18 15:46:50.7417] Slim::Utils::Alarm::save (1017) Saving alarm.
                      [22-11-18 15:46:50.7431] Slim::Utils::Alarm::save (1037) Alarm saved with id c3a432a6 Rescheduling alarms...
                      [22-11-18 15:46:50.7438] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                      [22-11-18 15:46:50.7447] Slim::Utils::Alarm::scheduleNext (1397) Previous scheduled alarm wasn't triggered. Clearing nextAlarm and killing timer
                      [22-11-18 15:46:50.7458] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                      [22-11-18 15:46:50.7467] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 18/11/2022
                      [22-11-18 15:46:50.7474] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                      [22-11-18 15:46:50.7481] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:47:0 18/11/2022
                      [22-11-18 15:46:50.7489] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                      [22-11-18 15:46:50.7497] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                      [22-11-18 15:46:50.7504] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                      [22-11-18 15:46:50.7516] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 56820, volume 50
                      [22-11-18 15:47:00.1185] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
                      [22-11-18 15:47:00.1190] Slim::Utils::Alarm::sound (560) Sounding alarm
                      [22-11-18 15:47:00.1205] Slim::Utils::Alarm::sound (589) Current Power State: Off
                      [22-11-18 15:47:00.1272] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
                      [22-11-18 15:47:00.1277] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
                      [22-11-18 15:47:00.1290] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
                      [22-11-18 15:47:00.1296] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
                      [22-11-18 15:47:00.1308] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
                      [22-11-18 15:47:00.7242] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
                      [22-11-18 15:47:00.7251] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
                      [22-11-18 15:47:00.7258] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                      [22-11-18 15:47:00.7261] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                      [22-11-18 15:47:00.7265] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 18/11/2022
                      [22-11-18 15:47:00.7268] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:47:0 18/11/2022
                      [22-11-18 15:47:00.7270] Slim::Utils::Alarm::findNextTime (471) Skipping..
                      [22-11-18 15:47:00.7273] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 21/11/2022
                      [22-11-18 15:47:00.7276] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:47:0 18/11/2022
                      [22-11-18 15:47:00.7279] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:47:0 21/11/2022
                      [22-11-18 15:47:00.7281] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                      [22-11-18 15:47:00.7284] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                      [22-11-18 15:47:00.7287] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                      [22-11-18 15:47:00.7292] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                      [22-11-18 15:47:00.7392] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                      [22-11-18 15:47:00.7396] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                      [22-11-18 15:47:00.7417] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: power
                      [22-11-18 15:47:00.7420] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                      [22-11-18 15:47:00.7546] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                      [22-11-18 15:47:00.7633] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                      [22-11-18 15:47:48.5053] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                      [22-11-18 15:47:48.5062] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                      [22-11-18 15:47:48.5084] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
                      [22-11-18 15:47:48.5092] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
                      [22-11-18 15:47:49.5090] Slim::Utils::Alarm::__ANON__ (896) Restoring pre-alarm volume level: 50
                      [22-11-18 15:47:49.5103] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
                      [22-11-18 15:47:49.5121] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off
                      Transporter, Touch, SB3, SB2, Duet, Booms, Radios, piCorePlayer --- iPeng & Material --- LMS Version: 8.4.0 - 1676612311 on Pi4 4GB - Max2Play --- Qobuz

                      Comment


                        Alarm not working with 8.3?

                        > And while trying to do this I had again a failed alarm (15:40) and then
                        > one that worked (15:47):


                        Without restarting LMS in between?
                        Michael

                        "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                        (LMS: Settings/Information)

                        Comment


                          Originally posted by didjean View Post
                          Yes... pressing stop stops it (never hear about back up alamr to be heard 1min after pressing stop btw)

                          And while trying to do this I had again a failed alarm (15:40) and then one that worked (15:47):

                          [22-11-18 15:38:34.5768] Slim::Utils::Alarm::save (1017) Saving alarm.
                          [22-11-18 15:38:34.5782] Slim::Utils::Alarm::save (1037) Alarm saved with id c3a432a6 Rescheduling alarms...
                          [22-11-18 15:38:34.5790] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                          [22-11-18 15:38:34.5797] Slim::Utils::Alarm::scheduleNext (1397) Previous scheduled alarm wasn't triggered. Clearing nextAlarm and killing timer
                          [22-11-18 15:38:34.5806] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                          [22-11-18 15:38:34.5815] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 18/11/2022
                          [22-11-18 15:38:34.5822] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:37:0 18/11/2022
                          [22-11-18 15:38:34.5829] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:40:0 18/11/2022
                          [22-11-18 15:38:34.5836] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                          [22-11-18 15:38:34.5844] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                          [22-11-18 15:38:34.5851] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                          [22-11-18 15:38:34.5861] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 56400, volume 50
                          [22-11-18 15:40:00.0012] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
                          [22-11-18 15:40:00.0020] Slim::Utils::Alarm::sound (560) Sounding alarm
                          [22-11-18 15:40:00.0056] Slim::Utils::Alarm::sound (589) Current Power State: Off
                          [22-11-18 15:40:00.0139] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
                          [22-11-18 15:40:00.0147] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
                          [22-11-18 15:40:00.0165] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
                          [22-11-18 15:40:00.0173] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
                          [22-11-18 15:40:00.0190] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
                          [22-11-18 15:40:00.6190] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
                          [22-11-18 15:40:00.6202] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
                          [22-11-18 15:40:00.6208] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                          [22-11-18 15:40:00.6213] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                          [22-11-18 15:40:00.6218] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 18/11/2022
                          [22-11-18 15:40:00.6222] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                          [22-11-18 15:40:00.6226] Slim::Utils::Alarm::findNextTime (471) Skipping..
                          [22-11-18 15:40:00.6230] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:40:0 21/11/2022
                          [22-11-18 15:40:00.6235] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                          [22-11-18 15:40:00.6239] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:40:0 21/11/2022
                          [22-11-18 15:40:00.6244] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                          [22-11-18 15:40:00.6249] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                          [22-11-18 15:40:00.6253] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                          [22-11-18 15:40:00.6259] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                          [22-11-18 15:40:00.6398] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                          [22-11-18 15:40:00.6403] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                          [22-11-18 15:40:00.6418] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
                          [22-11-18 15:40:00.6423] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
                          [22-11-18 15:40:01.6420] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
                          [22-11-18 15:40:01.6431] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off
                          [22-11-18 15:46:50.7417] Slim::Utils::Alarm::save (1017) Saving alarm.
                          [22-11-18 15:46:50.7431] Slim::Utils::Alarm::save (1037) Alarm saved with id c3a432a6 Rescheduling alarms...
                          [22-11-18 15:46:50.7438] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                          [22-11-18 15:46:50.7447] Slim::Utils::Alarm::scheduleNext (1397) Previous scheduled alarm wasn't triggered. Clearing nextAlarm and killing timer
                          [22-11-18 15:46:50.7458] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                          [22-11-18 15:46:50.7467] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 18/11/2022
                          [22-11-18 15:46:50.7474] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:40:0 18/11/2022
                          [22-11-18 15:46:50.7481] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:47:0 18/11/2022
                          [22-11-18 15:46:50.7489] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                          [22-11-18 15:46:50.7497] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                          [22-11-18 15:46:50.7504] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                          [22-11-18 15:46:50.7516] Slim::Utils::Alarm::setRTCAlarm (1503) Setting RTC alarm to 56820, volume 50
                          [22-11-18 15:47:00.1185] Slim::Utils::Alarm::sound (516) Alarm triggered for Salle à manger
                          [22-11-18 15:47:00.1190] Slim::Utils::Alarm::sound (560) Sounding alarm
                          [22-11-18 15:47:00.1205] Slim::Utils::Alarm::sound (589) Current Power State: Off
                          [22-11-18 15:47:00.1272] Slim::Utils::Alarm:ushAlarmScreensaver (1839) Attempting to push into alarm screensaver: SCREENSAVER.datetime. Current mode: INPUT.List
                          [22-11-18 15:47:00.1277] Slim::Utils::Alarm:ushAlarmScreensaver (1845) Pushing alarm screensaver
                          [22-11-18 15:47:00.1290] Slim::Utils::Alarm::sound (609) Current vol: 50 Alarm vol: 50
                          [22-11-18 15:47:00.1296] Slim::Utils::Alarm::sound (622) Alarm playlist shufflemode: 0
                          [22-11-18 15:47:00.1308] Slim::Utils::Alarm::sound (628) Alarm playlist url: randomplay://year
                          [22-11-18 15:47:00.7242] Slim::Utils::Alarm::_setAlarmSubscription (1204) Adding alarm subscription
                          [22-11-18 15:47:00.7251] Slim::Utils::Alarm::sound (697) Scheduling time out in 3600 seconds
                          [22-11-18 15:47:00.7258] Slim::Utils::Alarm::_startStopTimeCheck (1880) 3 scheduled alarm(s)
                          [22-11-18 15:47:00.7261] Slim::Utils::Alarm::scheduleNext (1391) Asked to schedule next alarm for Salle à manger
                          [22-11-18 15:47:00.7265] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 18/11/2022
                          [22-11-18 15:47:00.7268] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:47:0 18/11/2022
                          [22-11-18 15:47:00.7270] Slim::Utils::Alarm::findNextTime (471) Skipping..
                          [22-11-18 15:47:00.7273] Slim::Utils::Alarm::findNextTime (461) Potential next time found: 15:47:0 21/11/2022
                          [22-11-18 15:47:00.7276] Slim::Utils::Alarm::findNextTime (466) Last alarm due: 15:47:0 18/11/2022
                          [22-11-18 15:47:00.7279] Slim::Utils::Alarm::scheduleNext (1424) Next alarm is at 15:47:0 21/11/2022
                          [22-11-18 15:47:00.7281] Slim::Utils::Alarm::scheduleNext (1435) Scheduling alarm
                          [22-11-18 15:47:00.7284] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                          [22-11-18 15:47:00.7287] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                          [22-11-18 15:47:00.7292] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                          [22-11-18 15:47:00.7392] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                          [22-11-18 15:47:00.7396] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                          [22-11-18 15:47:00.7417] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: power
                          [22-11-18 15:47:00.7420] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                          [22-11-18 15:47:00.7546] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                          [22-11-18 15:47:00.7633] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                          [22-11-18 15:47:48.5053] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                          [22-11-18 15:47:48.5062] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                          [22-11-18 15:47:48.5084] Slim::Utils::Alarm:opAlarmScreensaver (1866) Attempting to pop alarm screensaver. Current mode: SCREENSAVER.datetime
                          [22-11-18 15:47:48.5092] Slim::Utils::Alarm:opAlarmScreensaver (1868) Popping alarm screensaver
                          [22-11-18 15:47:49.5090] Slim::Utils::Alarm::__ANON__ (896) Restoring pre-alarm volume level: 50
                          [22-11-18 15:47:49.5103] Slim::Utils::Alarm::__ANON__ (901) Restoring pre-alarm shuffle mode: 0
                          [22-11-18 15:47:49.5121] Slim::Utils::Alarm::__ANON__ (905) Restoring pre-alarm power state: off
                          Years ago the fallback alarm used to fire after a much shorter time but I think that was changed at some point. I hadn't expected the fallback to sound a minute after stopping playback using Material skin but it makes sense as the alarm is still active and the alarm screen is still displayed on the Radio.
                          I want to know why I don't suffer from these alarm issues !!

                          Sent from my Pixel 3a using Tapatalk
                          Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
                          Bedroom: Radio
                          Bathroom: Radio

                          Comment


                            FWIW: please keep the logs coming. I added one more statement around where I believe something's wrong.

                            And if somebody was able to re-produce this issue at will, I'd be happy to learn how to do that. It's impossible for me to investigate this if I have to wait for weeks for the failure to happen...
                            Michael

                            "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                            (LMS: Settings/Information)

                            Comment


                              This sequence looks pretty fishy:

                              Originally posted by didjean View Post
                              [22-11-18 15:40:00.6249] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                              [22-11-18 15:40:00.6253] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                              [22-11-18 15:40:00.6259] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                              [22-11-18 15:40:00.6398] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                              [22-11-18 15:40:00.6403] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                              So what happens here is that the alarm is in fact fired but is instantly stopped before the associated track even starts playing.

                              But the strangest thing is that in this log snippet the same sequence of commands is given, only this time the software appears to identify the instant 'stop' command as a bad request and allows the sounding of the alarm to continue.

                              [22-11-18 15:47:00.7284] Slim::Utils::Alarm::_startStopTimeCheck (1880) 4 scheduled alarm(s)
                              [22-11-18 15:47:00.7287] Slim::Utils::Alarm::setRTCAlarm (1474) Asked to set rtc alarm for Salle à manger
                              [22-11-18 15:47:00.7292] Slim::Utils::Alarm::setRTCAlarm (1513) Clearing RTC alarm
                              [22-11-18 15:47:00.7392] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                              [22-11-18 15:47:00.7396] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                              [22-11-18 15:47:00.7417] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: power
                              [22-11-18 15:47:00.7420] Slim::Utils::Alarm::_alarmEnd (1981) Ignoring self-created request
                              [22-11-18 15:47:00.7546] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                              [22-11-18 15:47:00.7633] Slim::Utils::Alarm::_alarmEnd (1966) Ignoring unwanted notification: playlist stop
                              [22-11-18 15:47:48.5053] Slim::Utils::Alarm::_alarmEnd (1970) _alarmEnd called with request: stop
                              [22-11-18 15:47:48.5062] Slim::Utils::Alarm::_alarmEnd (1992) Stopping alarm
                              Two questions:
                              1. Why does the alarm routine issue a 'stop' directly after 'start'?
                              2. Why does _alarmEnd respond inconsistently to this incorrect 'stop' command?

                              Comment


                                To answer the first of my own questions:
                                That buggy command sequence appears to have been in the code for quite some time already. This bit of code aims to prevent premature ending of the alarm:

                                Code:
                                        # Don't respond to requests that we created ourselves
                                        my $source = $request->source;
                                        if ($source && ($source eq 'ALARM' || $source eq 'PLUGIN_RANDOMPLAY')) {
                                                main::DEBUGLOG && $isDebug && $log->debug('Ignoring self-created request');
                                                return;
                                        }
                                It would thus appear that for some reason the `source` variable is not filled correctly and so it fails to trip over this safeguard.

                                Comment

                                Working...
                                X