Difference between revisions of "Example of ultra low-cost X10 setup"

From LinuxMCE
Jump to: navigation, search
(New page: Category:Tutorials ===Adding Other Devices=== If you chose a "Core", not being used as a Media Director, then it will boot up and you will see a simple menu like this:<br> [[Image:Co...)
 
(Adding Other Devices)
Line 1: Line 1:
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
 +
 +
[[Category:Sample user setups]]
  
 
===Adding Other Devices===
 
===Adding Other Devices===
  
If you chose a "Core", not being used as a Media Director, then it will boot up and you will see a simple menu like this:<br>
+
*Go to the [[LinuxMCE Admin Website]].
[[Image:Console.jpg|200px]]
+
*The left panel menus allow you to choose your basic settings or add devices, scenarios, and event handlers.
<em>LinuxMCE Core; After boot-up menu</em><br><br>
+
<p>You don't need to do anything. Your Core is up and running. Just make note of the IP address - you will need it to configure the system. </p>
+
'''''Note:''' The information directly above applies to pluto-home, not linuxmce and needs to be updated or removed. --[[User:Zaerc|Zaerc]] 07:45, 24 October 2007 (MST)
+
  
<p>If you chose a "Hybrid", that is you are using your Core as a Media Director, it will boot up to the same welcome menu as any media director. Note that the welcome menu will appear on the first boot. After that, it will boot to the normal main menu, however, you can click the LinuxMCE logo in the lower left corner of the main menu to see the advanced options, including all the buttons on the welcome menu.</p><br>
+
===Example===
[[Image:Welcome.jpg|200px]]
+
(Here's an example for setting up an ultra low-cost smart home setup based on X10. The equipment we mention will cost under $1,000, although the procedure is exactly the same with a $100,000 high-end based on Lutron, Vantage, EIB, etc.)
  
<p>You need a web browser to configure your LinuxMCE system using the built-in [[LinuxMCE Admin Website]]
+
You have 2 gc100's (giving you Infrared control of your AV equipment), extra serial ports, ttl inputs and relays. You have some TVs and stereos to control, and a CM11A module to control X10 devices (some X10 lights and thermostats). You also have an alarm panel with a serial interface, some squeeze box audio players, and some network cameras.
Since the Hybrid + Media Directors have one built in, you can just click the "LinuxMCE Admin" website to bring it up directly on the Hybrid. Or, from any web browser in your home, go to the URL: http://myip/linuxmce_admin where myip is the IP address of the
+
Core/Hybrid.
+
Login then click [[Wizard Pages|Wizard]]. You will see the following screen.</p>
+
[[Image:Wizard.jpg|200px]]
+
  
<p>Follow each of the links in the left panel to choose your basic settings, add the devices, scenarios, and event handlers.
+
Plug the CM11A into one of the rs232 serial ports on the gc100.
Here's an example for setting up an ultra low-cost smart home setup based on X10. The equipment we mention will cost under $1,000, although the procedure is exactly the same with a $100,000 high-end based on Lutron, Vantage, EIB, etc. So, please read the example regardless of your system type, so you understand the techniques.</p>
+
<p><b>EXAMPLE: Adding other devices</b></p><p>Example:
+
You have 2 gc100's which give you Infrared control of your a/v equipment, extra serial ports to plug other stuff into, ttl inputs and relays. You have some tv's and stereo's to control, and also a CM11A module to control X10 devices, plus some X10 lights and thermostats.
+
You will plug the CM11A into one of the rs232 serial ports on the gc100. You also have an alarm panel with a serial interface, some squeeze box audio players, and some network cameras.</p>
+
  
<p>After specifying [[Basic Info]] on the first couple wizard pages, like family members and rooms, you get to [[Interfaces]].
+
Specify [[Basic Info]] on the first couple wizard pages, like family members and rooms, you get to [[Interfaces]].
 
Here you add all the devices that are used to interface with, or control other devices. So, the gc100 is an interface device, but the tv's and stereo's it controls are on the a/v page. The CM11A, Vantage, Lutron, etc. are also interfaces, the lights, blinds, drapes, etc. they control are on the [[Lights|lighting page]].  The alarm panel is an interface, the motion, glass break, smoke alarms, etc., are on the [[Security]].
 
Here you add all the devices that are used to interface with, or control other devices. So, the gc100 is an interface device, but the tv's and stereo's it controls are on the a/v page. The CM11A, Vantage, Lutron, etc. are also interfaces, the lights, blinds, drapes, etc. they control are on the [[Lights|lighting page]].  The alarm panel is an interface, the motion, glass break, smoke alarms, etc., are on the [[Security]].
 
Some home automation devices do not require an interface, some do. An IP-based camera does not require an interface device; add it directly to [[Surveillance Cameras]].
 
Some home automation devices do not require an interface, some do. An IP-based camera does not require an interface device; add it directly to [[Surveillance Cameras]].

Revision as of 20:08, 24 May 2008


Adding Other Devices

  • Go to the LinuxMCE Admin Website.
  • The left panel menus allow you to choose your basic settings or add devices, scenarios, and event handlers.

Example

(Here's an example for setting up an ultra low-cost smart home setup based on X10. The equipment we mention will cost under $1,000, although the procedure is exactly the same with a $100,000 high-end based on Lutron, Vantage, EIB, etc.)

You have 2 gc100's (giving you Infrared control of your AV equipment), extra serial ports, ttl inputs and relays. You have some TVs and stereos to control, and a CM11A module to control X10 devices (some X10 lights and thermostats). You also have an alarm panel with a serial interface, some squeeze box audio players, and some network cameras.

Plug the CM11A into one of the rs232 serial ports on the gc100.

Specify Basic Info on the first couple wizard pages, like family members and rooms, you get to Interfaces. Here you add all the devices that are used to interface with, or control other devices. So, the gc100 is an interface device, but the tv's and stereo's it controls are on the a/v page. The CM11A, Vantage, Lutron, etc. are also interfaces, the lights, blinds, drapes, etc. they control are on the lighting page. The alarm panel is an interface, the motion, glass break, smoke alarms, etc., are on the Security. Some home automation devices do not require an interface, some do. An IP-based camera does not require an interface device; add it directly to Surveillance Cameras. Analog cameras do need some sort of interface device, like a camera capture board, which you must first add to the interfaces page. Add the interface devices first on the interface page, and then the devices they control on the respective page. If you want to add EIB lights (on the lights page), you won't be allowed to do that until you first add the EIB interface on the interfaces page, because an EIB light cannot be used with an interface. If you add interfaces for both an EIB Lighting system, and an X10 lighting system, then on the lighting page you will be able to add both types of lights, and the 'Controlled Via' field will show you what interface is being used.</p>

Back to our example: Plug one of your gc100's into the network, and click the 'add gc100' button on the interface page. gc100's are treated special because they are IP-based, but their network configuration is a bit different and does not allow them to be plug-and-play. Once you got the message that it was found and configured, click on the Interfaces page again--now you'll see it there. Maybe give it a descriptive name so you can remember which is which. Now plug in the 2nd gc100, and repeat. Next choose 'Add Devices' and add the CM11A. Like all RS232 devices, it is not plug and play, you must add it manually. Repeat for the alarm panel. In both cases, the Controlled Via devices is the Core, since that's where the software drivers will be run. But, when you go to choose the port, it only shows the Core's internal serial ports, and you want to plug it into one of the ports on the gc100. So, click 'Wizard', 'Restart' and 'quick reload router'. That causes the DCE Router to reload the list of devices in the house so it sees the new gc100's you added, and adds the ports. Refresh the Interfaces page, and now you can choose the gc100 ports for the CM11A and alarm panel.

Next, add your tv's and stereo's on the AV Devices and indicate how they are connected (which AV inputs). If your model is not in the database you will need to add it. If the I/R codes for your device aren't listed or don't work, you will click the A/V properties button and either learn them using the gc100's learner (plug it into serial port 1 and click 'learn'), or copy+paste the I/R codes in pronto format from a source like www.remotecentral.com. Your devices and I/R codes will automatically be sent to LinuxMCE and added to the master database for other users unless you uncheck the box. In the 'controlled via' chose whichever one of the gc100's has the infrared emitter attached for that device. Turn your Squeeze Boxes on, set the network to DHCP, and plug them in. LinuxMCE will automatically recognize them and configure them. You will see a confirmation message and be asked to pick the room they're in. Refresh the A/V page to see the Squeeze Boxes and indicate how you connect them to your stereo system.

On the Media Directors and Orbiters page, be sure your settings are correct. Then on the Lights and Climate pages, add all your X10 lights/thermostats. The 'Controlled Via' is the cm11A device. On the security page, add all your motion detectors, smoke alarms, etc. The 'Controlled Via' is the alarm panel. On the Floorplans, drag and drop your devices on the maps you upload. You'll need to do a 'regen orbiter' followed by a 'quick reload router' before you can use the floorplans.

Now let's test the devices. Do another 'quick reload router' so DCERouter sees these new devices. Go back to a device, like a light, click 'ADV' to go to the advanced page, or go there manually by choosing Devices from the menu. Click 'Send command to device', and choose a command. If it doesn't respond, go to 'Advanced', 'Logs' and check the logs for the interface, the CM11A in this case.