Difference between revisions of "User Manual"
Perspectoff (Talk | contribs) (→Adding Additional Hardware) |
Perspectoff (Talk | contribs) (→Adding Additional Hardware) |
||
Line 79: | Line 79: | ||
You can also put multiple cards in the [[Core]], such as analog phone line interfaces (e.g. from www.digium.com), or analog video capture cards for surveillance cameras. You can put the PVR/satellite capture cards in the individual media PCs, or you can put them in the Core, which will enable sharing video throughout the house. | You can also put multiple cards in the [[Core]], such as analog phone line interfaces (e.g. from www.digium.com), or analog video capture cards for surveillance cameras. You can put the PVR/satellite capture cards in the individual media PCs, or you can put them in the Core, which will enable sharing video throughout the house. | ||
− | Bluetooth mobile phones can be used as remote controls by adding a USB Bluetooth Dongle to each Media Director (around $25). Each Media Director will report the signal strengths of each mobile phone | + | Bluetooth mobile phones can be used as remote controls by adding a USB Bluetooth Dongle to each Media Director (around $25). Each Media Director will report the signal strengths of each mobile phone (this is how the Core figures out what room you're in). Since all resources in the whole house are shared, you will be able to control any device in any room from anywhere -- as long as you're within Bluetooth range of a Media Director (within 10m, or 30feet). |
You can also use low-cost network audio players, like the Squeeze Box, which can be placed anywhere in the system. | You can also use low-cost network audio players, like the Squeeze Box, which can be placed anywhere in the system. |
Revision as of 15:06, 15 May 2008
Hardware
Picking The Right Components
The Core
The most important component is the "Core." This is the main LinuxMCE server that runs all the applications. A good Pentium 4 with at least 80 GB of storage and two network cards (Gigabit ideally) is often sufficient. A high-end server with RAID-5 storage is best.
It is best to dedicate one PC as the Core server. You can put this computer somewhere out of the way and not connect a monitor to it. If there will be only one computer in your LinuxMCE system, that computer will be a "hybrid" Core server and media player. It will defnitiely require a connection to a TV.
Here are some possible Core server platforms.
Media Directors
Media Directors (MDs) are PCs with outputs to connect to a television (such as S-video or RCA jacks). Sound outputs to speakers, from a good sound card, is also important. The MDs play all your streaming music and video from the Core, from network attached storage (NAS), and from other MDs in your system. Output to a TV and speakers can create an awesome multimedia experience.
Here are some possible Media Director platforms.
Orbiters
Orbiters are high-tech remote controls. LinuxMCE provides for multiple orbiter options such as a generic PC, wireless tablet PC, PDAs, mobile phones running Symbian or Microsoft Mobile, or through a web interface accessible to any computer within your LinuxMCE network, or even from the Internet. (The web interface requires user authentication.)
Here are some possible Orbiter platforms.
Network Attached Storage
An alternative to having a lot of storage space in the Core PC itself is to store your files on a network attached storage (NAS) server. An example is the Buffalo Terastation, a 1.0 TeraByte RAID-5 hard drive for under US$1000. You can store large music and video collections this way. Your LinuxMCE system can also record TV shows (using MythTV) and video from your security cameras (using Motion). Both require lots of hard drive storage space.
Here are some possible NAS solutions.
Additional Devices
Home automation devices for controlling your lights, security cameras, a plasma screen TV, a streaming media music player such as the SlimDevices Squeezebox, an alarm system with a serial interface, etc. These are examples of devices that require another controller device called a gc100. The gc100 allows these and other devices that communicate using a serial port (e.g. alarm panels) or an infrared port (e.g. a TV) to connect to the network and talk with your LinuxMCE Core.
Plug 'n' Play Capabilities
Once LinuxMCE is installed, you can treat it like an appliance -- plug it in, turn it on, and leave it alone. You don't even need to install any software on the media PCs that will be used as Media Directors. If these PCs are connected to the Core by wired Ethernet, they can usually be set to boot LinuxMCE from the Core server over the network whenever you want to use them as a Media Director. The rest of the time they can be used as a regular PC, using whatever operating system is on their hard drives.
The LinuxMCE Core must be the DHCP server for your LinuxMCE network so that it can offer the plug-and-play and network boot services. The Core server bridges your "external" home LAN and an "internal" LinuxMCE LAN. For this to work, it is recommended to have dual network cards -- one to connect to the "external" network (which can be your home LAN or simply your Internet connection), and one for the "internal" LinuxMCE network (to which all your LinuxMCE devices are connected). The LinuxMCE Core server effectively acts as DHCP server and firewall for the LinuxMCE network.
Note that you can easily have PCs outside of the LinuxMCE internal network, if you choose. Simply do not connect them to the LinuxMCE network. Alternatively, you can choose to have all PCs in your house be part of the LinuxMCE network. In this case the Core server provides DHCP and firewall services for you entire home LAN.
Wiring Considerations
The connection between the Core server and the Media Directors requires a significant amount of data transmission. It is recommended that a wired Ethernet be used between the Core and each Media Director.
Other devices which do not have as high data transmission requirements, such as PDAs used as Orbiter remote controls, can be used wirelessly through a wireless access point that is later connected to the LinuxMCE LAN.
Furthermore, wireless netbooting is not very easy. For this reason, a wired LAN is easiest and best for most users.
Additional Hardware Resources
Choosing hardware components can be difficult. There are multiple articles regarding hardware selection in the Hardware Category.
Also see:
Setting Up The Hardware
Using your own PCs
LinuxMCE is Linux-based. Sometimes drivers are not available for Linux as soon as they are for Windows. If you bought some new, exotic hardware there may not yet be drivers for Linux. Check out the Hardware Category first. Also check out linuxcompatible.org for a list of Linux-compatible hardware. As a last resort to find out if your hardware might work, post a message in the LinuxMCE forums.
Adding Additional Hardware
You can also put multiple cards in the Core, such as analog phone line interfaces (e.g. from www.digium.com), or analog video capture cards for surveillance cameras. You can put the PVR/satellite capture cards in the individual media PCs, or you can put them in the Core, which will enable sharing video throughout the house.
Bluetooth mobile phones can be used as remote controls by adding a USB Bluetooth Dongle to each Media Director (around $25). Each Media Director will report the signal strengths of each mobile phone (this is how the Core figures out what room you're in). Since all resources in the whole house are shared, you will be able to control any device in any room from anywhere -- as long as you're within Bluetooth range of a Media Director (within 10m, or 30feet).
You can also use low-cost network audio players, like the Squeeze Box, which can be placed anywhere in the system.
Orbiter remote controls not only include the Media Directors themselves (through the mouse and keyboard), but infrared remotes, webpads and even PDAs can be used.
A Dedicated Core
The Core is the central point of the LinuxMCE system and runs applications and daemons needed for the other devices to exchange messages. A dedicated core will run all of the LinuxMCE components, it really means that the user will not be using the Core as a Media Director as well.. You'll need to use additional Media Directors to be able to play movies, listen to music and watch TV. This kind of setup is recommended when you have lot of extra devices, this way the back end applications will have full access to Core's resources. This method basically means your main server will be tucked away in storage closest and will not be used as a Media Director.
There is work currently on getting a Clean Core working, to further reduce the resource consumption of the Core.
A Dedicated Hybrid
A "hybrid" just means the computer that is running is the "Core" software is also running the "Media Director" software-you use the Core as a Media Director. The only reason we don't recommend this in our high-end installations is because a computer suitable for a Core is usually a pretty massive box with major hard drive capacity and rather noisy, so it's shoved away in the wiring closet, rather than sitting next to a TV like a Media Director would. However, you can use a regular PC as the Core + Media Director (Hybrid) also. Just remember that it will need to always be on since the Core software is what controls everything in the house.
Be sure you complete the installation of your Core/Hybrid before trying to boot the media directors.
Installation of Software Components
There are currently two methods of installation. The DVD installation which only requires the downloading and creation of a single installation disk, and the 3 CD method which requires 3 disks, but offers more flexibility in installation.
DVD Installation
CD Installation
Setting Up LinuxMCE
Tell LinuxMCE About Your Home
Tell LinuxMCE about your home shows you how to use LinuxMCE to get all of the information about the current installaion. In about 2 hours you can have everything setup--the whole-house media server, full control all your lights, climate, and tv/hi-fi gear, the phone system, follow-me, everything. It's quick, painless, and non-technical.
Setting up your LinuxMCE system consists of 4 things:
- Providing some general information, such as what kind of network you have.
- Creating the devices (lights, tv's, cameras, etc.).
- Creating your scenarios. A "scenario" is a group of commands, or tasks, you want executed when you touch a button. Each scenario you create will appear on the Orbiters as a button. Scenarios are generally organized into 5 categories: lighting, media, climate, security and telephone. You can create, for example, a lighting scenario called "Entertaining" which turns on all the lights in the house and in the front yard. A button labeled "Entertaining" will then appear on the Orbiters in the lighting section--touch it to activate the scenario. Any scenario can do anything. For example, just because the "Entertaining" scenario is a lighting scenario doesn't mean the scenario only affects lights. You can make the scenario also play some music, and maybe open the front gate. You can use the "Advanced, My Scenarios" menu option for low-level control over a scenario, to make it do whatever you want. However the Wizard includes pages that make it very easy to create scenarios. For example, when you add a lighting scenario with the Wizard, it lists all the lights in the house and lets you pick the ones you want to change with the scenario.
- Creating event handlers. This is how you tell LinuxMCE you want it to do something in response to some event. For example, you want LinuxMCE to turn on the Front Porch light when a motion detector is tripped. Or you want it to play a loud message on the TV's when there is a security breach. Or stop watering the lawn after it rains.
The developers have tried to automate has much of the set up as possible with several scripts and wizards. See the different wizards below, and if the wizards are unable to set up the system properly then visit the admin website for many more options
- To get started you will want to read the documentation on Quick Start Guide
- You will need to know if your graphics card is capable of running the UI2 with masking or the UI2 with alpha blending prior to running the wizard. Please read Graphics Test for information on how to determine the capabilities of your current video card.
- If you are in doubt or if you want to get a working setup quickly please select UI1 which will work on any video card supported by Kubuntu.
AVWizard
The Audio/Video Wizard is designed to allow for easy setup of components which allow the Core or a Media Director to output content to the connected display, which can range from a simple CRT, to HCTV with component and/or composite inputs.
Setup Wizard
The setup wizard is an automated series of screen which allows the user to enter information and devices that LinuxMCE will control. The Setup Wizard is broken down in to two modes: Media Player Wizard and House Setup Wizard. After selection of the Setup Wizard you will see an additional screen. If the audio and video are properly setup you should see and hear a video. If this is correct please select Next.
The next screen you will encounter asks which wizard would you like to start: House Setup Wizard or the Media Player Wizard. Please select the wizard you want to begin.
House Setup Wizard
Media Player Wizard
Using LinuxMCE Admin Website
Although there are automated wizards to assist in setup, the most robust system for setup is the LinuxMCE Admin Website. The user can create and modify any and all devices that LinuxMCE can control.
You need a web browser to configure your LinuxMCE system using the built-in LinuxMCE Admin Website Since the Hybrid + Media Directors have one built in, you can just click the "LinuxMCE Admin" website to bring it up directly on the Hybrid. Or, from any web browser in your home, go to the URL: http://myip/pluto_admin where myip is the IP address of the Core/Hybrid. Login then click Wizard.
Scenarios, Events & Security
In the Scenarios page, add the scenarios, or buttons, you want for each room. Like a Lighting scenario in the Bedroom called 'Go to sleep' which dims the lights, or a security scenario in the living to view a camera. When you do a 'quick reload router', DCERouter will automatically add Media Scenarios for each room for whatever media devices are in there. But your new scenarios are not visible on the Orbiter until you regenerate--see the note below in 'Using LinuxMCE with an Orbiter'. Next add Events, in other words, when something happens (a motion detector is tripped, the sun sets, etc.) you want LinuxMCE to do this (turn on a light). Also set security options, like how you want to be notified when something happens in the house. Each page has context sensitive help to explain everything. They will take effect next time you reboot or 'quick reload router'.
Configuring Myth TV
Most of the setup for MythTV is done automatically, but for more information take a look at the following links
Upload Your Media
There will also be Microsoft Windows compatible network shares on the Core or Hybrid (uses Samba) . There is a "public" share for putting all files that the whole family can share--movies, music, etc. And there is a private share for each family member. To access these network shares in Windows, choose Start, Run, and type \\ plus the IP address of the Core or hybrid.
For example: \\192.168.80.1 Note that if you add new family members, their network share will not be available until after you reboot the Core/Hybrid. Once you copy your media into the appropriate folder, you can go into the LinuxMCE Admin Website, choose "Files & Media" and "Media Files Sync" to be sure your media is in the database, add attributes (artist, actor, etc.), and choose cover art.
Using LinuxMCE
LinuxMCE is a complicated piece of software, so proper understanding of each of the components makes for a better experience. CLICK HERE for a quick introduction and description of the terms needed to understand most to best use LinuxMCE.
Orbiter Interface
The Orbiter is quite simple to use, and all the screens are quite straightforward. Use the LinuxMCE Admin Website to configure your LinuxMCE system, including choosing the options on your Orbiter, such as lighting scenes, climate scenarios, and define what a/v equipment you want it to control.
Media Director Orbiter
Orbiter is just our way of saying remote control. All the Media Directors run an on-screen Orbiter, like the one below. Choose options on the on-screen orbiter with a keyboard/mouse attached to the media director, or with an infrared remote control. The Orbiter software runs on Linux, Windows and Windows CE, and can also be run on webpads and PDA's. Either way, it works exactly the same.
In the lower right on the main obiter screen are the 'who' and 'where' buttons. This indicates what room you are in, or want to control, and which family member is using the Orbiter.
Touch either button if this isn't correct. Even if you are using an on-screen orbiter on the media director in the Living Room, for example, you can still change the location to the Bedroom. That means you would be using the Media Director in the Living Room as a remote control for the devices in the bedroom. Normally you don't change the location for an on-screen orbiter, since that device stays in a fixed place, but you do when you have a wireless web pad or pda you carry around.
The icons on the left all lead to a maps, or floorplan, of your house showing your lighting, media, climate, telecom and security devices. Next to each of the floorplan icons are the scenarios for that category and the given room. In the scenarios section of the LinuxMCE Admin web site you create the scenarios for each room. You can have a lighting scenario called 'entertaining guests' that sets some lights, plays some background music, unlocks the door, and so on.
NOTE: Many orbiters have relatively slow processors (like PDA's and phones) and may be running on slow wi-fi connections. So, the orbiters do not retrieve the large, full-size graphics, scaling them, drawing the text, and rendering everything on the fly.
Rather all the graphics on your Orbiter are pre-scaled and pre-rendered by OrbiterGen. This means that if you add new scenarios or devices, or change floorplans or skins, you won't see them immediately on the Orbiter. You must go to the 'Advanced Options' page by clicking the LinuxMCE logo on the main menu, and choose 'Regenerate this Orbiter'. You'll be asked to wait about 60 seconds or so while the renderer creates new graphics, and then the Orbiter will reload.
Mobile Orbiter
Unless you turned off the "Auto Detect new Bluetooth Phones" option for the Media Director, compatible Bluetooth Mobile phones will automatically be detected when they are within range of any Media Director if they have Bluetooth turned on. A message will appear on all the Orbiters asking if it's a phone, and if so, to whom it belongs. Be sure you add your family members to the LinuxMCE Admin web site before doing this. Also, you may need to turn on the TV to see the message on the on-screen orbiter.
If you choose to install the software, the phone will beep. Just hit 'yes' to accept the software, and accept the default prompts.
The mobile orbiter works pretty much like a regular orbiter. The difference is that you don't usually need to worry about the "who" and "where" button. The "who" is determined when you chose to install the software. That family member is assumed to always be the user. And the "where" is automatic-whenever you come within range of a media director it will automatically switch to the correct location. You can press the button under the location if you want to control a location other than the one you are in.
Since the display is smaller, rather than showing all the scenarios on the main menu, you must first choose the category, like lighting, and then choose the scenario from the sub menu that appears. You can also hold the category to toggle 'follow-me' mode, indicated with a red F. So, if you hold down the 2 button, a red F appears for media. Now as you move around the house your media will follow you. All 5 categories have follow-me.
General Usage Pages
Lights
Media
Controlling Equipment
- Have LinuxMCE automatically control the TV and Stereo
- Control the media director's volume using either a receiver
- Use network audio players for a whole-house music solution
- Use a satellite/cable box with the PVR
- Control a TV or cable/satellite box
- Control regular A/V equipment
- Control A/V equipment with RS232/USB/Ethernet
Using Portable Media
- Watch a DVD/Listen to a CD
- Rip a CD/DVD to the Core
- Watch/Listen to media stored on the Core
- Play the same media in multiple rooms simultaneously
Media Attributes
- Flag media stored on the core as private
- Flag whatever media I am watching now as private
- Catalog media with attributes
- Search for media by attributes using the Orbiters
- Make LinuxMCE do something when I start media
- Have my media follow me
- How are media files organized?
- Use my own pictures in the Screen Saver
Climate
Telecom
- General Usage Guide
- Make phone calls using a VOIP provider listed at VOIP Service Providers.
- How to Configure Phone Lines Manually
- Make phone calls using a regular phone line (POTS), ISDN or T1
- Do video conferencing
Security
- Monitor surveillance cameras
- Arm or disarm the alarm using the Orbiters
- Arm or disarm LinuxMCE's alarm using proximity sensors
- Automatically take pictures when sensors are disturbed
- Have LinuxMCE notify me of security alerts
Advanced
LinuxMCE Admin Website
Troubleshooting
This troubleshooting guide assumes some basic knowledge of Linux. In LinuxMCE, everything is a device. In the LinuxMCE Admin Website, you can choose Devices, to see a list of all the devices in your installation. We recommend you don't make changes here - you can break things! The top level device is usually a computer, either the core or a hybrid or an orbiter. All the logs for the devices on that computer are stored in /var/log/pluto. You can ssh in to the core using the root password you chose, and from there, you can ssh to all the media directors-shared keys were automatically setup.
All current activity is logged in the file that ends in ".log". At bootup, certain device logs are archived into /var/log/pluto/*.log.*.gz files
All DCE devices are running in separate screen sessions. Type "screen -ls" to see all active screen sessions, and "screen -r PID" where PID is the id you saw in the -ls list to attach to the screen session. There is not much for you to do or see though since all the output on stderr and stdout is going into the logs. DCERouter is running the same way on your core or hybrid.
At bootup, all the scripts listed in the LinuxMCE Admin Website under Boot Sequence are run. If any programs crash, a core dump file is put in /usr/pluto/coredump.
If you're a programmer, you can also check out our Programmer's Guide. If you want to learn about writing DCE Devices, see the DCE.