SmartThings Community

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

dth_speakers
dth_voice
dth_alerts
(Ule) #536

Hi , I have release a method to speech to alexa , I use an android phone, try it

(Chris) #537

I could use some assistance. I have enabled upnp on my router Cisco E3000. I am using a Jongo S3 speaker. I have followed the instructions and created the App and the Device type Handler. I am also using the Smart Alarm app and have enabled custom notifications on the Jongo S3 but the text to speach is not coming through, I can see in the recent events of the Jongo that somethings is trying to fire but nothing comes through. Any Ideas, did I do something wrong?

(Cody Willner) #538

I am having some issues with my Kodi on a tablet setup (using Network Audio Remote for Android as CP). It was working fine over the last couple of days. As of this morning, any time I open up the Things portion on my ST app and try to open the speaker/renderer, ST app crashes every time. I know ST is having issues galore over the past several weeks and they are in the process of resolving them now. None of my other 30+ things do this when I open up the thing in detail in the app (lights, switches, sensors, etc.). I have uninstalled and reinstalled several times this morning. I have tried using BubbleUPnP and others on my tablet to no avail and they’re not even discovered. Kodi is discovered quickly, as it always has been, and try to re-setup the speaker, but just keeps crashing. The funny this is that I can manually play a song on my tablet and view the list of things on the ST app and it will show my Kodi speaker thing as “playing”. But as soon as I touch it to open up the player it shows a white screen and crashes. Any ideas or should we chalk it up to the ST issues?

On another note, anyone else have a good DLNA software-on-a-tablet setup for music and notifications? Kodi and NAR seem to be okay, but just curious if there was something better. Thanks in advance!

(Ule) #539

Hi @CodyWillner,

  1. Have you te last release of generic MR?
  2. Could you send me the logs when the app crash
  3. is there a list with the soft players in
    Working Speakers (44 Devices Confirmed , 29 waiting Confirmation) last addition: Klipsch Stadium, Help Us to increase the list
(Chris) #540

Could you possibly help me out with my issue above.

(Ule) #541

Hi @GunGeek

  1. Could you test with the smartapp media renderer events

  2. the speaker can play some sound (from mediarenderer events apps)?

  3. the text to speech is working ?

(ilker Aktuna) #542

@ule

Text to speech functions which are using Ivona TTS stopped working.
Did you make any change that could affect this ?

the URL formed from the app is as below:

x-rincon-mp3radio://tts.urbansa.com/tts2.php?1459151397843=merhaba%253F%26Input.Type%3Dtext%252Fplain%26OutputFormat.Codec%3DMP3%26OutputFormat.SampleRate%3D22050%26Parameters.Rate%3Dmedium%26Voice.Language%3Dtr-TR%26Voice.Name%3DFiliz%26X-Amz-Algorithm%3DAWS4-HMAC-SHA256%26X-Amz-Credential%3DGDNAIOXILIXY4ZVMTX4A%252F20160328%252Fus-east-1%252Ftts%252Faws4_request%26X-Amz-Date%3D20160328T084957Z%26X-Amz-SignedHeaders%3Dhost%26X-Amz-Signature%3D54888341caa6833b2a27d2c17040a01fa0b1edfd7a818acba031315dbf3b8c5e

note that I’ve changed the key in it because this is public.

Thanks.

(ilker Aktuna) #543

@ule

I think I have a clue on what happened.
According to my Ivona usage statistics, I could not use Ivona after 27th (sunday) midnight.
That’s when DST starts in my country (Turkey)
So it might be an issue of signing POST and GET requests with correct date.
What do you think ?

What is the tts.php doing in this transaction ? Does it use an hardcoded timezone / DST setting ?

Thanks.

(Ule) #544

Hi @mrmrmrmr, update to last release. it’s working fine

(ilker Aktuna) #545

Have you included Ivona TTS in your device handler ?
Because that’s how I’m using it. I don’t use the DLNA events.
Can you tell me what you’ve changed in the Ivona part ?

(Chris) #546

I must be doing something wrong I cant get it to play either way. I cant even get it to play a sound. and when I go into smartthings app to see the jongo s3 the app crashes. Its only this device that does it.

(Cody Willner) #547

Hey @ule. I am on the latest release of MR connect, MR events, and MR player. I am unfamiliar on how to get the logs, especially of those apps/processes I have deleted and re-installed. I am trying to re-setup my Kodi (localhost on Android) but now I can’t discover it via ST. I have not changed anything with ST or my Android/Kodi setup, but now it just won’t discover it at all. I’ve waited 10 minutes on the discovery part of the app and it’s not finding it as a renderer anymore. Very strange as it was just working a few days ago, then when it started to freeze it was still at least discoverable, but now it’s just not being found at all. I’m thinking it had something to do with all of the changes ST is doing. I will reset everything and try again and let you know if I can at least discover the renderer and get some logs. Thanks @ule!

(Ule) #548

HI @CodyWillner,

  1. Verify your router settings and check upnp its enabled
  2. Try to use some upnp finder to check your kodi it´s visible on your network ex Browse UPnP
  3. If you can find the device in your network but no ST.
    3a) Disconnect and reconnect your ST hub (some times works)
    3b) Try to change the ip of your mediarenderer
(Ule) #549

Hi @GunGeek, In Thing sections on ST app (IOS or Android) you must see your jongo speaker and the status, if the status is “NOT PRESENT” your jongo can not be reached, try to use some upnp app to check if your jongo its in your network.

(Chris) #550

It is present, shows playing. I can play audio from my network share on the Jongo through the jongo app on android. I can see the jongo on my PC for streaming and stream audio from network to jongo on pc as well. Again as soon as I click on the jongo in smartthings the app crashes. I got into see it in smart things one out of 10 times. I viewed the history and see both smartapps trying to either play a message or sound but nothing comes through the jongo. I have tried TTS and just a simple sound nothing so far.

(Ule) #551

Hi, I have update the speech to alexa connect app, now you can control switch devices with it. and you can add other languages to control.

Its really good option, just to take your android phone click the mic in firefox and ask , “turn on the kitchen light at 75%”

you can be anywhere, no need to be in house to control the switches, for me its better that to open the smartthings app and find the thing

and like google have several languages you can add other languages commands, I have added spanish , but its easy to add others.

I can say “enciende la luz de la cocina al 50%” or “apaga la bocina de la sala”

you can try it.

(Jimmy) #552

Is it possible for this to work with the Fire TV at all? Maybe using the AirPlay/DLNA Receiver (PRO) app? The goal is to have SmartThings driven sound notification coming through the Fire TV (assuing it is turned on) when ANY app is being used.

(Ule) #553

Hi @prjct92eh2, Sorry I dont understand your question, do you want to use the fire tv like ST speaker? the answer : maybe is possible, Fire TV have the DLNA app, but I dont known if is compatible , the software mediarenderer change the id each time is turned on, or maybe do not send all information, if the app have all DLNA settings it must work, but no one has confirmed it works
sorry if I misunderstand your question

(Jimmy) #554

Correct. If we are watching the Fire TV and ST pushes a voice alert i want the Fire TV to output the ST audio. The app was only $5 and i had some Amazon credit, so i bought it. Will report back after experimenting tonight if I have any luck.

(Ule) #555

Hi @prjct92eh2, I dont known if the app can run in background, you must try