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

dth_speakers
dth_voice
dth_alerts

(Dana ) #929

@gst - how do you specify the URL?

When I put a URL in as below for a song on my Synology NAS nothing plays:

\192.168.1.100\Home\Media\My Music\Andrew Bird\Andrew Bird and the Mysterious Productio\04 Fake Palindromes.mp3

In the logs the URL gets stripped down removing the backslashes from the URL. Not sure if that’s intentional or indicates a problem. I actually tried putting in one extra slash to see if that worked but it did not. :slight_smile:

Could you check your logs and see what your piston is sending in terms of the media URL? This is what my logs show - note that where there were two backslashes (before 192.168.1.100) there is only one backslash instead of two, and where there was one backslash between directory names, there is no backslash:

Appreciate it if you can show what you set for your piston setup to play music. This is how I’m entering it (ignore the extra backslashes in this pic, that was when I tried out adding extra backslashes to see if that helped). :slight_smile:


#930

Thanks for trying. My setup looks good as well. It’s just certain times I cant get messages to play. Whenever I use Echosistant, Big Talker, and a couple of others they actually work. Alhough in Big Talker the message doesn’t play until about 5 minutes later for some reason. So I know it works. I just tried webcore first the first time over the past couple of days, and nothing comes out of my speakers. I am pretty sure I have the pistons setup correctly. I even used a few imported pistons and just changed the speakers to my speaker. I will keep tinkering with it.


#931

Here’s an example that works;


#932

Just curious…where do you get the url information for the track


(Dana ) #933

Thanks, @gst, appreciate it.

When you look at your logs for the piston, does the call to play the track also strip out the backslashes as my example above does? If you have two backslashes the call in the log shows one, if you have one backslash then the log shows none and the directories in the track URL get run together.

EDIT:

NVM, using forward slashes… DOH


(Dana ) #934

@cchilds1976

http://192.168.1.4:8200/MediaItems/92.mp3

192.168.1.4: IP address for USB stick attached to router. To get this, open router management pages (usually at 192.168.1.1) login, and look at Attached Devices to get IP of the USB stick.

8200: I think this is called the HTTP or HTTPS connection port for the router. This info should be in the router management pages or in router documentation (assuming it’s been left at default).

MediaItems: Folder on USB stick where the media resides

92.mp3: Audio file to play (DOH! :slight_smile: )


#935

I owe you one for all of the help…


(Dana ) #936

That’s just me saying what I think…I could always be wrong, and @gst can confirm what I wrote and how he determined those values himself. :slight_smile:

In fact it appears that the USB drive that I connected to my Netgear Nighthawk router is listed under the USB Functions options on the Advanced tab, and is not included in the Attached Devices list, which makes sense since it does not get an IP address.

I am still unable to make this work. Frustration is rising. :open_mouth:


#937

That’s exactly what I did. I have an Asus RT-AC68U which has 2 USB ports, so using a USB drive I clicked the option for UPnP media server and enable it, then went to my PC’s network and found the device, right click on any of the mp3’s and in properties copy the URL.


#938

I think I may be on to something. I was playing around in my speaker settings. I changed “Delay before msg to 0” and "delay between actions to 0. I also turned on “Avoid Secure delay”. “Refresh frequency to AUTO”. After changing these to arbitrary numbers, I was able to actually get a text to message voice out of my speaker. Frustration level decreased a little. NEVERMIND…it’s back to not working again. It just worked the one time.


(Joel W) #939

Can someone help my Fabriq is no longer in the Media Renderer what do i do, as it can’t be found?


(Lee Charlton) #941

Re 'Squeezebox works 50/50…'
Thanks for coming back on this. I’m not able to get the App to create a device handler, it appeares that it can not handle multiple players on one IP (I have 5 Squeezebox players). I guess you have a single player, perhaps that works. I wonder if there is anything to be gained by switching all my squeezeboxes off and detecting them one by one with the App. Doesn’t feel like it will work though.


(Russell Seward) #942

First, I hope this is the correct place to post this, I wasn’t sure if I should create a new thread or jump onto this one.
Because this one seems to go all over the place, I figured I follow that lead.
Also, I apologize if this has been discussed. I didn’t read all 932 posts (I did skim through).

So here’s my issue:
I have SmartThings V2 hub, app installed on IOS devices.
My main purpose for wanting a media renderer is for audio notifications from sensors (announcing when doors open).
I installed MRC and the device handler and connected my Pioneer A1 (XW-SMA1-K) with little issue. Setup the smart app, tested, and everything worked as expected, until the speaker goes into standby mode.

