The Ultimate Linux Home
LinuxMCE and Pluto are both frameworks that allow various components to be integrated together. Both projects utilize other major components along with a set of libraries called DCERouter (DCE stands for Data, Commands and Events), a general-purpose message router. It can send messages to applications that are “wrapped” in code and receive commands from those applications when they need something done.
As an example of how this works, say a call comes into Asterisk while you are watching TV. The Asterisk program could send a message to MythTV to mute the show or even halt the show until the call is finished.
Of course, it is one thing when you think about programs controlling other programs, but if you apply almost the same logic to hardware devices, you more easily can map the functions of many home automation products into the framework of the system relatively effortlessly.
The framework also manages plugins, like a lot of other flexible FOSS code (GIMP comes to mind), allowing more modules to be added for new functionality.
Now, let's look at the different components that make up the system hardware.
The core is a server that can sit in an out-of-the-way place, such as your cellar or garage. The core is the place where the software and data are stored. It should have two NIC cards: one for the internal network (recommended as at least 1GB) and one to go to the outside Internet (could be 10/100Mb). The core also should have an interface card for any existing telephone lines that you have (if you have any), for this also is the place where the Asterisk PBX is going to be managing your VoIP telephone calls. Alternatively, you could have a VoIP gateway at some other place in your network.
The core should be a machine where you easily can add disk drives and probably have larger amounts of memory, depending on the load.
The media director hooks up to your TV and audio/visual equipment. It can have inputs from your cable boxes or over-the-air connections, CD and DVD drives, audio input, digital “film” and other connections to amplifiers, TVs, recorders and so forth. There should be one media director for every room where you would consider having an “entertainment area”.
These media directors typically do not have any local storage. They boot PXE over the network. This allows you to use a PC for the media director and have an operating system stored on the local disk. Boot off the disk, and the operating system comes up. Boot over the network, and it becomes a media director.
However, you also can install both the core and the media director software on your hard disk and start that software at any time. This hybrid allows you to boot into LinuxMCE, then stop the MCE software and use Kubuntu. You also could choose to boot Kubuntu, use it, and then start and stop the MCE software as you desire—very flexible.
The orbiter is a separate system that is just used to control the LinuxMCE system. It can have a touchscreen or use a keyboard and mouse. Orbiters can be a tablet system or even a regular PC, but the function is to control the various parts of the system.
Symbian Bluetooth-enabled cell phones as well as some Linux, Windows and Windows CE Webpads (such as the Nokia 770), PDAs, Web browsers or even the CISCO 7970 phone can act as control interfaces for the system. As the documentation says, “You can use it [the CISCO 7970] to make calls and control your home as well.”
Symbian-based Bluetooth phones use Bluetooth for communication whenever they can and switch to the cellular data network when users are not close enough to use Bluetooth. If every media director has a Bluetooth connection, you probably will be within Bluetooth range in most parts of your house.
The most amazing part is that the Bluetooth signal also allows the music or video that you select to follow you as you move from room to room. If two people with Bluetooth phones are in the same room, the choice of media stays with the first person who was in the room. If that person leaves, it switches to what the second person had chosen before entering the room. It also can set the lighting in that room, adjust the volume and other functions.
The controls that show up on the various screens are tuned to individual people's tastes. “maddog” would have a different set of settings, music and preferences than “shedog” (if there were a “shedog”). And, when “maddog” goes to make a telephone call, it shows his own list of contacts. When controlling the system from a cell phone, it shows only the cell-phone owner's information.
Home security also is managed by this system. You can integrate your video cameras into the system, and if someone breaks in to your house, a live feed sends an image to your cell phone and alerts you. You then can call 911 and make sure the authorities are headed toward your house or business. You also can speak to an intruder through your speaker systems—much better than a monitored alarm system.
Finally, the core and the media directors actually are general-purpose computers and diskless clients. The core and media directors in your home are joined together as a network, but you also can combine multiple homes with an encrypted VPN. As you go house to house (or across the world), you can access your files and media. Imagine being in your hotel room with high-speed Internet and have access to all your home (or office) data.
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- The Firebird Project's Firebird Relational Database
- Stunnel Security for Oracle
- My +1 Sword of Productivity
- SUSE LLC's SUSE Manager
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide