RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)

Try to check if your speaker have some known issue

Hi Againā€¦

I got a AudioCast WiFi player. It works perfect playing the chosen RadiTrack from the ST list (trance\blues etcā€¦) but I cant choose my own music.

Is it possible to pick ONE radio station in ST?
And is it possible to make it play from Spotify ?

Hi.

The DLNA system needs a control point who send the media to speaker, you must to use your control point to send any radio station and the DLNA Player will storage the url, you can use that url from apps like MediaRenderer Events

I dont think its possible to use Spotify unless your speaker use some kind of url to reprocess the spotify request.

@ule Iā€™ve been unable to integrate the repo as well. Iā€™m no expert when it comes to GitHub or its ST integration, but looking at a few other ST repositories, it looks like SmartThings is expecting a devicetypes and a smartapps folder, with the respective files in each. Is there any chance youā€™d update your repository accordingly? It would make updating easier for those of us with that integration in place.

That said, Iā€™ve enjoyed the Media Renderer and DLNA player so far and am using them with VLC player on a PC to play TTS notifications from SmartThings. Thanks for your hard work!

Has anyone had any luck using Samsungs range of speakers? I have announcements working without issue, but lost any ability to send URLs to their speakers for internet radio (R Lite WAM1400 variant). Just get nothing. My Pure Jongos were great for this, but bad for use with announcements.

Any advice greatfully accepted :slight_smile:

Iā€™ve had a similar experience - could not get the Multiroom speakers to do much, but at least it did announcement fairly well. So I replaced my Multirooms with Denon Heos speakers, but as far as ST are concerned, that was a step backwards. Still canā€™t get stuff like url play working, but they donā€™t do announcements properly either.

Iā€™m going ok with announcements using big talker, itā€™s not to bad on that front. But been scouring everywhere I can regarding the streaming of radio or music (outside of the Music app). Sadly to no avail :sweat:

I second this (request for allowing github repository to integrate with smartthings IDE). Wonderful work on this project. Would love integration between IDE and Github if that is an option.

Before I came across this thread Iā€™d assumed this was an error and contacted Tech Support for Smartthings since the earlier iterations of Speaker Companion (Notify with Sonos and Notify with Sound) worked fine ā€“ but the Smartthings rep told me that Speaker Companion requires that the device handler support an ā€œaudionotificationā€ capability for Speaker Companion to recognize the audio device.

I donā€™t know enough yet to know if incorporating this new requirement is reasonable, but if so I imagine it would be great to enable full support of the stock Smartthings speaker app.

In the meantime I plan to try out alternative apps (e.g. the Events app, or maybe I can find a copy of the old Notify with Sound code).

Thanks again for your work on this. It is such a great tool for the community.

SqueezeBox Radio confirmed 50/50 workingā€¦

Working:

  • volume slider
  • mute/unmute
  • Notifications work only in ā€œMSG Enabledā€ status

NOT working:

  • resume play after notification is spoken
  • play/stop/prev/next
  • what does the last icon do? ā€œNormal/Station/Genreā€

@ule , today I noticed that my TTS messages in Turkish do not play. Iā€™ve checked in logging if the URL is formed correctly and saw that it is normal. I opened the URL on browser and I got a player but it does not play anything.
Is there a problem on your server (tts.freeoda.com) ?

This might have started earlier (yesterday) and I might have noticed today.

Thanks,

I am trying to find an alternative Turkish TTS engine. But all of them are paid ones.
Does anyone know free and multilingual TTS engine ?

@ule , what is the problem on your server ?

hi @mrmrmrmr, The problem is not my server, the Ivona Server has deprecated the free service. you can verify your Ivona account for information

@ule I have received the information about Ivona from them. But they did not disable the service as far as I know. Am I wrong ?

Btw , will you change the service to Amazon Polly for multilingual support ?
I am trying to figure out how I can use Amazon Polly in your code but I could not understand their API.

I have tried ispeech with your code and it works but ispeech is too expensive for home use.

with Amazon Polly , I am especially having difficulty understanding their request signing method. Theyā€™ve explained it here with steps :

Polly speech synth request:
http://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html
http://docs.aws.amazon.com/polly/latest/dg/API_Reference.html (api reference)

signing API request:
http://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html
http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html
http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
http://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html
http://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html
http://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html

but I donā€™t understand the signing parameters. Iā€™d appreciate any help here if you can understand it.

1 Like

@ule I am really having bad time with this missing feature. If I had not got used to it , maybe I wouldnā€™t even care but I was really used to having announcements in my own language. How can we solve this ?

p.s . I am willing to subscribe to a low-cost tts service. and Amazon Polly is good for the price. But I donā€™t know how to use it through Groovy code.

thanks.

1 Like

The media rendered connect finds my devices easily and quickly. But when it tries to save it gives an ā€œError saving pageā€ message. So no devices can be added?

Anyone else seen this?

Hi, I think you have not installed the player device,

hi @ule,
I really need a litte help. I could not figure out how to access Amazon Polly through Groovy. I believe it is an easy task for you. Iā€™d really appreciate if you could help.
at the moment , I am calling ispeech service with free key (I changed the line in your app to call it)
but it has an annoying ā€œdemo licenseā€ announcement at the beginning/end of each announce.

is there anyone interested in this ?
is it really very difficult to call Amazon Polly from Smartthings code ?

Hi, right now I have not time to verify polly service, I think its the same call than ivona, the signature its in my develop code, you can try.