When in standby mode and a sensor is triggered, the speaker sometimes will not change to an active state (come out of standby mode).
When it does activate (I can tell because the lights on the speaker come on), it doesn’t play any audio, unless I trigger the sensor a second time.
For example, I’ll open a door and see the speaker come out of standby mode, but no audio plays. After opening the door a second time the audio notification plays as expected. This is assuming it does come out of standby mode (it doesn’t always). I get the same results when the speaker is connected to wifi or an ethernet cable.

I’ve tried adjusting the “Delay before msg (seconds)” setting within the device settings which had no effect.

It’s quite possible, the problem is my speaker. During my troubleshooting I did reset the speaker to factory default, and reinstall the latest firmware. As well and add and remove from SmartThings several times.

Is there any settings within the app or code that would effect this behavior.

I really don’t mind purchasing another speaker if that’s the solution, but I want to know that it will work as expected.

Let me also add that the speaker is configured in “Quick Start Mode”


(Augusto) #943

@ule

Recently all my media rendered apps stopped sending audio to my Sabrent DLNA wifi-receiver. it appears that the mp3s sent are valid as I can replay them in my browser.

The most notieable error in the logs is the skipping trace. Posting what I see in logs below. This me trying to play the weather forecast from a media renderer app set for that purpose. Any help appreciated.

Speaker ID: da80690e-bfcd-4a68-83c2-3dbba039a3f6
Media Renderer: e4777d31-0194-4182-959f-70cb1b97d8a2

Live Logging:
e4777d31-0194-4182-959f-70cb1b97d8a2 4:43:00 PM: trace MEDIARENDER RESPONSES
e4777d31-0194-4182-959f-70cb1b97d8a2 4:43:00 PM: debug getChildDevices(false), children=1
e4777d31-0194-4182-959f-70cb1b97d8a2 4:43:00 PM: debug getChildDevices(false), children=1
34c4cd91-74b3-4756-ace1-a9082ab3957e 4:42:40 PM: debug getChildDevices(false), children=1
e4777d31-0194-4182-959f-70cb1b97d8a2 4:42:00 PM: debug getChildDevices(false), children=1
da80690e-bfcd-4a68-83c2-3dbba039a3f6 4:41:29 PM: trace Skipping event generation for sound file http://s3.amazonaws.com/smartapp-media/polly-tts/salli/141829b45d116a1603a9e527e5f5467d8156ba19.mp3?ts=1513554085250
da80690e-bfcd-4a68-83c2-3dbba039a3f6 4:41:29 PM: trace Skipping event generation for sound file http://s3.amazonaws.com/smartapp-media/polly-tts/salli/141829b45d116a1603a9e527e5f5467d8156ba19.mp3?ts=1513554085250
da80690e-bfcd-4a68-83c2-3dbba039a3f6 4:41:29 PM: trace Skipping event generation for sound file http://s3.amazonaws.com/smartapp-media/polly-tts/salli/141829b45d116a1603a9e527e5f5467d8156ba19.mp3?ts=1513554085250
da80690e-bfcd-4a68-83c2-3dbba039a3f6 4:41:28 PM: trace Skipping event generation for sound file http://s3.amazonaws.com/smartapp-media/polly-tts/salli/141829b45d116a1603a9e527e5f5467d8156ba19.mp3?ts=1513554085250
da80690e-bfcd-4a68-83c2-3dbba039a3f6 4:41:28 PM: trace Skipping event generation for sound file http://s3.amazonaws.com/smartapp-media/polly-tts/salli/141829b45d116a1603a9e527e5f5467d8156ba19.mp3?ts=1513554085250
1210b993-3f93-4bb1-a059-8eca58140e49 4:41:25 PM: debug msg = The current temperature is 1 degrees. Today’s forecast is Clear. Low 0 degrees. Tonight will be Clear skies. Low near 0 degrees. Winds W at 10 to 15 km/h. Tomorrow will be Sunny. High 13 degrees. Winds W at 15 to 25 km/h.

App logging:
e4777d31-0194-4182-959f-70cb1b97d8a2 4:36:01 PM: trace MEDIARENDER RESPONSES
e4777d31-0194-4182-959f-70cb1b97d8a2 4:36:01 PM: debug getChildDevices(false), children=1
e4777d31-0194-4182-959f-70cb1b97d8a2 4:36:00 PM: debug getChildDevices(false), children=1
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug scheduling sunset handler for Mon Dec 18 23:37:00 UTC 2017
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug there is a new sunset time, sending sunsetTime event
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug setTime: Mon Dec 18 23:37:00 UTC 2017 (1513553760000)
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug riseTime: Mon Dec 18 14:16:00 UTC 2017 (1513606560000)
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug findNextSunriseOrSunset(false, true, false)
d68ae7f7-1b31-4a2d-a159-12750bc8bca0 4:36:00 PM: debug Executing sunset handler
34c4cd91-74b3-4756-ace1-a9082ab3957e 4:35:32 PM: debug getChildDevices(false), children=1
1210b993-3f93-4bb1-a059-8eca58140e49 4:35:24 PM: debug msg = The current temperature is 1 degrees. Today’s forecast is Clear. Low 0 degrees. Tonight will be Clear skies. Low near 0 degrees. Winds W at 10 to 15 km/h. Tomorrow will be Sunny. High 13 degrees. Winds W at 15 to 25 km/h.

Device Events:
Date Source Type Name Value User Displayed Text
2017-12-17 4:39:00.428 PM MST
moments ago DEVICE udn uuid:7bdccb04-1dd2-11b2-b6c4-… SABRENT_f0e6 Speaker udn is uuid:7bdccb04-1dd2-11b2-b6c4-f4e058f48931
2017-12-17 4:38:00.493 PM MST
moments ago DEVICE udn uuid:7bdccb04-1dd2-11b2-b6c4-… SABRENT_f0e6 Speaker udn is uuid:7bdccb04-1dd2-11b2-b6c4-f4e058f48931
2017-12-17 4:37:00.811 PM MST
moments ago DEVICE udn uuid:7bdccb04-1dd2-11b2-b6c4-… SABRENT_f0e6 Speaker udn is uuid:7bdccb04-1dd2-11b2-b6c4-f4e058f48931
2017-12-17 4:36:00.776 PM MST
moments ago DEVICE udn uuid:7bdccb04-1dd2-11b2-b6c4-… SABRENT_f0e6 Speaker udn is uuid:7bdccb04-1dd2-11b2-b6c4-f4e058f48931
2017-12-17 4:35:55.415 PM MST
moments ago DEVICE level 75 SABRENT_f0e6 Speaker level is 75
2017-12-17 4:35:26.942 PM MST
moments ago DEVICE level 100 SABRENT_f0e6 Speaker level is 100
2017-12-17 4:35:25.632 PM MST
moments ago APP_COMMAND playTrackAndResume Speaker Weather Forecast sent playTrackAndResume command to SABRENT_f0e6 Speaker
2017-12-17 4:35:11.472 PM MST
moments ago DEVICE unknownMessage 475b5544031d4cc63bc04196eaa67a42 Body is 60 bytes
2017-12-17 4:35:09.008 PM MST
moments ago DEVICE unknownMessage 475b5544031d4cc63bc04196eaa67a42 Body is 60 bytes
2017-12-17 4:35:00.815 PM MST
5 minutes ago DEVICE udn uuid:7bdccb04-1dd2-11b2-b6c4-… SABRENT_f0e6 Speaker udn is uuid:7bdccb04-1dd2-11b2-b6c4-f4e058f48931
2017-12-17 4:34:03.247 PM MST
6 minutes ago DEVICE unknownMessage 475b5544031d4cc63bc04196eaa67a42 Body is 60 bytes


(Ule) #944

Hi

I think the problem its the stand by mode in the speaker, the connect app try to get the status from the speaker each 3 min, if you see the status “Not connected” , then the speaker has not returned the status for at least 3 min, if you has the last version of connect app, you can use the watchdog section to keep the timers up to date.


#945

Will these work with the Media Renderer?


(Dana ) #946

If it’s Bluetooth only, then no. Looks like it is only Bluetooth.


#947

Thanks…trying to find the best sounding speakers that can do this…


#948

How about these? They say DLNA…“Send media content from a hard drive or memory card directly to your RIVA WAND speakers with DLNA.”

https://rivaaudio.com/wand/


(Mark C) #949

Hi im lost with the some to the terminology. I have GH, smartthings and a Seagate media server. Currently i use local cast to cast to my GH. Im after a system where i can ask gh to search my Seagate and cast. Will this do that? Thanks