killswtch's Home Automation and Media Projects
This is the story of my attempts at integrating various technologies into a 3-bed semi, constructing as much of the hardware and electronics as possible myself.
Tuesday 18 March 2008, 8:33 PM
Trunking and tray
I’ve finally managed to find somewhere to buy stuff to tidy up some of the cabling around the house. A couple of weeks ago I ordered some trunking and a cable tray (which will replace the improvised MDF/timber one I constructed from offcuts) from Minitran.
Unfortunately the first of two packages arrived late on a friday with only the larger items present - it appeared that the bubblewrap packaging (with no strong outer container) had disintegrated and spilled the smaller items somewhere along the delivery chain. The delivery company were mostly to blame for this, with the delivery driver not having the best attitude and the delivery not even being recorded on the paperwork which is probably why it was the last item to be delivered. The items should have been packed in something stronger but I guess such packaging is hard to come by for 3m x 30cm x 5cm consignments. I was also worried by the fact that my card payment had been manually entered into a PDQ machine, wihch suggests that my card number - submitted via the website - is being stored in plaintext somewhere. These days I would expect all online stores that accept card payments to do so via automated secured systems. Clearly this isn’t the case.
Anyway, I continued with installing what I had - the cable tray, a 3m length of 50×50mm trunking, and 2x 3m lengths of 25×38mm trunking.
The 50mm square trunking was used to tidy up the majority of cables that come through from downstairs. This required being fixed to the wall by screws, which wasnt too difficult. I used a hand mitre saw to make the 90 degree bends. I could have purchased corner joints, but they are over £7 each and would have gotten lost anyway. The mitre saw did a great job and the result looks neat.
After I had got the first lot of trunking installed I set to work on the cable tray. The tray is made from a steel wire mesh which is lighter than standard cable tray, looks fairly good and lets light through. The problem was, though, that I had to figure out how to securely mount it without using the steel rods and support brackets that had gone missing. I settled on doing what I had done with the improvised cable tray and used the picture rail to my advantage.
The tray had to be cut to size, about 50cm shorter than the 3m length. With the help of a dremmel this wasnt too hard. I initally left some spare length so that I could bend the wires around and then use them to fix the tray to the picture rail with screws. This didn’t quite work as I had hoped though. To bend the extra length I had to cut part-way through the wires and carefully bend them. I then intended to solder the bends to strengthen them up a little. This plan didn’t work, and I ended up removing the bent parts altogether.
Thanks to the tray being relatively light and strong it turned out that there was no need to fix it to the walls. Just resting on the picture rail keeps it secure enough.
The smaller trunking contains the cables from the other side of the house - from the pantry, bedroom 3 and the landing. This was self-adhesive so was a lot quicker to fit. The cables only just fitted inside though.
Once all of the trunking was installed, I re-ran all of the cables to the cabinet, tidying them as much as I could along the way. This involved lots of cable ties, spiral wrap and patience. As part of this, the remaining network cables were run to the cabinet and connected up to the patch panel. Unfortunatley the back of the patch panel is an unavoidable mess. At one point I thought of disconnecting, trimming and reconnecting the cables that were already connected but this proved far too difficult so I just tried to keep things as tidy as possible.
After clearing up the cables inside the cabinet, things look a lot neater in there (if you ignore the back of the patch panel). This makes it a lot easier to work around the back and portrays a more professional appearance.
Tuesday 18 March 2008, 8:31 PM
New amplifiers
Last month, as per my schedule of purchases, I bought 2 more amplifiers. These will serve zones 2 (dining room) and 4 (master bedroom). I ordered them from the same place as the first, despite having a rather unpleasant experience with the trader on eBay thanks to their appauling checkout/payment system and problems with their UK bank account (they are based in Germany).
The first amplifier, for zone 1 (living room), is silver. I was a bit surprised to find that the 2 that I received were in black. I was hoping to get my rack looking tidy by keeping the same look throughout the cabinet. Black goes better with this scheme, but the silver one stands out now. To balance it out I’m hoping to get a silver one next. A note of appology was included with the amps, which includes a 5 euro discount on the next order. I probably won’t be getting the next amp for a while, to keep my budget under control having spent quite a bit on the matrix switcher.
Tuesday 18 March 2008, 8:29 PM
The VAMS-0808 matrix switcher and determining its protocol - part 2
As I mentioned last month, I bid on and won an 8×8 AV matrix switcher on eBay. The switcher arrived the Monday following the Saturday that I won it (speediest delivery ever!), so I took it home and plugged it all in.
I rummaged around for a serial cable to connect the switcher to boron, the Ubuntu file server and found something that I thought would do the job. Sadly the switcher has a male connector, whereas for a standard serial cable it should be a male connection on each end. So, slightly disappointed, I went ahead and ordered a M-F serial extension from eBay, assuming that this would do the job. This attempt also failed - the matrix switcher would not respond to any of the commands that I thought it should, and nothing was being returned either. After a bit more research in the little documentation that I had I noticed that the switcher requires a cross-over cable AKA a null modem cable.
The next cable I ordered was a M-M cable, so I got an M-F converter at the same time. Success! I now have the ability to control the matrix switcher via the RS232 on boron.
The following weekend I set about writing a prototype of the software to communicate with the switcher. The switcher operates in such a way that state is important, since switching channels requires at least 2 commands and at any time someone can press a button on the front panel to issue any command.
When a button is pressed on the front, a message is sent via the serial port to indicate the action that has taken place. Similarly, when an instruction is sent to the unit over the serial connection a reply is received indicating whether that command succeeded or not. Sometimes the switcher doesn’t notice that it’s been sent an instruction, so to get around that I ended up sending the same message up to 3 times.
The resulting prototype works quite well. I may release the source code at some point.
There’s a video demonstrating the software and the switcher.

