Posts Tagged ‘open garage door’

Lets say your like me and you wish to check the status of the contact on your garage.    But notice that regular polls only return the device itself not the status of the contact.

For example maybe at a given time you want to make sure the contact is closed.  Here is how

I’m going to use as reference the original articles of getting “Insteon to talking to your PC found below” Part #1,#2,

This is using VB .NET and assuming you already have some experience with the SDM/PLC commands.

For the Sensor Poll We are going to use the command #19 and a second command of ’01 to query the device.  For example

For this example Lets say for example my plc is AA.BB.CC
My I/O Linc is : 11.22.33


So in VB polling the device using the SDM would be like this,

sm.SendINSTEONRaw(”AA BB CC 11 22 33 05 19 01″, 3)

In return you will get the following bytes, notice the change in the last digit.
If the garage is closed (Contact closed)
 - 04 11 22 33 AA BB CC 25 03 01 

If the garage is closed (Contact OPEN)
 - 04 11 22 33 AA BB CC 25 03 00

If you get FF,FE or other numbers make sure you are using the last 01 on your command #19 as this will give you the state of the device which isnt the contact status.



Hurray, My I/O linc arrived on Saturday 10th!!!

The good news is that its setup and in place.  Setup was a breeze since I’m literally replacing two X10 products for one.  I love it!

So the wiring is the same

Here is my Garage contact I purchased separately before, now as part as a kit.


Since the top part is so light I ended up using Velcro so I didn’t need to drill holes.

Now the I/O Link

Here are the official instructions

As for the hook-up its very straight forward and the on-line manual has a very good description of this.  My recommendation is use the individual strands of a CAT 5 cable, they fit perfect.

Here i’ve connected in my garage door sensor. (Click to magnify) – Green cables

Below I’ve connected my ‘momentary’ switch to the back of the garage opener. (You do have to setup your I/O linc to do the momentary relay before which is the “C” setup).

This is done by pressing the ‘SET” button 3 times x 3 times for a total of 9 times. Double check on-line just to be sure.

Orange is my Open/Close wires to the Garage and the green are my sensors

Here is the box setup next to the Garage opener.  Since there is no space for the I/O linc I had to set it up next to the opener.  Plus I didn’t want to put it flush with the device since it vibrates a lot.

Now each time the device Open’s I get the “11 FF” message and when it closes the “13 FF” message. But i still haven’t figured out
how to read the sensor yet.  Once I get those details I’ll post part 2.

Here is how the linking process works.  It’s done both ways (like a 3-way switch)

* If you want to monitor the garage  status AND use a keylink button you NEED to link then both ways,

1.First open your garage door.

2.Starting linking your I/O link to the KeyLink Key or switch have the switch control your garage then Link Keylink key and then then I/O.

4. This way when you press the key it open/closes as well as the button lights up when you open the door and close it. 🙂

Here are the official instructions

The following is a example of how I setup to control my garage door using simple X10 devices.  When budget permits I’ll bump up to the Insteon (sniff, sniff)), For this device to work I was lucky the circuit the garage door opener is on is close to my insteon/x10 PLC so I get a good 95% hit rate (Which is OK for me..)

For this to work, basically what I am doing is closing two of the three connectors of my garage door opener, this is the same thing the button on the wall button does. Red is the power going out, the white is the common ground and the grey or black is the motion sensor which will stop the door if the infrared device is passed.  I used some simple cat 5 wiring.

To do this I used a X10, Universal Module which is very cheap (Some under $15 off ebay). Picture below,

To simulate the button, this device will close a circuit momentary (2 seconds actually), you can even set it to sound when activated.
Basically sending a X10 “ON” code it will close the circuit and open or close the garage.  I’ll post another entry on how to check if the garage door is open or closed but we will be using another device.


So I set the Unit code to something not accessible thru the outside, same as the House code, the the first switch to Momentary, and Relay only. Here is how it looks

So thry my code using the SDM module , VB code I send the Open command (Lets say G16),  The system wont give you a status if it opened it or not, also only “ON” command will work.


To setup the SDM in the VB 2005 environment you need to check out my previous article. Basically here im just using the SDM COM object to send a X10 command.

That article can be found here
Software:Get X10 data to your PC using a Insteon PLC

Pros: Simple cheap

Cons: No way to know if the garage is open or not, this just simulated pressing the button

Here is everything hooked up,

Here is another picture, of my attempt to make it look better.