In the same way that the saying “you’ve got to spend money to make money” works, sometimes it’s also necessary to spend energy to save energy. An automated home may have more gadgetry than normal homes, but if set up correctly these little power-consumers can help to save energy. While the debate about whether the apparent global warming trend is the result of our actions, it can’t hurt to try to reduce energy use (or rather, conversion) as much as possible.
MythTV, as previously mentioned, is an open-source project that provides a client/server based media centre solution. One of the parts I like most about it is the ability to have multiple ‘recorder’ backends anywhere on the network, and all recordings are combined into one listing. You can also watch live TV through any of the backends on the network. You can also listen to music, watch videos in pretty much any format, play DVDs, watch/listen to internet streams etc.
I’m going to exploit the distributed nature of MythTV by setting up a network of backends and frontends in our house. Here’s a diagram (click for larger version):
Currently the master backend is set up in the living room, connected to the TV via a VGA cable, and the slave backend is set up in the cabinet in my bedroom. Until the new tuner card I’ve ordered arrives, the only tuners sit in the computer in my room. However the client/server basis for MythTV means that the computer in the living room can connect to the card in my room and use it for watching live TV or recording from.
I also have a single Hauppauge Media MVP. This lovely bit of kit is a thin-client that is intended to be used with it’s own Windows-based software. However, the mvpmc project provides a way to get a far better client onto the little box which can connect to a MythTV backend. So not only can MythTV be enjoyed via a standard computer, but also a small set-top-box. The main advantages of using a Media MVP box are that it is silent, so suitable for quiet rooms, and it consumes very little power.
Eventually there will be at least one more Media MVP and another PC-based front-end in the kitchen and dining room respectively.
As more of my sub-projects get completed, there is going to be a need to control the various systems. There are loads of IR/RF remotes around designed to handle all sorts of HA/AV equipment. However, since I’m building my systems I’m going to need a more flexible and easily customisable way of controlling them. As soon as Apple announced the iPod Touch I knew that I had found what I was after. To me it’s not the music-related stuff on the iPod that’s important, it’s the combination of WiFi and Safari. All I would have to do is set up a PHP/ASP.Net etc. based web site that can communicate with all the systems, then access it through an iPod.
Possible systems to control include:
- Selecting audio sources and where to play them in the house
- Scheduling recordings on the MythTV distributed A/V system
- Controlling the lights
- Monitoring the security cameras
- Setting reminder alarms (announced)
- Running photo slideshows around the house
- Building shopping lists
To complement the iPod there will be several touch-screen terminals around the house which will give the same control, but in known locations so that the improvised remote doesn’t have to be carried around everywhere (and argued over).
I might mock-up some interface designs to give an idea of how I intend the system to work. Stay tuned!
A little over two weeks ago I ordered a new computer from EfficientPC. They appear to be the only independent business selling true linux-based machines. Anyway, what I was after was a box that could run MythTV reliably but quietly (since it will be in the living room).
At our previous house I tried to set up Boron as the machine for this job, since we had the space under the TV (though I had to take a jigsaw to the back of the cabinet) and it was the only suitable machine for the job at the time. Our huge and heavy CRT (now retired to the master bedroom) has component input, so I tried several DVI to component converters that supposedly worked on the Radeon 9600 that sits inside Boron. As these things always go, it didn’t work. So now that we have a TFT TV with VGA input, I have another chance to get a fully-functional media server set up.
This new machine is pretty much silent – certainly quiet enough to sit in the living room, behind the TV (it’s also very slim). I’ve also discovered that it’s pretty nippy, sporting an Intel Core 2 Duo E2140 with just 512MB of DDR2 (since there doesnt need to be a huge amount of RAM for a media centre – processing power is more important). The 500 GB drive should give a few hundred hours of recording capacity. It has been called Sodium, because I try to go for things that are orangey with the Ubunto machines – sodium lamps shine orange – and it will be the ‘Master Backend’ server for MythTV. Boron will be a slave server, and there will be various front-ends around the house.
I found out after ordering this new Asus Camulus-based computer that EfficientPC is run by a single person, so service is not speedy. He is apparently struggling to keep up with demand, so emails often go unanswered. I am not bothered by this, and the quality of the product is pretty good. This guy makes sure that the hardware that he provides works with Ubuntu, which provides more peace-of-mind than if I would have ordered the parts myself then found out that they don’t work under linux.
The only problem, other than breaking a PSU, is that the PCI DVB-T tuner cards that I have will not fit inside the Isis case. I’ve ordered a Nova-T 500 dual tuner card to compensate (along side the replacement PSU and another 500 GB drive). The beauty of MythTV is that it will allow me to use all of the cards in separate machines, combined into one set of recordings that can be watched through any of the MythTV front-ends in the house. So that’s 4 tuners allowing 4 shows to be recorded simultaneously. Eventually this may be expanded to include satellite tuners because we have a very weak digital signal around here. More on the specifics of MythTV and how it’s being set up in our house soon.
There will be photos shortly, once I’ve got the system fully set up.
I’m not having a very good week when it comes to breaking stuff. While removing two tuner cards from boron for the fantastic new pc for the living room (details coming soon) I decided to blow some of the dust away with a can of compressed air. It certainly did the job, but when I plugged the power back in nothing happened. I suspect that when I cleaned out the power supply, the very cold air coming from the can (since gasses cool as they expand) caused one of the components to experience thermal shock thus causing it to fail. So a new power supply is on order, and I’m hoping it will arrive tomorrow though I’ve not had a despatch notice from Dabs yet. In the meantime I’ve found an old PSU that used to be inside aluminium, but was replaced because it sounds like it’s arcing, so to avoid a fire caused by that PSU boron is currently switched off.
Moral of the story: don’t air-dust warm components.
The test of the audio matrix switcher prototype has failed on two fronts:
- the multiplexers refused to work
- the amplifier exploded
Of the two problems, the second is clearly the worst because it’s cost me a £50 amplifier. It may be repairable (sounded and smells like a capacitor exploding) but I’m not going to assume that it is. Since the multiplexer didn’t work as I had hoped, another approach to the audio routing needs to be sought. I’ve contemplated buying a commercial product, and a quick look on eBay finds some A/V switchers with RS232 support for £350-£500. Getting one of these would have the advantage of being able to route video signals too. Of course the disadvantage is that it will be significantly more expensive than I had planned on. Remember, on top of the cost of the switcher will be the cost of 4 stereo rack-mountable amplifiers at about £50 each.
So not a great end to an otherwise highly productive weekend. I have managed to get more of the rack cabinet finished (added the locks), tidied up a bit and got mvpmc working.
Before we moved into our new house, I lifted some of the carpets and floorboards and installed some runs of cat5 and speaker cable. In total there are 24 cat5 cables and 4 pairs of speaker cable. I’m not sure the length of network cable that was used, but a rough estimate is 400m – not quite as impressive as some other installations I’ve seen details of, but it’s a fair amount to pull on your own! I know exactly how much speaker cable was used though, because I used the whole reel – 100m.
This project is intended to investigate the possibility of, and hopefully build if successful, a home-made externally-controllable matrix switcher with 8 inputs and 4 outputs using parts that cost a total of < £100 (excluding the external equipment such as amplifiers, speakers and cabling). The quality of the audio must be acceptable, but I'm not expecting it to be perfect - that's why the expensive matrix switchers exist. It just needs to serve the purposes of a small house. Continue reading “Audio Distribution System – Phase 1 – The prototype”
This project started off as being a cheap way to have a 19″ rack in which to mount my growing amount of equipment and future projects. It turned out to not be as cheap as I’d hoped, and it’s taken several months of intermittent work to (almost) complete, but I’m pleased with the results.
There are still a few finishing touches to be done, such as adding the top, adding the lock to the rear, mounting the new bolts to the front door, cutting out the bottom ventilation hole and adding some fans. Future modifications could include adding lighting and environmental monitoring/control.
Below is a photo log showing how it was done.
Several years ago I bought a 2.4KVA UPS for the bargainous price of £90, and it’s still working nicely. It’s kept my computer running for about an hour in the past, and I’m glad I have it since power cuts used to be quite frequent around here.
Now I’m looking to get it hooked up to a computer so that it’s status can be monitored and systems can be safely shutdown if I’m not around. UPS serial connections don’t quite use standard RS232 pinouts and communications – it’s kind of a hybrid between RS232 and a more basic status-line implementation. The cables that connect UPSes to their monitoring machines generally require special wiring. In the case of the Compaq T2400h, this is what’s required (taken from a post by the guy who was the source of my UPS):
Male -> Female
1 -> 3
2 -> 2
4 -> 5
6 -> 7
and 4 <-> 6 on the female side are linked
Note that this pinout is unconfirmed, but I will be attempting to make one of these cables to test it, and hopefuly get it working with NUT.
Update: I found some information on using a T2400h with NUT, which includes a confirmation of the wiring of the serial cable.