Difference between revisions of "User:Purps"

From LinuxMCE
Jump to: navigation, search
(MD (Living Room))
 
(34 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
=Introduction=
 
=Introduction=
Hello all. My name is Matt and I live in England. Have been playing with LMCE for a number of years now. I would class myself as a user due to my complete lack of any development skills, so am always keen to help in any way I can. By profession I am a Mechanical Design Engineer in the space industry. In my spare time I enjoy metalwork, woodwork and various other little electronics/DIY projects. Any remaining free time is spent with my extremely patient and long-suffering girlfriend with whom I live.
+
Hello all. My name is Matt and I live in England. Have been playing with LMCE for a number of years now. I would class myself as a user, but am always keen to help any way I can. By profession I am a mechanical design engineer in the space industry. In my spare time I enjoy metalwork, woodwork and various other little electronics/DIY projects. Any remaining free time is spent with my extremely patient and long-suffering girlfriend with whom I live. We have now bought our first house together, so now the LMCE-related carnage can ''really'' begin.
 +
 
 +
I have started a blog for all my major projects, which of course includes LMCE http://projectsofmatt.wordpress.com/
 +
 
 +
The intention is to keep progress reports and general ramblings to the blog. This wiki page will serve as a snapshot of my setup.
 +
 
  
 
=Software=
 
=Software=
My current installation is based on the 8.10 beta <del>23165</del> <del>23388</del> <del>23796</del> 24164 [http://linuxmce.iptp.org/snapshots/ snapshot].
+
My current installation is based on the 1004 RC. It is fantastic. Don't bother with 810 any more.
  
 
I would highly recommend the use of [http://clonezilla.org/ Clonezilla] for backing up LMCE at appropriate intervals i.e. whenever you get something working! Clonezilla saves a partition of your choice as a compressed file which can in turn be saved to any connected hard drive. Then, you can attempt to get the next thing working without fear of ruining your life/relationship. If the worst happens, just pop the Clonezilla live CD back in and restore the relevant image back. To use, I found Clonezilla to be very intuitive; my only other advice would be to name your backups with as much detailed information as possible. You won't always necessarily want to restore the last image you made, as you may find a problem that goes back further.
 
I would highly recommend the use of [http://clonezilla.org/ Clonezilla] for backing up LMCE at appropriate intervals i.e. whenever you get something working! Clonezilla saves a partition of your choice as a compressed file which can in turn be saved to any connected hard drive. Then, you can attempt to get the next thing working without fear of ruining your life/relationship. If the worst happens, just pop the Clonezilla live CD back in and restore the relevant image back. To use, I found Clonezilla to be very intuitive; my only other advice would be to name your backups with as much detailed information as possible. You won't always necessarily want to restore the last image you made, as you may find a problem that goes back further.
 +
  
 
=Network=
 
=Network=
 
It is highly advisable that you adopt the recommended [[Network Settings|network setup]] and use 2 NICs in your core. This means that a) things are a lot more likely to work straight out of the box and b) when things DO go wrong, you are far more likely to receive support. In my experience it is definitely worth it.
 
It is highly advisable that you adopt the recommended [[Network Settings|network setup]] and use 2 NICs in your core. This means that a) things are a lot more likely to work straight out of the box and b) when things DO go wrong, you are far more likely to receive support. In my experience it is definitely worth it.
 +
 +
Yes, we need a diagram here, a picture is worth a thousand words and all that....
  
 
My external network looks a little bit like this...
 
My external network looks a little bit like this...
Line 24: Line 32:
 
'''NIC 2 (eth1) on Core -> Netgear 8-port Gigabit switch'''
 
'''NIC 2 (eth1) on Core -> Netgear 8-port Gigabit switch'''
  
Connected to this switch there is another Netgear Gigabit switch (switches can be daisy-chained to give you more ports), and connected to these you'll find...
+
Connected to this switch you'll find...
  
 
*All of the MDs
 
*All of the MDs
Line 34: Line 42:
 
''Note: If you have a spare wireless router laying around, it can be used as a WAP (this is what I have done using the much loved Netgear WGR614). Just connect it up to a switch (your internal network) via one of the LAN ports (these are the ports that you would normally plug your computers into, NOT the port that you would usually plug your Internet cable into). In the router's admin page, make sure DHCP is DISABLED, and then set it up in the normal way. Your SSID should NOT be your name or give any clues as to where you live, use the strongest encryption you can (I use WPA2) and it makes a lot of sense to set up an access list (MAC filter). This allows you to specify exactly which MAC addresses are allowed to connect, making your WAP very secure. Finally, and this is important if you wish to access the router's admin page again (perhaps you'll want to add a friend's MAC address for example), you must assign a new LAN TCP/IP. This wants to be in the 192.168.80.X format, and should not be an address that is already in use. I used 192.168.80.254.''
 
''Note: If you have a spare wireless router laying around, it can be used as a WAP (this is what I have done using the much loved Netgear WGR614). Just connect it up to a switch (your internal network) via one of the LAN ports (these are the ports that you would normally plug your computers into, NOT the port that you would usually plug your Internet cable into). In the router's admin page, make sure DHCP is DISABLED, and then set it up in the normal way. Your SSID should NOT be your name or give any clues as to where you live, use the strongest encryption you can (I use WPA2) and it makes a lot of sense to set up an access list (MAC filter). This allows you to specify exactly which MAC addresses are allowed to connect, making your WAP very secure. Finally, and this is important if you wish to access the router's admin page again (perhaps you'll want to add a friend's MAC address for example), you must assign a new LAN TCP/IP. This wants to be in the 192.168.80.X format, and should not be an address that is already in use. I used 192.168.80.254.''
  
=Core/MDs=
 
This section talks about the main bits of hardware in my home that make up the principal elements of any LMCE system.
 
  
==Core (Cupboard)==
+
=Storage=
 +
The two internal hard disks in the Core are each dedicated to their respective jobs (OS and cameras). For the storage of all media, and to serve as a backup drive for our other computers, a D-Link DNS-323 NAS drive is being utilised. It has x2 HDD bays, only one of which is currently occupied with a 2TB disk, and I will add another in the near future.
  
Main hardware includes...
+
This NAS is plug'n'play with LMCE. If you want to password protect the NAS volume, achieved via the NAS admin page, you must fill out the appropriate boxes in web admin also.
  
*'''Motherboard'''
 
[[MSI 870-C45]] AMD 770 ATX Socket AM3 Realtek GbLAN controller
 
*'''Processor'''
 
AMD Athlon II X2 250 3.00GHz Socket AM3 2MB L2 Cache
 
*'''Memory'''
 
Kingston 2GB (2x1GB) DDR3 1333MHz i5 Memory Kit CL9 1.5V
 
*'''Power Supply'''
 
Corsair 400W CX with 12cm fan, 80Plus Certified Efficiency
 
*'''Graphics card'''
 
ATI Radeon X300SE 128MB PCIe
 
*'''Hard disks'''
 
OS - Seagate Barracuda ST380815AS 80GB SATA 8MB Cache
 
  
Storage - Western Digital WD20EARS 2TB SATAII 64MB Cache. ''Note: When reinstalling LMCE, I disconnect this drive, so only the OS hard disk can be seen. Then once installation is complete, I reconnect the storage hard disk and let LMCE detect it as normal. This is just to ensure that it is not accidentally wiped.''
+
=Core/MDs=
*'''NIC'''
+
This section talks about the main bits of hardware in my home that make up the principal elements of any LMCE system.
<del>Realtek RTL-8169.</del>'' Clashed with my onboard Realtek RTL8111/8168B, PCI ID overlap issue.''
+
  
Realtek RTL-8139/8139C/8139C+
 
*'''TV cards'''
 
x2 [http://wiki.linuxmce.org/index.php/Hauppauge_WinTV-NOVA-T-500 Hauppauge WinTV-NOVA-T-500]
 
*'''DVD Drive'''
 
Hitachi-LG GDR-8164B 16x DVD-ROM IDE Optical Drive. Only used when I reinstall.
 
*'''Z-Wave controller'''
 
<del>[[Aeon Labs Z-Wave Interface|Aeon Labs Z-Stick]].</del> ''This is NOT the recommended interface, but works well for a couple of lights and other simple devices.''
 
  
[[Seluxit viaSENS Home Controller]]. ''This IS the recommended interface.''
+
==Core (PA)==
*'''Z-Wave inclusion remote'''
+
Main hardware includes...
[[Aeon Labs Minimote]]
+
 
*'''UPS (Uninterruptible Power Supply)'''
+
*'''Case''' - Nasty old beige ATX case, lives in cupboard under stairs, out of sight.
APC Smart-UPS 1400. Powers the Core, modem, one of the switches, cameras (cameras use PoE, which keeps plugs in the same place).
+
*'''Motherboard''' - [[MSI 870-C45]] AMD 770 ATX Socket AM3 Realtek GbLAN controller
*'''UHF/VHF/FM signal amplifier'''
+
*'''Processor''' - AMD quad core processor
Generic mains-powered booster. 1 input, 2 outputs.
+
*'''Memory''' - 3GB
*'''Mouse/keyboard'''
+
*'''Power Supply''' - Corsair 400W
Keysonic wireless mini-keyboard with integrated touchpad.
+
*'''Graphics card''' - ATI Radeon X300SE 128MB PCIe
 +
*'''Hard disks''' - 80GB for OS, 500GB for cameras.
 +
*'''NIC''' - Realtek RTL-8139/8139C/8139C+ (non-gigabit, used for external network)
 +
*'''DVD Drive''' - Only used when I reinstall.
 +
*'''Z-Wave controller''' - [[Seluxit viaSENS Home Controller]], this is the recommended interface.
 +
*'''Z-Wave inclusion remote''' - [[Aeon Labs Minimote]]
 +
*'''UPS (Uninterruptible Power Supply)''' - APC Smart-UPS 1400. Powers the Core, modem, switch, cameras (cameras use PoE, so plugs are all in the same place).
  
  
In addition to the standard [[Installing_0810#DVD_Installation|DVD installation instructions]], I carried out the following actions on my Core to make it work/get it the way I wanted it...
+
Following installation, I carried out the following on my Core to make it work/get it the way I wanted it...
  
*<del>Installed driver for ATI Radeon X300SE in "Hardware Drivers" in KDE desktop (prior to LMCE installation). Note that nVidia cards are recommended; I only used this card because a) I had one and b) I'm happy with UI1 on the core. </del> ''No longer need to do this.''
 
*<del>Edited the /etc/apt/sources.list on the Core as explained [http://forum.linuxmce.org/index.php?topic=10901.0 here] after the installation of Kubuntu, prior to updating/upgrading/installing.</del> ''This is no longer necessary (but worth checking).''
 
*Following LMCE installation, editing /etc/udev/rules.d/70-persistent-net.rules to ensure that my non-gigabit RTL-8139/8139C/8139C+ NIC was named eth0 (recommended for the external network).
 
 
*Swapped Network Interfaces in web admin -> Advanced -> Network -> Network settings, to put eth0 on the external network.
 
*Swapped Network Interfaces in web admin -> Advanced -> Network -> Network settings, to put eth0 on the external network.
*To get onboard NIC working, removed and blacklisted r8169 module and installed r8168 module from [http://www.realtek.com.tw/downloads/ Realtek] site as explained [http://ubuntuforums.org/showthread.php?t=1091989 here].
 
 
*Changed password to something more secure in web admin -> Wizard -> Basic info -> Users.
 
*Changed password to something more secure in web admin -> Wizard -> Basic info -> Users.
*MythTV setup (accessed via "Computing" from the on-screen Orbiter). I found [http://parker1.co.uk/mythtv_ubuntu.php this page] very useful in getting my MythTV set up.
 
*<del>Set up secure outside access using [[HTTPS]]. </del> ''This now works out of the box; you just need to forward port 443 in webadmin.''
 
*Changed permissions for "public" folder on secondary hard drive, to make life easier from point of view of copying and deleting files, performing my desktop/camera backup, etc. Do a "sudo dolphin", right-click on the public folder, click the "Permissions" tab, and change ownership to your username. ''Note: I have no idea whether this is safe to do or not.''
 
*ubunut desktop backkup to core wth rsync script
 
*<del>Edited the [https://help.ubuntu.com/community/CronHowto crontab] to automatically copy the images captured by my security cameras to a new location (I did this because I heard that the recordings expire after 5 days). This cron job occurs every day at 6am, and only new files and folders are copied over. My crontab entry therefore looks like this: "00 06 * * * cp -uR /home/cameras/* /mnt/device/48/public/data/documents/cams".</del> ''Since I am now using [http://www.zoneminder.com/ ZoneMinder] for all motion-activated IP camera recordings, my recording path can be whatever I wish, AND the images do not delete themselves by default (automatic deletion can be set up if you want it though). I am no longer using Motion Wrapper; I did not find it reliable for my purposes.''
 
 
*Made use of the [[Folder_lock|folder lock]] feature in order to stop my desktop backup from appearing in the orbiters.
 
*Made use of the [[Folder_lock|folder lock]] feature in order to stop my desktop backup from appearing in the orbiters.
  
''Note: To begin with I had some [http://forum.linuxmce.org/index.php?topic=11159.0 very annoying network problems]. The onboard NIC (Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller) was conflicting with my second NIC (Realtek RTL-8169 Gigabit Ethernet controller). I could not get them to work together at the same time. I believe it was due to the PCI IDs overlapping. I think that the problem could have been resolved by building the driver from source with some modifications, but this is beyond my level of skill. I resolved the issue by installing the much older NIC listed above, which uses a completely different module to the onboard NIC. It also worked out of the box.''
 
  
 
==MD (Living Room)==
 
==MD (Living Room)==
 
Main hardware includes...
 
Main hardware includes...
*'''Case'''
+
 
Jetway JC200. Smallest mini-ITX case I could find with space for slim DVD drive.
+
*'''Case''' - Jetway JC200. Smallest mini-ITX case I could find with space for slim DVD drive.  
*'''Motherboard'''
+
*'''Motherboard''' -
[[ASUS AT3IONT]] NVIDIA ION with Intel Atom N330 Dual Core Processor (fanless), HDMI Out, 5.1 Channel sound, S/PDIF.
+
*'''Memory''' - 2GB (512MB dedicate to GPU)
*'''Memory'''
+
*'''Power Supply''' - 100 W fanless picoPSU (included with case)
Kingston ValueRAM Memory/2GB 1066MHz DDR3 Non-ECC CL7 DIMM
+
*'''DVD Drive''' - Samsung SN-T083C slot-loading drive.
*'''Power Supply'''
+
*'''Mouse/keyboard''' - Fly Air Gyro Sensing Mouse and Wireless Keyboard
100 W fanless picoPSU (included with case).
+
*'''Display''' - LG 42LH400 42" Full HD LCD TV (controlled via RS232).
*'''DVD Drive'''
+
*'''Speakers''' - B&W speakers driven by tube amp.
Samsung SN-T083C 8x DVD±RW DL & RAM SATA Slimline Slot-Loading Optical Drive
+
*'''Mouse/keyboard'''
+
Rii wireless mini-keyboard with integrated touchpad
+
*'''Display'''
+
LG 42LH400 42" Full HD LCD TV
+
*'''Speakers'''
+
Logitech X-210 2.1 speaker system
+
  
  
 
Also carried out the following...
 
Also carried out the following...
*After the initial installation, switch off MD. Select "vdpau" in web admin under "Hardware Acceleration" in "Media Directors". Then click "Update". Switch MD back on.
+
 
*Increased text size in KDE desktop via KDE Menu -> Applications -> System -> System Settings, then select "Appearance" under "Look & Feel"; adjust the font size in "Fonts".
+
*After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
*Increased text size in terminal (Ctrl & +).
+
*Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
 
*Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).
 
*Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).
*<del>Added button to KDE desktop that activates the orbiter; thank you posde for [http://forum.linuxmce.org/index.php?topic=10156.msg69647#msg69647 the tip].</del> ''Button is there by default now.''
+
 
*Installed a backported libxine to allow playback of MKV files; thank you to those who came up with [[Play_mkv_files|this solution]]. ''Note: Link in wiki is now dead, but there is an alternative (see wiki page).''
+
*Enabled "Avoid conflicts between live TV and scheduled shows" in MythTV frontend, in order to stop [http://forum.linuxmce.org/index.php?topic=9930.0 this problem]. Press "Esc" whilst watching TV (this is the frontend) to get into MythTV's main menu, then go Utilities/Setup -> Setup -> TV Settings -> General.
+
*Set de-interlace settings to "VDPAU Slim". Press "Esc" whilst watching TV (this is the frontend) to get into MythTV's main menu, then go Utilities/Setup -> Setup -> TV Settings -> Playback.
+
*Installed an [[Equalizer for ALSA]]. Whilst I am very happy with the price/performance of my speakers, they don't have any bass control, so I installed a graphical one.
+
  
 
==MD (Kitchen)==
 
==MD (Kitchen)==
 
Main hardware includes...
 
Main hardware includes...
*'''Motherboard'''
+
 
[[ASUS AT3N7A-I]] NVIDIA ION with Intel Atom N330 Dual Core Processor, HDMI Out, 8 Channel Audio, Mini-ITX. I replaced the CPU fan with a Scythe, not that the old fan was particularly noisy, but it was still an improvement.
+
*'''Case''' - None, lives in cupboard under stairs.
*'''Memory'''
+
*'''Motherboard''' - [[ASUS AT3N7A-I]]
OCZ 2GB (2x1GB) DDR2 800MHz/PC2-6400 Platinum XTC Memory Kit CL4 2.1V
+
*'''Memory''' - 2GB (512MB dedicated to GPU)
*'''Display'''
+
*'''Power Supply''' - 100 W fanless picoPSU.
ViewSonic VX2239WM 22" Full HD LCD, HDMI, integrated speakers.
+
*'''Display''' - 22" ViewSonic VX2239WM, 1080p LCD, HDMI, integrated speakers.
  
  
 
Also carried out the following...
 
Also carried out the following...
*Disabled fan warnings in BIOS (replacement fan is only 2-wire).
+
 
*Manually increased alsa volume levels (they were very low) by typing "alsamixer" into a terminal. Make your changes and press "Esc".
+
*After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
*After the initial installation, switch off MD. Select "vdpau" in web admin under "Hardware Acceleration" in "Media Directors". Then click "Update". Switch MD back on.
+
*Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
*Increased text size in KDE desktop via KDE Menu -> Applications -> System -> System Settings, then select "Appearance" under "Look & Feel"; adjust the font size in "Fonts".
+
*Increased text size in terminal (Ctrl & +).
+
 
*Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).
 
*Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).
*<del>Added button to KDE desktop that activates the orbiter; thank you posde for [http://forum.linuxmce.org/index.php?topic=10156.msg69647#msg69647 the tip].</del> ''Button is there by default now.''
+
 
*Installed a backported libxine to allow playback of MKV files; thank you to those who came up with [[Play_mkv_files|this solution]]. ''Note: Link in wiki is now dead, but there is an alternative (see wiki page).''
+
*Enabled "Avoid conflicts between live TV and scheduled shows" in MythTV frontend, in an attempt to stop [http://forum.linuxmce.org/index.php?topic=9930.0 this problem]. Press "Esc" whilst watching TV (this is the frontend) to get into MythTV's main menu, then go Utilities/Setup -> Setup -> TV Settings -> General.
+
*Set de-interlace settings to "VDPAU Slim". Press "Esc" whilst watching TV (this is the frontend) to get into MythTV's main menu, then go Utilities/Setup -> Setup -> TV Settings -> Playback.
+
  
 
==MD (Bedroom)==
 
==MD (Bedroom)==
*'''Display'''
+
''Hardware will be installed soon for testing before putting in permanent cable runs''
Foehn & Hirsch 42" Full HD LCD TV
+
 
 +
*'''Motherboard''' - TBD (atom, fanless?)
 +
*'''Display''' - Foehn & Hirsch 42" Full HD LCD TV
  
...and the rest of it I'll have to look up! This MD is a standard mATX motherboard in a big dirty aluminium HTPC-style case. It was my very first purchase after I first saw the awesome power of LMCE in the beginning of 2008. This poor MD gets bumped from room to room whenever I get hold of a new, exciting piece of hardware, but she's still going strong. I daresay she will end up with me in garage or workshop at some point in the near future, replacing the even crappier machines that I have out there currently.
 
  
 
==MD (Bathroom)==
 
==MD (Bathroom)==
Still thinking about the best way to do this, quite worried about condensation. Heaters? There are lots of (expensive!) products out there, but I'm certain something can be made with the correct approach.
+
''Bathroom will be redone in near future. Intention is to add ceiling speakers only, driven by squeezeslave/amp''
 +
 
  
 
==MD (Study)==
 
==MD (Study)==
This MD is running on a [http://www.virtualbox.org/ virtual machine] on my standard desktop computer, which is running a lean, mean Ubuntu 10.04 + Fluxbox installation., built up from a [https://help.ubuntu.com/community/Installation/MinimalCD/ minimal command line install]. It has a second VGA screen (my larger main screen is on DVI) which I have set up as a separate X head, and is dedicated to this MD. The MD runs UI1, and performs well enough for what I need. See [http://wiki.linuxmce.org/index.php/User:Purps#Other_Orbiters here] for details of the orbiter. I created the virtual machine [[VirtualBox_MD|like this]].
+
''Debating whether to install MD - probably not necessary''
 +
 
 +
 
 +
==MD (Metalshop)==
 +
''Indoor workshop will require MD, will probably be a 'normal' desktop''
 +
 
 +
 
 +
==MD (Woodshop)==
 +
Main hardware includes...
 +
 
 +
*'''Case''' -
 +
*'''Motherboard''' - [[ASUS AT3IONT]] (dusty environment - fanless atom board)
 +
*'''Memory''' - 2GB (512MB dedicate to GPU)
 +
*'''Power Supply''' - 100 W fanless picoPSU (included with case)
 +
*'''Display''' -
 +
 
 +
 
 +
Also carried out the following...
 +
 
 +
*After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
 +
*Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
 +
*Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).
  
==MD (Workshop)==
 
Gash machine built from old bits.
 
  
 
==MD (Garage)==
 
==MD (Garage)==
Gash machine built from old bits.
+
''Attached garage, will require MD, will probably be a 'normal' desktop''
  
=Orbiters=
 
  
 +
=Orbiters=
 
Every MD features an on-screen orbiter. In addition to the on-screen ones...
 
Every MD features an on-screen orbiter. In addition to the on-screen ones...
 +
  
 
==Mobile Orbiters==
 
==Mobile Orbiters==
*'''Main mobile orbiter'''
+
*'''Mobile phone''' - HTC Desire HD Jellybean (JellyTime) running los93sol's/Thom's [[AndroidTouchOrbiter]]. I also use this device a lot for remote access.
[[Nokia N800]] running its own orbiter software. Superb in my opinion; cheap, good battery life, and the orbiter software is fantastic.
+
*'''Netbook''' - my netbook, uses [[Web Orbiter 2.0]].  
*'''Mobile phone'''
+
*'''Laptop''' - the lady's laptop, uses [[Web Orbiter 2.0]].
HTC Desire HD running darrenmason's [[AndroidTouchOrbiter]] (thank you!). I also use this device a lot for (secure) outside access via SSL when I am out and about.
+
*'''[[Nokia N800]]''' - running its own orbiter software. Generally used in workshop areas.
*'''Ubuntu netbook'''
+
 
My little netbook, running a lean, mean Ubuntu 11.04 + Fluxbox installation., built up from a [https://help.ubuntu.com/community/Installation/MinimalCD/ minimal command line install], which I use for surfing and tinkering with LMCE. It is running [[Web Orbiter 2.0]] in Google Chrome. I never use this in fullscreen mode (press F11 in your browser if you wish to do this) as I prefer to just have it on standby in a tab. Therefore the resolution of the Orbiter is set lower than the resolution of the laptop screen. Same for the Ubuntu laptop.
+
*'''Ubuntu laptop'''
+
The lady's Ubuntu laptop which we generally use for surfing, work, etc wherever we happen to be. It is running Web Orbiter 2.0 in Google Chrome.
+
*'''Nintendo DSi'''
+
My mate's DSi, running Web Orbiter 2.0 with a resolution of 480x320 (iPhone) in the standard browser. This resolution allows for all text to be read relatively easily, but does mean a lot of scrolling about is required. I wouldn't use it personally. Might be worth playing with other resolutions/skins to make it more usable.
+
  
 
==Other Orbiters==
 
==Other Orbiters==
*'''Kitchen fridge'''
+
*'''Kitchen orbiter''' - o2 Joggler, freestanding.
[[Storage Options Scroll Tablet PC]] mounted to a wooden backing, attached to the fridge via a powerful magnet. Runs darrenmason's [[AndroidTouchOrbiter]] for controlling the kitchen, and also displays our combined calendars (we are Google slaves). Also useful for looking up receipes, etc.
+
*'''Hallway wall''' - TBD
*'''Hallway wall'''
+
*'''Bedside table''' - TBD
[[Nokia N800]] mounted to the wall in the hallway. Mainly used for setting/deactivating the alarm. Also useful for controlling the lights when you first arrive home, although much of that is automated of course. My intention is to dissect this orbiter at some point and mount it in a wooden frame.
+
*'''CarPC''' - http://projectsofmatt.wordpress.com/carpc/
*'''Study desktop'''
+
 
My main desktop, which has another [[Web Orbiter 2.0]] set up on it in much the same way as the mobile Ubuntu netbook and laptop. It is for controlling the virtual MD on the desktop machine (I find the on-screen controls on the MD itself to be a bit "twitchy"). See [http://wiki.linuxmce.org/index.php/User:Purps#MD_.28Study.29 MD (Study)] for more details.
+
*'''carPC'''
+
I am currently in the process of building a mini ITX carPC for my modded Mk1 MX-5 (called the Miata over the pond), running a lightweight Ubuntu + LXDE installation. The last component I need to get is the touchscreen, but the rest of it is very much finished, although I do intend on upgrading the speakers and adding an amplifier (a necessity due to the lack of head unit). The system is capable of utilising CDs/DVDs (audio, video, data), USB sticks/flash cards, and also features an aux-in for any personal music player that my passenger might have on their person. The system is also capable of FM radio, MP3 playback, video playback, digital TV, Internet browsing, SatNav, vehicle diagnostics.... and controlling LMCE ([[Web Orbiter 2.0]] in Chrome). I thought this would be useful from the point of view of opening/closing the garage door, switching on/off the lights, checking the house on long journeys, etc.
+
  
 
=Home Automation=
 
=Home Automation=
 +
This section looks at the remaining hardware in my home, relating specifically to home automation.
  
This section looks at the remaining hardware in my home, relating specifically to [http://en.wikipedia.org/wiki/Home_automation home automation].
 
  
 
==Lights==
 
==Lights==
 +
*'''Duwi dimmer switch''' - in Living Room, 2 wire in my case (more common in Europe).
  
*'''Duwi dimmer switch (Living Room)'''
+
 
2 wire in my case (more common in Europe), check your current switch/dimmer first '''REMEMBER TO ISOLATE THE LIGHTS AT YOUR FUSE BOX - ALWAYS TEST THE LIVE (BROWN or RED) WIRE WITH A TESTER [http://www.screwfix.com/prods/55464/Hand-Tools/Screwdrivers/VDE-Screwdrivers/CK-Heavy-Duty-Mains-Tester-100-250V-AC#/ LIKE THIS] FIRST!!!''' Bear in mind that you only count the wires connected to the switch itself; if like mine your earth is connected to the backbox, then this doesn't count as a wire. Very pleased with this device, superb build-quality, great tactile response, easy to set up. This is my second dimmer switch, after a very bad experience with the [[ACT_Homepro_ZDW232|ACT HomePro ZDW232]] as explained [http://forum.linuxmce.org/index.php?topic=10783.0 here]. In my opinion you should avoid these dimmers like the plague. They are the cheapest, but it shows. Spend a little bit more and get the Duwi, which is comparable in price. Anything else I have found has been prohibitively expensive.
+
''Note: '''AVOID''' [[ACT_Homepro_ZDW232|ACT HomePro ZDW232]] as explained [http://forum.linuxmce.org/index.php?topic=10783.0 here].''
  
 
==Security==
 
==Security==
 +
Having been the victims of a burglary, I consider this to be a very important area.
  
Very important. Having been the victims of a burglary, this is an area that perhaps you should consider concentrating on first. You just don't think it is going to happen to you... until it does. And it's a horrible feeling.
 
  
 
===Cameras===
 
===Cameras===
*x3 '''[[Panasonic BL-C10]]'''
+
*'''[[Panasonic BL-C10]]''' - x3 covering indoor areas.
*<del>x2 '''[[Foscam FI8905W]]'''</del> (plugged into external router due to the unresolved issue described [http://forum.linuxmce.org/index.php?topic=10134.0 here])
+
*'''Y-Cam Black YCB004''' - x2 covering outdoor areas.
*'''x2 Y-Cam Black YCB004'''
+
 
  
''Note: As mentioned in both of these camera pages, I had to manually edit some of the [[scenarios]] before they would work, as they were pointing at the wrong camera for some reason. I also found that some scenarios were not automatically generated, and had to be added manually. Go to into web admin, click on "Show devices tree" at the bottom of the left-hand pane, then click on "My Scenarios" (again, bottom of left-hand pane), click on "Security Scenarios", and then at the bottom of the right-hand pane, press the "Add My Scenario" button. This opens a new window. In the new window, type a "Description" (this will be the scenario's name), select a "Scenario Type" ("Security Scenarios" in this case), leave "Design Obj" blank, and for "Template" select the "Security - View Camera" option. Then select all the rooms you want to add the scenario to. Press the "Save" button. This new scenario should appear at the bottom of the security scenario tree/list  - click on it. Scroll down to the "Scenario Commands" section, and under "Devices" select "[Local Orbiter]". Wait a sec. Then under "Command" select "Goto screen" button. Press the "Add" button. Press the "OK" button. Enter "15" into the "#159 PK_Screen (int)" field, and press the "Save" button. Press the "OK" button. A new "#2 PK_Device (int)" field should appear. Enter the Device # of your camera. Press the "Save" button. And that's it!
+
''Note: All of my cameras make use of [http://en.wikipedia.org/wiki/Power_over_Ethernet/ Power over Ethernet (PoE)], despite not being models that support it! Nor do I have any switches/hubs that "spit out" PoE at the Core end. Search on eBay for "poe injector kit" and you'll see what I mean. Powering devices in this way is very useful in that you only need to run a single Ethernet cable for both data and power. Brilliant for cameras, especially outdoor ones. Also useful if you want your cameras to be on a [http://en.wikipedia.org/wiki/Uninterruptible_power_supply UPS], as PoE allows all of the power plugs to be in the same place.''
  
''Note: All of my cameras make use of [http://en.wikipedia.org/wiki/Power_over_Ethernet/ Power over Ethernet (PoE)], despite not being models that support it! Nor do I have any switches/hubs that "spit out" PoE at the Core end. To see how it is achieved, take a look at "[[User:Purps#Tool_Time|Tool Time]]" at the end of this page for a Howto video explaining the required steps (inspired by b4rney on the forums, thank you mate!). Powering devices in this way is very useful in that you only need to run a single Ethernet cable for both data and power. Brilliant for cameras, especially outdoor ones. Also useful if you want your cameras to be on a [http://en.wikipedia.org/wiki/Uninterruptible_power_supply UPS], as PoE allows all of the power plugs to be in the same place.''''
 
  
 
===Sensors===
 
===Sensors===
*'''[[Everspring SM103]] door/window sensors (Z-Wave)'''
+
*'''[[Everspring SM103]]''' - z-wave door/window sensors.
Finally working (thank you hari!). Just purchased some additional contact sensors to celebrate, so I can experiment with rigging multiple doors/windows with a single unit, will report back.
+
*'''[[Everspring SF812]]''' - z-wave smoke detector.
  
Smoke detector planned
 
  
 
===Lighting===
 
===Lighting===
My living room lights are set up to come on at sunset. This is achieved in web admin via "Events handler"->"Respond to Events" by selecting "Sunset" under "New event". Enter a description also. Click "Add", and use the wizard of your choice to select the required device and command.
+
Remember LMCE allows you to set up your lights to turn on and off and specified times - excellent for giving the impression that somebody is in.
  
When we are away for extended periods, I have the living room lights turn off late at night, and then switch on the bedroom light for a short period before they get switched off also. This is just to give the impression that somebody is in.
 
  
 
==Telephone==
 
==Telephone==
Siemens Gigaset 475IP on Sipgate.
+
Siemens Gigaset C475 IP on sipgate.co.uk
 +
 
  
 
==Climate==
 
==Climate==
 
Watch this space!
 
Watch this space!
  
=Tool Time=
 
This section comprises of a selection of Howto videos and photographic guides for various DIY projects that can be carried out around the home, in order to achieve that seamless, perfectly integrated LMCE installation. My aim is to always stay away from technical jargon as much as possible, and to try to use standard/simple tools and components that aren't going to break the bank. You can always get hold of me on the forums or in IRC (irc.freenode.net #linuxmce) if you fancy a chat.
 
 
==Howto...==
 
 
*
 
 
==Planned==
 
  
*Howto: Construct a rear mounting MD casing for any TV screen with a VESA mount (with slot loading DVD drive).
+
=Thank you for reading=
*Howto: Mount a TV on the wall with MD hidden behind (with a slot loading DVD drive).
+
Please contact me if you have any questions or if I can be of any assistance. I might not be so helpful from the software point of view, but any questions regarding hardware, DIY around the house or generally doing things on the cheap, I might be able to help you.
*Howto: Make a wall-mounted orbiter (inspired by Techstyle's framing idea). Surface mounted or recessed (flush fitting)?
+
*Howto: Install a new back box (e.g. for z-wave light switch) and make good the wall (having destroyed it in the process).
+
*Howto: Chase wall channels, embed cables and make good the wall.
+
*Howto: Build a single/double bed with integrated "stowable" flat screen TV and MD. LMCE-controlled motor perhaps.
+
*Howto: Build a waterproof/water-resistant bathroom MD
+
*Howto: Build a waterproof/submersible orbiter, based on Nokia N800? Make it float?
+
*Howto: Make your own ceiling/wall speakers using (decent!) multimedia speakers (if, like me, you are not a complete audiophile, this avoids having an external amp to hide away).
+
*Howto: Build your own charging cradle/stand for your mobile orbiter (avoid switching it off all the time).
+
*Howto: Make your own cat6 patch cables
+
*Howto: Make any device Power over Ethernet (PoE)
+

Latest revision as of 00:30, 2 April 2013


Introduction

Hello all. My name is Matt and I live in England. Have been playing with LMCE for a number of years now. I would class myself as a user, but am always keen to help any way I can. By profession I am a mechanical design engineer in the space industry. In my spare time I enjoy metalwork, woodwork and various other little electronics/DIY projects. Any remaining free time is spent with my extremely patient and long-suffering girlfriend with whom I live. We have now bought our first house together, so now the LMCE-related carnage can really begin.

I have started a blog for all my major projects, which of course includes LMCE http://projectsofmatt.wordpress.com/

The intention is to keep progress reports and general ramblings to the blog. This wiki page will serve as a snapshot of my setup.


Software

My current installation is based on the 1004 RC. It is fantastic. Don't bother with 810 any more.

I would highly recommend the use of Clonezilla for backing up LMCE at appropriate intervals i.e. whenever you get something working! Clonezilla saves a partition of your choice as a compressed file which can in turn be saved to any connected hard drive. Then, you can attempt to get the next thing working without fear of ruining your life/relationship. If the worst happens, just pop the Clonezilla live CD back in and restore the relevant image back. To use, I found Clonezilla to be very intuitive; my only other advice would be to name your backups with as much detailed information as possible. You won't always necessarily want to restore the last image you made, as you may find a problem that goes back further.


Network

It is highly advisable that you adopt the recommended network setup and use 2 NICs in your core. This means that a) things are a lot more likely to work straight out of the box and b) when things DO go wrong, you are far more likely to receive support. In my experience it is definitely worth it.

Yes, we need a diagram here, a picture is worth a thousand words and all that....

My external network looks a little bit like this...

Virgin Media Cable Modem -> NIC 1 (eth0) on Core

And my internal network...

NIC 2 (eth1) on Core -> Netgear 8-port Gigabit switch

Connected to this switch you'll find...

  • All of the MDs
  • "Normal" computers requiring Internet access
  • IP Cameras
  • IP Phone
  • Wireless Access Point (WAP)

Note: If you have a spare wireless router laying around, it can be used as a WAP (this is what I have done using the much loved Netgear WGR614). Just connect it up to a switch (your internal network) via one of the LAN ports (these are the ports that you would normally plug your computers into, NOT the port that you would usually plug your Internet cable into). In the router's admin page, make sure DHCP is DISABLED, and then set it up in the normal way. Your SSID should NOT be your name or give any clues as to where you live, use the strongest encryption you can (I use WPA2) and it makes a lot of sense to set up an access list (MAC filter). This allows you to specify exactly which MAC addresses are allowed to connect, making your WAP very secure. Finally, and this is important if you wish to access the router's admin page again (perhaps you'll want to add a friend's MAC address for example), you must assign a new LAN TCP/IP. This wants to be in the 192.168.80.X format, and should not be an address that is already in use. I used 192.168.80.254.


Storage

The two internal hard disks in the Core are each dedicated to their respective jobs (OS and cameras). For the storage of all media, and to serve as a backup drive for our other computers, a D-Link DNS-323 NAS drive is being utilised. It has x2 HDD bays, only one of which is currently occupied with a 2TB disk, and I will add another in the near future.

This NAS is plug'n'play with LMCE. If you want to password protect the NAS volume, achieved via the NAS admin page, you must fill out the appropriate boxes in web admin also.


Core/MDs

This section talks about the main bits of hardware in my home that make up the principal elements of any LMCE system.


Core (PA)

Main hardware includes...

  • Case - Nasty old beige ATX case, lives in cupboard under stairs, out of sight.
  • Motherboard - MSI 870-C45 AMD 770 ATX Socket AM3 Realtek GbLAN controller
  • Processor - AMD quad core processor
  • Memory - 3GB
  • Power Supply - Corsair 400W
  • Graphics card - ATI Radeon X300SE 128MB PCIe
  • Hard disks - 80GB for OS, 500GB for cameras.
  • NIC - Realtek RTL-8139/8139C/8139C+ (non-gigabit, used for external network)
  • DVD Drive - Only used when I reinstall.
  • Z-Wave controller - Seluxit viaSENS Home Controller, this is the recommended interface.
  • Z-Wave inclusion remote - Aeon Labs Minimote
  • UPS (Uninterruptible Power Supply) - APC Smart-UPS 1400. Powers the Core, modem, switch, cameras (cameras use PoE, so plugs are all in the same place).


Following installation, I carried out the following on my Core to make it work/get it the way I wanted it...

  • Swapped Network Interfaces in web admin -> Advanced -> Network -> Network settings, to put eth0 on the external network.
  • Changed password to something more secure in web admin -> Wizard -> Basic info -> Users.
  • Made use of the folder lock feature in order to stop my desktop backup from appearing in the orbiters.


MD (Living Room)

Main hardware includes...

  • Case - Jetway JC200. Smallest mini-ITX case I could find with space for slim DVD drive.
  • Motherboard -
  • Memory - 2GB (512MB dedicate to GPU)
  • Power Supply - 100 W fanless picoPSU (included with case)
  • DVD Drive - Samsung SN-T083C slot-loading drive.
  • Mouse/keyboard - Fly Air Gyro Sensing Mouse and Wireless Keyboard
  • Display - LG 42LH400 42" Full HD LCD TV (controlled via RS232).
  • Speakers - B&W speakers driven by tube amp.


Also carried out the following...

  • After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
  • Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
  • Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).


MD (Kitchen)

Main hardware includes...

  • Case - None, lives in cupboard under stairs.
  • Motherboard - ASUS AT3N7A-I
  • Memory - 2GB (512MB dedicated to GPU)
  • Power Supply - 100 W fanless picoPSU.
  • Display - 22" ViewSonic VX2239WM, 1080p LCD, HDMI, integrated speakers.


Also carried out the following...

  • After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
  • Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
  • Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).


MD (Bedroom)

Hardware will be installed soon for testing before putting in permanent cable runs

  • Motherboard - TBD (atom, fanless?)
  • Display - Foehn & Hirsch 42" Full HD LCD TV


MD (Bathroom)

Bathroom will be redone in near future. Intention is to add ceiling speakers only, driven by squeezeslave/amp


MD (Study)

Debating whether to install MD - probably not necessary


MD (Metalshop)

Indoor workshop will require MD, will probably be a 'normal' desktop


MD (Woodshop)

Main hardware includes...

  • Case -
  • Motherboard - ASUS AT3IONT (dusty environment - fanless atom board)
  • Memory - 2GB (512MB dedicate to GPU)
  • Power Supply - 100 W fanless picoPSU (included with case)
  • Display -


Also carried out the following...

  • After the initial installation, switch off MD. In web admin under "Media Directors", select "auto" for "Hardware Acceleration" and "vdpau" for "Deinterlace settings". Then click "Update". Switch MD back on.
  • Changed from "H" to "S" in the "PowerOff mode". This suspends the MD when switched off, rather than power it down completely.
  • Installed libdvdcss2 and w32codecs to allow DVDs and DivXs to be played (sudo apt-get install libdvdcss2 w32codecs).


MD (Garage)

Attached garage, will require MD, will probably be a 'normal' desktop


Orbiters

Every MD features an on-screen orbiter. In addition to the on-screen ones...


Mobile Orbiters

  • Mobile phone - HTC Desire HD Jellybean (JellyTime) running los93sol's/Thom's AndroidTouchOrbiter. I also use this device a lot for remote access.
  • Netbook - my netbook, uses Web Orbiter 2.0.
  • Laptop - the lady's laptop, uses Web Orbiter 2.0.
  • Nokia N800 - running its own orbiter software. Generally used in workshop areas.


Other Orbiters


Home Automation

This section looks at the remaining hardware in my home, relating specifically to home automation.


Lights

  • Duwi dimmer switch - in Living Room, 2 wire in my case (more common in Europe).


Note: AVOID ACT HomePro ZDW232 as explained here.

Security

Having been the victims of a burglary, I consider this to be a very important area.


Cameras

  • Panasonic BL-C10 - x3 covering indoor areas.
  • Y-Cam Black YCB004 - x2 covering outdoor areas.


Note: All of my cameras make use of Power over Ethernet (PoE), despite not being models that support it! Nor do I have any switches/hubs that "spit out" PoE at the Core end. Search on eBay for "poe injector kit" and you'll see what I mean. Powering devices in this way is very useful in that you only need to run a single Ethernet cable for both data and power. Brilliant for cameras, especially outdoor ones. Also useful if you want your cameras to be on a UPS, as PoE allows all of the power plugs to be in the same place.


Sensors


Lighting

Remember LMCE allows you to set up your lights to turn on and off and specified times - excellent for giving the impression that somebody is in.


Telephone

Siemens Gigaset C475 IP on sipgate.co.uk


Climate

Watch this space!


Thank you for reading

Please contact me if you have any questions or if I can be of any assistance. I might not be so helpful from the software point of view, but any questions regarding hardware, DIY around the house or generally doing things on the cheap, I might be able to help you.