Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

My home entertainment network with NAS and Raspberry Pi

DZone's Guide to

My home entertainment network with NAS and Raspberry Pi

· IoT Zone
Free Resource

Build an open IoT platform with Red Hat—keep it flexible with open source software.

This post explains how different devices in my home connect via Wi-Fi and provide an easy way of streaming media contents. In this setup I create a playlist in one location (NAS) and all other devices can consume it.

Home network Topology


Router

All my devices are connected to Netgear’s gigabit router. Earlier I had a 10/100 Netgear router and I replaced it with 10/100/1000 router. If you are planning for a streaming network at home it's worth investing in a very good gigabit router.

Network Attached Storage (NAS)

The integral component of my streaming network is the 4TB WD My Cloud. It hosts a twonky DLNA server and iTunes server, any DLNA complaint devices can connect to it and stream audio or video. Some devices in my home are not DLNA complaint, like a docking station and home theater. That’s where Raspberry Pi will be helpful.

Raspberry Pi

I knew about Raspberry Pi since it launched but never used it until recently. I decided to use Raspberry Pi to make my non DLNA devices to play media from my NAS. There are so many tutorials available on the internet to setup a Raspberry Pi, like noobs installer and Raspbian image, I used Raspbian image to setup.

Next is setting up my Pi to play media from a DLNA server, Stephen Phillips has a very good post explaining how to do it. Follow the steps and you will have a device that can connect to any non DLNA device to play media from a server. I then connect the Pi’s audio out to my Home theatre and could play audio from the NAS. Without raspberry pi I have to switch on my TV when ever I want to play audio, with this setup my TV can be switched off when I am listening to music, also it saves energy.

I can use my Android Tab as a remote to paly media using BubbleUPnP (paid and free) or from my Lumia 920 using AV Remote (paid and trial available) or a free app called myMediaHub. You can use any similar apps you want.

Download Red Hat’s blueprint for building an open IoT platform—open source from cloud to gateways to devices.

Topics:

Published at DZone with permission of Sony Arouje, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}