Roon Extension: Alarm Clock v0.9.0

Can you post a screenshot of the configured alarm?

Will do tonight, after work. Thanks for the reply!

Thanks. All is wired with the exception of the tablet that has the control app.

Here it is:

I went into settings => extensions last night and it was empty. Logged into NAS and found Docker running but needing an update. Updated, set the alarm you see. Waited a minute past the set time with music not stopping.

Hopefully the extension disappearing was an anomaly.

Did the time that was displayed in the status line of the extension after pressing the Save button match the 07:13 setting?

Can you check the log of the container for errors? If you can upload it somewhere then I will have a look.

Following up a remark by @Anthony_Cimino I found out about this strange behaviour:
grafik

grafik
Core running on a QNAP-NAS with proper time-zone setup; Extension is running in a Docker image on Core with time-zone information set; Roon Remote is on Windows.

Alarm goes off at the Time (15:55) in the status line. My TZ is GMT +1.

Hi Jan,

Sent a link to the log file by PM.

The times you asked about did match. Something funny with time though. If I choose “once” the result is Wed (tomorrow) instead of today.

I tried two containers for TZ setting. One with “Alaska”, the other with " UTC−09:00". Didn’t work either way. You may see one alarm with 06:42 instead of 18:42 in the log. I realized and tried again with the right time.

I hope using “Alaska” as TZ is good, particularly if it automatically accounts for DST time changes.

Thanks for taking a look! …Pete

If you open a console on the container and enter the date command, do you get the expected time?

I don’t know if a console is available via the QNAP interface. If you have an ssh connection then you can use a command like this:

docker exec -it roon-extension-alarm-clock sh
1 Like
~/.RoonExtensions/lib # date
Wed Mar 13 16:55:06 GMT 2019

Which is correct (GMT time) but not my local time.

It seemed that my image was outdated. I deleted my old Docker container, pulled a new image and setup a new container. I also updated my Docker Compose configuration in the other thread. Now all works as expected. :crossed_fingers:

1 Like

There was a timezone bug fixed in version 0.3.2 of the Extension Manager image, so if you were running an older version then that explains.

2 Likes

It was 5 or 6 months old. By choosing the :latest label I assumed that Docker would somehow update the image if not while running so at least on restarts. Apparently I was wrong. :slightly_frowning_face:

Hello, just a question, is there another way to control the alarm clock? The problem is, I’m able to do that from the extension panel on the computer. But my girlfriend… I’d not like her to fiddle around with the settings of anything, You know for sure what I mean, she is not so technologic and actually…
well the question: is there a way to control the Roon Alarm clock from any kind of app? A simple stupid app from the mobile phone?
Thank You!!

Unfortunately the Extensions panel is the only available interface :frowning:

Just installed version 0.7.4. Used it to run the queue on a zone, then to start internet radio on another zone. Works well.

1 Like

Have you tried a different girlfriend?

1 Like

I wil consider Your suggestion :wink: :rofl:

:unamused:

@Jan_Koudijs
Almost two weeks ago I started my free trial period of Roon and I was very happy to see that Roon was able to replace the Sonos software. I have three (sometimes four) Sonos zones, one Linn Akurate and the usual array of PC-linked speakers and headphones.
I’ve been using Sonos since 2009 or thereabouts, and have always been very unhappy with its software limitations. The 65k tracks limit is a bummer that I had to to work aound using .m3u playlists for all my classical music, forcing me to create a new .m3u file for each new album on my NAS, and also totally preventing me from being able to search within my classical music collection (200k tracks).
There’s very limited screen space on the sonos app for showing album, track and artist info, and NO composer showing. The list of irritations is almost endless…
The only redeeming quality of the Sonos software is its alarm function which works fine. My Sonos’s are used primarily in the morning, waking up the family and accompanying both shower as well as breakfast sessions. And at the end of the afternoon I use Sonos in the kitchen to make cooking a more agreeable job. For more serious listening sessions I have my Linn in the living room, but that’s another story.
You can imagine that I was somewhat disappointed, to say the least, to find out that this very powerful application called Roon does everyting right but had NO alarm function!!! And without this alarm I would still be stuck having to use the Sonos software that I loathe so much. Of course I immediately turned to my good friend Google, and thus found your extension. Although it cost me some blood sweat and tears to get it installed (Roon should really make the installation of Add-ons much simpler!!!) I finally managed to get it working and now, after a few tests I’m very happy with it. I can’t thank you enough for building this add-on, Jan!
Of course, the user interface is not optimal or as user freindly as its Sonos counterpart, but I understand that this is mostly the result of the limitations of the Roon extensions API so I’m not blaming you. You did a wonderful job!. Maybe Roonlabs will eventually build its own alarm function (perhaps even using your programming!) optimizing the UI in the process, but for now your extension will do nicely.
I must say that I cannot understand why Roonlabs have not done so themselves at a much earlier point in time. There must be many many more Sonos users around the globe who would be exstatic if they could finally switch over from Sonos to Roon keeping full functionality and getting a ton of additional features to boot!
During my tests I found that the playlist I used to wake up with (it’s conveniently called ‘Wekker’ :wink: and I change its content each night before going to bed) is played in shuffled mode. Today I Googled again to find out why. It turns out this is a feature you have deliberately built in and not a bug. Mostly I take great care in putting together the ‘Wekker’ playlist, and I would really like it if it’s played in the correct order. So, finally, besides being a big “thank you”, this post also contains a ‘feature request’: I’d like to kindly ask you if it is possible to make the shuffle mode optional when using a playlist to wake up to. You’d make me very happy indeed!

P.S. If I were to use the option “Queue (DIY)”, would the queue be played “as is” and not be shuffled? I just noticed this queue option today and have not tried it out. Perhaps this would be a work-around, but it would not be ideal.

2 Likes

Hi @Hans_Valeton,

Thanks for the kind words and sharing your experience, I appreciate the detailed feedback :+1:

You are indeed not the only Sonos user who is wondering why Roon doesn’t support an alarm clock out of the box and falls back to this extension.

What route did you follow to get it installed? I’m always looking for ways to simplify the process.

I will look into this, during development I indeed only considered static playlists.

If you make sure that shuffle is switched off in the queue screen then this should be the case. The only difference is that before going to bed you fill-up the queue instead of your “Wekker” playlist. Give it a try and let me know how it works out.