[OBSOLETE] Sonos Talking Alarm Clock

So this is one that does NOT work as you’d expect? And what exactly do you expect…from the screenshots it is supposed to play a voice track then music? Or is this one working and another isn’t?

Sorry for the redundant questions but I want to make sure I get the details up front so I can attempt to reproduce it.

No problem. I was going to upload more screenshots, but could not because I am a new member. Not sure when they raise that restriction.

This is the one I use for my girls that does not work. I expect it to play a voice greeting and then play music. It does neither. But if I set it to just play music, it will do that.

Also, it only does it during the week, I forgot to display that part. Thanks!

hmmm…didn’t know there was a restriction on screenshots…

However, I think you hit on something…if it works sometimes and not others it is either a glitch in the system or you have some restriction limiting it to a specific set of days. Have you checked those?

I think the restriction is on the number of posts in one topic per day…it is 3. So I may not be able to respond until tomorrow, if I end up replying 3 times today.

To answer your question, I do have it set up to only work on week days, and while in the Home mode, but I did remove those restrictions (and set the time to a different time) and tested, and it still didn’t work. See screenshot below:

Below is the IDE log. I noticed that at 1:58:17PM when I updated the alarm with the time of 1:59, the log reflected: “1 song in list”. Not sure if that is significant or not. Part of the IDE log is below (but it said that I am restricted from posting more than 2 links in a post because I am a new user), so will have to get creative with the links.

1:59:02 PM: debug Not parsing XML message:
<s:Envelope xmlns:s="http:///schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http:///schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
40
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

1:59:02 PM: trace Extracting current volume

1:59:02 PM: debug Not parsing XML message:
<s:Envelope xmlns:s="http:///schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http:///schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
</u:SetVolumeResponse>
</s:Body>
</s:Envelope>

1:59:02 PM: debug Not parsing XML message:
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
<e:property>
<LastChange>
<Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Master" val="40"/><Volume channel="LF" val="100"/><Volume channel="RF" val="100"/></InstanceID></Event>
</LastChange>
</e:property>
</e:propertyset>

1:59:02 PM: trace Has volume: ‘40’

1:59:02 PM: trace uuid; RINCON_B8E937D763A801400

1:59:01 PM: error java.lang.NullPointerException @line 605 (parseDate)

1:59:01 PM: debug Switch off restrictions: true

1:59:01 PM: debug Switch on restrictions: true

1:59:01 PM: debug Presence: true

1:59:01 PM: debug Day ok true

1:59:01 PM: debug Alarm time: Evaluating restrictions

1:59:01 PM: error java.lang.NullPointerException @line 605 (parseDate)

1:59:01 PM: debug Switch off restrictions: true

1:59:01 PM: debug Switch on restrictions: true

1:59:01 PM: debug Presence: true

1:59:01 PM: debug Day ok true

1:59:01 PM: debug Alarm time: Evaluating restrictions

1:59:01 PM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

1:59:01 PM: trace sonosAction(SetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master, DesiredVolume:40])

1:59:01 PM: trace volume = 40

1:59:01 PM: trace setLocalLevel(40)

1:59:01 PM: trace /setOtherLevels()

1:59:01 PM: trace setOtherLevels(40)

1:59:01 PM: trace setLevel(40)

All, I worked with Michael on my issue over the last few days, and wanted to post root cause, in case anyone else runs into this issue.

It seems my timezone was wiped out in ST, apparently due to an update to the hub. I noticed that the timezone field was blank in my location, so I reset it in the ST app on my phone. Once I did that, it correctly listed my timezone.

Once the timezone was fixed, the voice came back and it accurately spoke the time, date, etc.

I will post an update to trap this error later this week! Good work @ematt70!

Does anyone get problem with ‘Play a track after voice greeting’ ? I set it on, then after voice greeting ends, nothing happens - no music at all (I specified radio station though). In quite time the voice greeting suddenly starts again with no music afterward, and again in couple of minutes, and again… Until I disable the alarm in the ST app.
Any thoughts what I did wrong?

