Author Topic: Raspberry Pi as UPnP player under Dianemo  (Read 1077 times)

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 884
  • Living with LMCE
    • View Profile
Raspberry Pi as UPnP player under Dianemo
« on: February 10, 2014, 11:26:06 pm »
Hello,

I'm trying to setup RPi with raspbmc as UPnP player that can be controlled  from Dianemo.

Have three short questions :

1. What do I put into /etc/pluto/media_config.conf for RPi ? Is this right ?
Code: [Select]
#XBMC RPi
Room=12:        AudioDev=412; VideoDev=412; KeepScreenOnForOSD=no

2. How to troubleshoot setup it it isn't working ?

3. If I want to start media from XBMC GUI - what is the proper way to get media from Dianemo ? UPnP server LS doesn't provide video files, also music files are not working for me, should Samba be used for this ?

Thanks in advance,
regards,
Bulek.


« Last Edit: February 10, 2014, 11:32:29 pm by bulek »
Thanks in advance,

regards,

Bulek.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4360
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #1 on: May 12, 2014, 01:03:56 pm »
Hello,

I'm trying to setup RPi with raspbmc as UPnP player that can be controlled  from Dianemo.

Have three short questions :

1. What do I put into /etc/pluto/media_config.conf for RPi ? Is this right ?
Code: [Select]
#XBMC RPi
Room=12:        AudioDev=412; VideoDev=412; KeepScreenOnForOSD=no

2. How to troubleshoot setup it it isn't working ?

3. If I want to start media from XBMC GUI - what is the proper way to get media from Dianemo ? UPnP server LS doesn't provide video files, also music files are not working for me, should Samba be used for this ?

Thanks in advance,
regards,
Bulek.

See http://wiki.linuxmce.org/index.php/Dianemo_S#Configuring_Media_Config for details of media_config. If the Rpi is attached to a TV and the audio will come from the TV's onboard speakers then the AudioDev would be the TV device as you will want the audio commands to be sent to the TV (ie CEC or IP control of TV). If the TV is not controllable then you can use the AppServer device in the room that the Rpi/TV is located as this has a facility to react to audio commands and route those to Alsa. If the audio will be routed via an amplifier, and the amplifier has rs-232 or IP control then you would use the dev ID of the Amplifier as the audio control commands would need to be routed to the Amp. In all cases the VideoDev would be the the Rpi.

In most cases any problems can be resolved by double checking that you are routing the appropriate commands to the correct devices.

To pull media from XBMC's GUI you would use either UPnP mode (set this in Web Admin) or you could use Samba. UPnP is usually better because the UPnP server will organise your media for you. When you pull media from XBMC Dianemo will not know that media is 'playing' so you will not get any indication of this on your Orbiters. However if you set your Orbiter to the room where media playback has been started via XBMC's UI you should be able to control the playback from your Orbiter still.

If you use our Rpi firmware you also get CEC control integration to from Dianemo.

All the best

Andy
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #2 on: June 06, 2014, 03:19:46 pm »
Hi Andrew,

How can I get the firmware of Dianemo for my Rpi.

Thanks,

Heinz