Wednesday, November 28, 2007

Do you have enough Cat5?

Like me, you might have sneaked a few CAT-5 cables into the walls when you were decorating, or maybe you've strung some across the loft to move your network from place to place.

You probably also thought, "Hey, I'll never need more than a couple will I?" - So did I , until I needed a 3rd to the same place for another device.
So, there is an easy answer here, put in a Switch, or a Hub. However, this is another Switch in your network, and it uses a few watts of power also.
How about a nifty way of running two CAT5 100mbit connections across ONE CAT-5 cable?



What's the catch? - Well you can't use this hack if you're running Gigabit networking, as it's only good for 10mbit, or 100mbit.

How does it work? - No secrets here, 10mbit, or 100mbit ethernet only uses TWO pairs out of the four on the cable. Therefore if you create a couple of adapters you can feed two connections on one cable.

This technique is mentioned here in Wikipedia

Wiring

I wired up the RJ45 plug as a standard T568A cable - see here for the colours, and then used 2 keystone RJ45 sockets, wired like this (The pic is from above, with the socket 'holes' at the bottom.


If you have a RJ45 cable tester, use that to make sure you have 2 good pairs on each end (you'll need to plug the two 'plugs' together using an 'end-to-end' adapter, of if you're like me, you just went for it and connected it up. The resulting diagram explains what is going on here:
You can also (in theory), according to the Wikipedia article, use this for running 1 x 100mbit Lan, and up to two Phone Lines provided your phone lines only require 2 wires, or 4 if you run just one - Running Phone lines over this type of setup may be forbidden by your telephone company, so beware before starting on this for that reason - you will also be likely to get interference from the LAN signals on your phone calls due to the unshielded nature of the cabling.

DISCLAIMER: Please dont attempt this if you're not confident in making up CAT5 cables, I assume no responsibility or liability for any injury, loss or damage incurred as a result of any use or reliance on this information. 8-)

Sunday, November 04, 2007

Using AutoDVRConvert on Vista Media Center..

If you've followed my post below about Pete Tong living on my IPod, and you have a Vista Media Center, you'll be a bit stuck right now, because the steps using AutoDVRConvert dont work in the way described on Vista.

Never fear! - here's how to fix the conversion - it's not AutoDVRConvert at all that causes the problem, it's the LAME mp3 DirectShow encoder I linked to below.

Do the following from a command prompt, in the folder where you have all the files:

  1. regsvr32 /u lame_enc.ax
  2. delete lame_enc.ax
  3. download http://files.commo.de/lame_dshow397.zip ( the forum I found this link on is here: http://forum.doom9.org/archive/index.php/t-104234.html )
  4. Use the new lame.ax file inside the zip
  5. Register it: regsvr32 lame.ax
  6. Open GraphEdt and re-make your filter chain using the new version of the Lame encoder (it shows up as 'Lame Audio Encoder' in the list - If you have Lame MPEG Layer III Audio Encoder its the *wrong* one)
  7. Save your graph as it's GRF file
  8. Select the new GRF file in AutoDVRConvert and save
  9. test it.

Worked for me 8-)

Wednesday, October 31, 2007

Juice and Vista Media Center

Juice, the popular podcast catching application works quite nicely on XP Media Center, but doesnt behave that well by default in Vista Media Center , as it was never written for Vista.


People keep asking me this, so here's the solution - having had to figure the last part out again because I forgot 8-) - it is possible to make it work just fine in Vista .. here's how:

Building on Chris Pirillo's helpful post here, here is how get the open source podcast catcher 'Juice' to work on Vista Media Center. This results in your podcasts arriving in the Shared Video folder in Media Center - meaning that Video Podcasts show up in 'My Videos' in Media Center:


  1. Run the setup as Administrator (or administration user)

  2. After installation *dont* start the application

  3. Go to c:\program files\Juice

  4. Set Juice to 'Windows XP SP2' compatibility mode in Explorer (right click)

  5. Go to c:\users\ in explorer

  6. Do Tools/Folder Options , 'Show hidden files and folders'

  7. Navigate to the now visible 'AppData\Roaming\iPodder' folder

  8. Edit ipodder.cfg in Notepad

  9. Change download_dir= line to remove the 'My ' from My documents

  10. Save the file and start Juice

  11. Go to File/Preferences

  12. Set 'Download Podcasts to this folder' to 'C:\Users\Public\Videos'

  13. Add your RSS video feeds 8-) and download.

  14. Enable General/At Startup only show Juice in the System Tray

  15. Click the Player tab and select No Player

  16. Save

  17. Select Tools Menu/Scheduler

  18. Set your favorite download time to whenever you want it to run

Your podcasts will now download automatically into Vista Media Center, and appear in folders under Videos on the main menu 8-) -- this happens regardless of what the enclosure is - if you add an MP3 feed , you'll get audio in there as well.


Friday, October 12, 2007

BBSB Office

Just as I'd pressed the submit button on the review below, look what Domia are launching at the E2 Energy Solutions Expo in London:

http://www.byebyestandby.co.uk/byebyestandbyoffice.html

This includes, from the initial information on the site above:

  • Some more 'secure' appliance modules
  • A different Remote
  • A 'PC' Service (perhaps similar to that described in my wishlist below) that can tell appliance modules to switch on and off (I think)

More news as I get it. 8-)

Wednesday, September 05, 2007

Bye Bye Standby ONLINE Review - Outsourced Home Automation anyone?

I've now completed this review, and re-posted it in one section so it's easier to read - enjoy.

I refer to Domia Lite and Bye Bye Standby (BBSB) in the same breath here - the devices are one and the same from a hardware standpoint, and cross-compatible.

Introduction

Domia have released the much anticipated 'bye bye standby online' controller - this little box , about the size of 1/2 a Netgear router plugs into your home network (e.g. like your PC) and , well, makes all your bye bye standby devices 'online enabled'.) - its really that simple.




The instructions supplied are 2 sides of A4, and to be honest , that's all you'll need. Plug it in and switch it on, then go to the site to register.

When I first got my hands on this, I couldnt believe how simple they have made this. I think anyone who wants to add a bit of 'remote control' to their home or office could easily handle this with *no* need for us propellor-head technical people (eek!)

What does it do?

      1. Lets you turn all your Domia Lite sockets on and off from the internet (and BBSB sockets because they're one and the same)

      2. 'reports' any Domia Lite events that it 'sees' - these might be motion sensors or switches to the website.

      3. Gives you simple, or sophisticated 'programming' ability on the site as well - you can make rules and group devices to create 'scenes' as well.

      4. Sends you e-mails or text messages if you want them when 'things happen'

      5. Lets you add web-cams to the site as well - so you can view them all in the same place.

      How does it work?

      (this gets a bit more technical)

      The controller connects to the BBSB online systems via your broadband connection, and sits 'heartbeating' with their site every 20 seconds, as well as listening for BBSB/Domia radio signals 'in the air' around your home.

      When you login to the site, you tell the site what your 'plug' address is - so this might be A1 for example, and once you've done this for any other sockets you have, you can control the sockets using 'buttons' on the site - the response time is almost instant, a few seconds at most.

      When something else in your home sends a compatible signal out -e.g. a wall switch, or motion sensor (these are the only Domia Lite sensors I could find on the web), the Controller 'hears' the signal and reports it up to the BBSB online system - this can cause emails, texts, or even trigger 'other' devices to switch on and off.

      This also includes being able to trigger sockets when a camera detects motion for example - but for this you need a web-cam that can ftp images to their website - for which you get a login during the configuration process.

      What does it cost?

      Currently, it's retailing for £49.95 inc vat here at domia's online store : http://www.simplyautomate.co.uk/productDisplay.asp?prodId=7384

      This includes a 30 day access subscription to the website - as it's a subscription service which you must maintain to get access to the website, though the controller appears to be operational without it - this is a groundbreaking, innovative way of getting HA to the masses, and you're going to have to pay for the service to continue beyond that.

      Controlling things locally using the controller, rather than the BBSB website

      About 5 minutes after I set the controller up, I read that the controller has a local web-site, which is similar to that of your home router, or other network connected device - like a wireless access point. You can use this to set a static IP address if you need one, see the firmware version, technical connection information, and access a 'control' tab which lets you manually control devices via the web-interface - it looks like this:

      While this is great, if you need to see if you've set the plug-modules up correctly - to the correct house and unit codes for example, its not easily scriptable to call from something else - unless of course, you view the page source and see what it's actually posting to the unit when you click the drop-downs 8-)

      Some direct / scripted contol can be had with a command line http command utility like wget:

      (the hostname of the controller is 'dlcmaster', then the 2 digits of the MAC address, therefore for a controller with '1a' as its selected 2 MAC address characters:

      'wget http://dlcmaster1a/4?3=1a01 - turns Device A1 ON
      'wget http://dlcmaster1a/4?3=0a01- turns Device A1 OFF


      There are also means for getting the log page from the controller to see what it going on in the house - note that it logs both signals it sends (e.g from the local page, above, or from the BBSB Website), AND signals recieved (like a remote switch) - You can get the log like this:


      http://dlcmaster1a/logsrc.htm


      I have no doubt that there are other interfaces to the unit over the network that are just hidden from view for now, and I've not investigated this further, because frankly, the online service is superb.

      There is bound to be support for the Harmony automation products communicating with the controller as well either already, or planned.

      I would be unsurprised too if we see a 'slim' version of Domia's Harmony neat Media Center UI being created quite rapidly by Domia (or by someone else) , to communicate with the BBSB Online service, or directly with the controller to give a 10ft experience to the automation control provided - this gives armchair control via the Media Center UI rather than the BBSB website.

      Domia have not attempted to hide this local interfacing mechanism, and many (like me) who like to tinker will be glad of it. I would be nice to see Domia publishing a network API to the controller that allows the attachment to the events in real-time- eliminating the need to 'poll' the controller to see what has happened - and/or some sort of web-service similar to that provided by Google Maps that allows developers to 'register' with Domia, and get an application 'key' to get access to some web-service API's on the main site ..

      Detecting 'changes' in status of devices using the controller
      My brain started ticking the other night as it often does - How about a cool PC software utility that runs in the background, listening for the 'BBSB OFF' switch - then shutting down your PC - if like me you dont put your PC on a BBSB adapter - (dont really want it 'dumped' when I leave the house because the power is cut off to it), but being able to have it 'detect' the BBSB button being pressed on a PC locally , could allow the PC to shut down / hibernate gracefully of it's own accord - Any voulenteers?! -

      I've not got the time to code that up currently, but it would be a useful little thing to have for a Media center for example - no point in that running all day when you're out, unless it's recording for example!


      The Good, The Bad, and the Ugly - What's cool, and what isnt about it.


      Good:

      • Price - controller and service are good value in my opinion.
      • Setup - your dad could do it without reading the manual (will test out on mine)
      • Flexibility of the subscription service - events, notifications etc
      • Price of the plug-adapters - About a tenner each (or pack of 3 with a remote)
      • No need for a dedicated PC or server to control everything
      • To my knowledge - unique (currently) in the marketplace

      Bad or Ugly


      No web-site API (yet) I'd like to be able to 'tell' the service to do stuff externally - like raise my own events to it - this isnt detracting from the paid for service, but adding to it - I'm sure the HA community will find a way, but it would be nice for us to have the official info!

      Security 8-( Domia Lite, like X10 RF is not secure, and with only 8 house codes, and 8 device codes - your neighbour (or anyone outside with a remote) will quickly make a disco out of your house lights and table lamps if they want to - X10 RF suffers from this too, I would imagine it would not be that hard to make the more Domia house codes - perhaps that rotary selector could be a 8 way dip-switch so you could select an 8 bit house code rather than a '1' bit one. -- X10 is exactly the same, so Domia are not alone in this issue.

      Expandabilty of modules: This is a double edged sword - there are quite a few devices for the average home user, but anyone who wants to wire in switches, or sensors or devices into the system they already have is all alone with their soldering iron , hacksaw and a keyfob transmitter to make their own transmitter (!)

      All the current Domia Lite modules work fine with BBSB Online, Currently there are: -

      • Two models of plug-switch, a plug-in dimmer ,
      • Two 'wired' lamp/appliance modules
      • A wall switch and a wall dimmer switch
      • An IR motion detector,
      • Two types of keyfob remote

      There's no expandable or 'hobby' module(s) with a couple of contacts on to wire up to a doorbell push, other sensor, or device - and there's no 'general purpose' hobby contoller device that could switch an external low-voltage load - perhaps the wired appliance module could, but it may need 240v for example to power the reciever, rather than a battery.


      One trick pony?: Domia make an X10 RF version of the controller, which sells for a little more than the BBSB/Domia Lite version - this from the look of it will work identically, and also allow you to have it on the same BBSB Online account as a BBSB/Domia Lite Controller - I dont have an X10 version to hand , but I cant imagine that the two models internals are 'that' different that a 2nd unit is really required to have X10 and Domia - couldnt one unit (costing more) do both protocols??? - (similar to http://www.rfxcom.com/receivers.htm) - I'm sure customers would pay more for a multi-protocol interface ??

      What about all my other RF devices? This also brings me to the other side of the RF protocol situation here - I counted 3 other manufacturers 433mhz RF devices in my home today, - I even have an alarm system that uses wireless 433mhz detectors - Currently no-one in the industry has acheived true cross platform integration with these 3rd party devices - with the exception of RFXCOMM (link above) - Perhaps Domia might consider making the controller able to receive and send unsupported protocols? - Using the BBSB Online website system to do the 'work' in decoding them - this would allow the site to 'learn' other device protocols and be able to read and write to other manufacturers devices without needing to update controller firmware -

      I dont really want to be removing my existing wireless alarm PIR detectors to replace them with Domia ones, but would *pay* domia for a service that can 'understand' the signals from the system and allow me to generate alerts/events from the ones I have!

      Then there's my RF Doorbell, RF Outside wireless weather-station , and RF Electricity consumption monitor ... all these devices are just 'begging' to be integrated with a system like this.

      Feature Wishlist?

      In no particular order, most of these are expensive investments in hardware manufacturing, and may not be the way Domia are planning on going, but hey, my blog, my poetic license:

      Design a 2-way 'uber' controlling module: Many HA appliance/dimmer modules are 'one way' - you have no way to telling IF the light is really on , or if the appliance connected is 'really' on - someone might have turned it off at the lamp stand for example, of the bulb may have blown.

      If you're managing your home remotley, it would be good to 'know' that something is really 'on' if it says its 'on' - this could be achieved by a more expensive 'two' way module, with a device to measure current in it as well - this could be perhaps added to the system at a higher cost - meaning that users could mix lower cost interfaces with the higher cost two-way one - the website could say 'OFF', 'ON', and 'ON and drawing current' - handy for security purposes for example , and you could calculate your energy usage from it too!

      Make the controller 'hear' and 'speak' other RF433 mhz protocols (See above)

      Make some General Purpose 'hobby' sensor and control modules - Many possibilities exist here depending on hardware, but a the basic level a version of the single channel remote, with two terminals to connect other switches to, and a similar version of an appliance module that can connect two terminals together perhaps?

      Put in some more security - Again, this could be simply making more house-codes (ones with say 5-8 bits that can be on or off, right up to having a 'learning in' process for sensors and modules meaning ones that are not 'learned' are ignored.

      Conclusion: Great system, has all the promise - lets hope Domia takes it beyond the limitations of X10 and other similar systems to become more pervasive in the consumer and hobbyist marketplace before someone else beats them to it - way to go Domia!

      Mart.

      Monday, May 07, 2007

      Bye Bye Standby..

      Noticed there werent too many reviews on the net for the Domia 'Bye Bye Standby' product, so I thought I'd post my experiences with it:




      Essentially, it's a big stick-up (or screw-up) switch, that when you press the 'green' bit, it turns off all the bye bye standby mains switch units (or in Home Automation speak Domia Lite 1000w Appliance Modules) , and turns them back on again when you press the 'top' of the swich above the 'green bit'

      The system uses 433.92mhz radio signals, and works very well. I have 5 modules running on the switch by the door, turning off the TV and AV stuff, all the PC printer, monitor and speakers, as well as one in the dining room on the hi-fi - furthest away module is 15M though a solid wall and its fine.

      Job done you might say. But being me I wanted to know more....

      So, The switch is actually very similar to the Domia Lite wall switch, though as the appliance modules are not 'dimmable' lighting modules, its impossible for me to confirm if the wall switch is the same as the Domia Lite dimmer switch sold separatley 8-)


      The modules are much smaller than X10 or X10*2 modules, and respond immediatley to the switching commands.

      The ByeBye Standby starter kit comes with 2 appliance modules, and the wall switch, and you can add more Domia Lite appliance modules to the system.

      Each component has a A-H 'house code' dial and a 'address' dial - 1-8. When setting up the system, you simply set the House code and address dials to match on all the components, and that's it!

      Now for some bad news:

      The system is not X10 compatible, (not that anyone said it was), the RF handset and wall switch dont work with X10 RF devices, and the system doesnt use your mains circuits to send signals.
      The wall swich has a house and device code dial which you need to set to match that of the appliance modules - unfortunatley, though the appliance modules support 'group' switching, the wall switch does not. - set it to A-1 and it will only control A-1 units, any other unit on the A house code and a different device address will ignore the wall switch - this is a bit of a shame, as a jumper or extra switch inside the 'green switch' would allow people to kill everything in house-code A for example on the way out the door, which is actually far more flexable should they have other units and use the hand-held remote for lights and other appliances that might benefit from being switched off too.




      I also went for the Domia Lite Starter Kit, which is a cheap way of getting 3 more appliance modules, and a neat handheld remote.

      Some thoughts on it's limitations:


      If you just want to switch off all your gadgets and save the planet (well a few watts anyway) you will be happy with the simplicity of this system - you dont need to be a propeller head, and you dont need a PC to set it up, and it works well.

      I do however think if you're more Home-Automation orientated you might share my thoughts on Domia's choice of multiple standards and systems in their products:


      • How about a Domia Lite PC controller module with a USB or Serial port? - the RF switching on these products is far more reliable than the X10 PLC protocols (in my house anyway!), and the response time is faster. The PC controller could also be a reciever as well, so it could pick up switching signals as well from wall switches etc. -- X10 PLC (Power Line Control) is dated, and doesnt work reliably in everyones home (including mine) -- if it 'looked' like a CM12 to the PC then all existing software would work with it without even knowing.
      • Adding a 'all-codes' option to the 'big green' switch would increase the system's effectiveness in a home where other Domia Lite units were being used.