Has this always been the case or did it just start happening? That is certainly not the intention.

I just installed Talking Alarm Clock and set up one alarm. Nothing unusual.

Ok…Can you share a screenshot of what your scenario looks like (in the app). Nothing has changed, but I also want to make sure you are using the latest version as well (not the one published by SmartThings…there is a later version).

I use 2.2.5 / 1.5.5 versions I found on http://thingsthataresmart.wiki/index.php?title=Talking_Alarm_Clock. Hope they are latest.

Yep that is the latest version…If you’d like to troubleshoot this further please some screenshots and we can take this to PM…I would also like to know if there are any errors in the live logging when the alarm goes off. Just testing the basics of what you described on my system worked just fine.

Hi @MichaelS - my talking alarm clock stopped working a couple of weeks ago. After some quick troubleshooting, it seems it is because I the alarm set up to speak the weather temp and forecast, but for some reason, it can’t get that. Logs are below. Any idea why it wouldn’t be able to retrieve the weather forecast and temp? I will add, that it seems to get the sunrise and sunset info without issue (which I think also triggers off of zip code?).

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:03 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<CurrentVolume>
40
</CurrentVolume>
</u:GetVolumeResponse>
</s:Body>
</s:Envelope>

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:03 AM: trace Extracting current volume

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: error java.lang.NullPointerException: Cannot get property ‘temp_f’ on null object @line 515 (getWeatherReport)

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug msg=Good morning! It is 7:58 AM on Sunday, March 31, 2019.

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Switch off restrictions: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Switch on restrictions: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Presence: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Day ok true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Alarm time: Evaluating restrictions

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:02 AM: debug Not parsing XML message:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
</u:SetVolumeResponse>
</s:Body>
</s:Envelope>

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: error java.lang.NullPointerException: Cannot get property ‘temp_f’ on null object @line 515 (getWeatherReport)

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug msg=Good morning! It is 7:58 AM on Sunday, March 31, 2019.

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Switch off restrictions: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Switch on restrictions: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Presence: true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Day ok true

b1b10291-8300-4174-88a3-40f3b5526db0 7:58:01 AM: debug Alarm time: Evaluating restrictions

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace sonosAction(GetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master])

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace sonosAction(SetVolume, RenderingControl, /MediaRenderer/RenderingControl/Control, [InstanceID:0, Channel:Master, DesiredVolume:40])

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace volume = 40

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace setLocalLevel(40)

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace /setOtherLevels()

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace setOtherLevels(40)

3ef6e784-d377-4973-a6b3-d72c1185b3c1 7:58:01 AM: trace setLevel(40)

Smart things changed the weather API and the old version no longer works. I recommend disabling weather reporting until this gets fixed.

Thanks @MichaelS, for the confirmation…I thought that it was something like that.

1 Like

Hey @MichaelS, it seems talking alarm clock quit working within the last couple of weeks. It seems to have all started after I took the recommended action from ST to update my Sonos speakers in ST to use the LAN Sonos Player Websocket instead of the LAN Sonos Player. It seems like I had to do this because of ST’s official support for Sonos now. After doing this, the Talking Alarm Clock now does not recognize my Sonos speakers (if I switch them back to the LAN Sonos Player, it does). Are there any plans to officially support the websocket player? If not, that is ok…I appreciate you providing such a valuable app to the community free of charge to this point.

Thanks!

I have not even looked at how to control speakers using the new websockets. I am rather surprised that it doesn’t use the media player hooks. I recommend staying with the old style until I get an opportunity to look into this

It appears that I am seeing the same thing. After a Sonos update and SmartThings my talking alarm clock quit working totally. If I try to use lan sonos player I don’t get any alarms and it doesn’t work in SmartThings.

Unfortunately, that seems to be the case with the new Sonos DTH. Not sure how to fix it. I would recommend going back to the old DTH if possible.