Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Setting Up I/O Linc 2450 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 16 2009 at 01:55 | IP Logged Quote ketchup318

Hi, I'm trying out powerhome for the first time. I was wondering how do you setup the I/O Linc for powerhome. I'm using the I/O Linc for monitor my garage door. What I hope to do is to be able to remotely open and close my garage door.

Does anyone have any idea how to setup the I/O Linc?
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 16 2009 at 19:14 | IP Logged Quote grif091

The IOLinc is not one of the predefined device types PH provides a definition for but creating one should not be beyond PH capability. The IOLinc use normal Insteon Group commands to signal contact open/close and to control the single output so that part is well within PH capability. You should be able to fire a trigger to invoke a macro when the contact closure signals a door open/close state change if that is what you are looking for. The output relay responds like most any other Insteon responder.

I monitor and control a set of detached garage doors with a SimpleHomeNet EZIO2X4 (something like an IOLinc on steroids).   This monitoring and control is done using the buttons on a KeypadLinc. When PH is running it provides an audible message that the garage doors are moving, open or closed using the TTS support.

What specific information are you looking for?


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 17 2009 at 12:35 | IP Logged Quote ketchup318

hey thanks for the reply grif091.

i'm wondering if I can monitor the door status like the insteon motion sensor. I have a motion sensor linked to the PLM based on another thread that I found in the forums, but I can't get the IO Linc to work in a similar fashion. How do I get PH to monitor the IO Linc's status? And also, how do I trigger the IO Linc? I need to both monitor and trigger the device, but the predefined devices only do one or the other.

I'm working my way through macros, so I think I'll get that working... thanks for the help.
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 17 2009 at 13:22 | IP Logged Quote grif091

The IOLinc should link to the PLM the same way the motion sensor did. The "Use a Sensor to Control an INSTEON Device" section of the quick start guide describes the process. The IOLinc is slightly different in that you need to connect the sensor (probably a magnetic contact) and put the sensor in the condition you want to cause an ON command to be sent. Normally you want an ON command when the door is opened so that if you use a KeypadLinc button to reflect door status the button LED would be on when the door is open. However, that is totally up to you.

PH will monitor the IOLinc sensor in the same way you are monitoring the motion sensor. Both devices use a normal Insteon Group command sequence when activated.

You will have to create your own device Type definition for the IOLinc. Use a SwitchLinc for the pattern. Actually calling it a SwitchLinc might actually work. A SwitchLinc is a controller in that it sends a Group message to any responder device that it is linked to when the paddle is pressed. The SwitchLinc also reacts as a responder so that it can be turned on/off from another Insteon device. The IOLinc sensor is the controller part of the IOLinc. As the sensor opens/closes a Group command sequence is generated that reflects an ON or OFF state. The IOLinc output relay is the responder side of the device and will Open/Close based on Group commands sent to the IOLinc. The IOLinc relay may respond to a Direct command. If that is true then it will not be necessary to link the PLM as a controller to the IOLinc as a responder. You can test that after you are able to monitor the sensor change.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 17 2009 at 18:24 | IP Logged Quote ketchup318

sorry about the question, but i looked through both the v1.xx and the v2.xx versions of the quick start and can't find the 'Use sensor to control an insteon device'... am i just not finding it? thanks for the help
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 17 2009 at 18:37 | IP Logged Quote grif091

I was referring to the quick start guide for the IOLinc. It should have been included in the box the IOLinc was shipped in. If it is missing, you can go to the Smarthome web site, under the IOLinc web page, toward the bottom of the page, there is a link to the quick start guide as well as the much more detailed full user guide.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 17 2009 at 21:14 | IP Logged Quote ketchup318

hey grif

thanks for the clarification. I have it working with the keypadlinc and it's all setup outside of powerhome. When the door's up, the light is on, and when the door is down, the light is off. I have another button that I use for opening and closing the door itself.

the final question I have concerns configuring it for powerhome...

right now, it's configured as a switchlinc. when I toggle it, it flips a reply (momentary, 2 sec). PH displays ON and then 2 seconds later, turn off...

I don't know how to configure powerhome so I get the actual door status AND the relay on and off. It doesn't look like PH has the capability to show two options for one device... so i'm thinking/wondering do I have to create two devices in PH?
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 17 2009 at 21:25 | IP Logged Quote ketchup318

actually, after fiddling around with the IOLinc, I can't seem to find a setting that will allow me to view the status of sensor (garage door).

Anyone know how to monitor the sensor status? Not the On/Off status of the relay...
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 17 2009 at 21:58 | IP Logged Quote grif091

PowerHome will show the status of the garage door (pseudo SwitchLinc) just as the KeypadLinc does. The KeypadLinc button is On when the last command received from the IOLinc is an Insteon On. The KeypadLinc button is Off when the last command received from the IOLinc is an Insteon Off. The IOLinc device definition in Powerhome should reflect the same status as the KeypadLinc button, assuming you linked the Powerhome controller PLM as a responder to the IOLinc just as you did the KeypadLinc button.

To function as a garage door controller, the IOLinc relay will only be energized for a few seconds. If the IOLinc relay is turned On and stays on it will block the other manual door control switches. Makes no sense to show the relay status in Powerhome as it will be On for only a few seconds. There may a way to define a Virtual device under Powerhome to reflect that few second relay On but I’m not familiar with that facility. Others have defined non-existent X10 addresses and used a trigger fired from whatever is being used to energize the IOLinc relay to show the relay status but as I said it would be on for only a few seconds, only when the door is commanded to open or close.

EDIT: I just realized the problem you are describing. It is not so much you want the relay status displayed, but you do not want the relay commands to change the IOLinc/SwitchLinc On/Off status displayed by PowerHome. That will require some thought.

Edited by grif091 - May 17 2009 at 22:08


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 18 2009 at 00:17 | IP Logged Quote ketchup318

hey grif

thanks for the continuing support. I just want to clarify my problem somewhat

The IOLinc is kinda like two devices in one. The first one is like the Triggerlinc (in my configuration). It senses when the garage door is down, or 'not down'. The second function is like the switchlinc, although mine is setup to be momentary to toggle the garage door.

The problem is that powerhome seems to only treat the IOLinc only as a switch. I can get the status momentary relay (ie, on and off), but I can seem to get a status on the sensor (garage door down or 'not down')

I want to write a macro that alerts me if i forget to close the garage door as i go to work

if weekday
if time between 8am to 7pm
    if door not down
      email myself
      close door
    end if
end if
end if

again, thanks for the continuing help
    
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 18 2009 at 00:35 | IP Logged Quote grif091

Issue a Status command (0x19) against the IOLinc and see what the return value is when the garage door is closed versus when it is open. I don't know if the Status command is going to return the state of the sensor or the state of the relay.   If it returns the state of the sensor, you have your solution. If it does not return the state of the sensor, then you have to keep track of the On and Off commands issued from the sensor. Each time a Group command is issued by the sensor you store the command in a Global Variable. The Global Variable will indicate whether the door is open or closed. The Status command is a better approach if the IOLinc will respond with the state of the sensor.

EDIT: This would be easy to do with a SimpleHomeNet EZIO2X4 as that company documents the command which queries the state of each of the 4 Inputs (sensors). Smarthome does not document to the general public what commands are available (if any) to determine the state of the sensor.

Edited by grif091 - May 18 2009 at 00:39


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 18 2009 at 01:35 | IP Logged Quote ketchup318

ok, this is probably going to sound silly, but how do you issue a status command and how do you see what the return value is...

i've gone over the PH quick start and the user manuals but I can't seem to get information about some of the more detailed settings... ie 'A Ramp', 'A Level', 'D Ramp', 'D Level', ACK, NAK, Event 03...

Also what do the numbers mean in the control/resp groups, DevCat, SubCat...

And how do I know if the return code is the relay or the sensor status?

I'm sorry to keep bugging you about this, but I just can't find documentation in the manuals or online.
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 18 2009 at 03:02 | IP Logged Quote grif091

From a PH Macro, double click on the Send Keys column to invoke the Formula Builder. From the Formula Builder issue a ph_insteonwithret(“IOLINC ID”, 25, 0) by typing the command and clicking on Verify. The display information at the bottom of the Formula Builder window will be the returned cmd2 value.   You can look up the ph_insteonwithret function in the PH Help facility. The quoted string is the device ID you assigned to the IOLinc. The 25 is the Status (0x19) command.   The Formula Builder should display the results of the Status command at the bottom of the Formula Builder window.

Run the command with the door closed. Then run the command with the door open. If the returned values are different, the IOLinc is returning the status of the sensor and you will know the values that represent an open and closed condition. If the returned value does not change then the Status command is either not supported or it is returning the state of the output relay which we are not changing the state of.

The SmartLabs web site has a document in the public domain, Insteon Details, which describes the meaning of the various fields you asked about. The DevCat and SubCat are the Device Category and Sub Category for the specific device. SmartLabs assigns these values for each type of Insteon device.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: May 18 2009 at 06:55 | IP Logged Quote nadler

This might help also.

I have an I/O Linc and a garage door sensor.

I defined the I/O Linc as a "New Device Type" but I
don't think it much matters.

I have 2 triggers. A garage door open trigger and a
garage door closed trigger.

The Garage Door Closed Trigger is setup as follows:
Action Type: Raw Formula

Action: ph_tts("Garage Door is Closed")+ph_insteongroup
( "GARAGE STATUS", ioff,0 ) +ph_setglobal_s("GARAGE
DOOR","Garage Closed")

Trigger Type: Insteon Group In

Trigger ID: Garage Sensor (Your Device ID)

Trigger ID: 1

Trigger Value: On (0x11)

Boolean: ph_macroparm("TRIGDISABLE",5,0,0,0,0)+1

When the garage door is closed the IOLinc sends an
Insteon ON. PH announces the 'garage door is closed'.
Sets a global variable to CLOSED which I use in various
Control Center screens to change the screen immediately.
The Insteon Group command ioff turns off several KPL
button lights that were turned on when the garage door
was opened.

The garage door open trigger uses a trigger value of Off
instead on On.

I don't use any KPL buttons to close my garage because I
thought it was not safe to do so without looking at the
actual garage door closing. However I did try it. Just
link the insteon device to the IOLinc after setting up
the IOLInc per its instructions.

Hope this helps.

Noel
Back to Top View nadler's Profile Search for other posts by nadler
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 25 2009 at 16:40 | IP Logged Quote dhoward

I don't have an IOLinc to actually test with but being a developer, I was able to logon and get a little more info.

To get the relay status of an IOLinc, issue the following command:

ph_insteonwithret("IOLINC ID",25,0)

This should return the current status of the relay. To get the status of the input sensor, use this command:

ph_insteonwithret("IOLIND ID",25,1)

Let me know if these work or not.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 26 2009 at 13:08 | IP Logged Quote ketchup318

hey dave

thanks for the info. It works great. I can now get the status of both the relay and the sensor.

now is there a way to modify the PH Device Status page so that I can get both the relay and sensor status? Currently it's only showing the relay status.

If it's not possible to add another column or two, is it possible to modify it so it can display the status of the sensor rather than the relay. That's what I'm really after.

Thanks for the help.
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 
JSpaeth
Newbie
Newbie


Joined: May 06 2009
Online Status: Offline
Posts: 7
Posted: May 27 2009 at 08:23 | IP Logged Quote JSpaeth

Quick Question:
When using a controller and an I/O Linc connected to the garage door, which linking scenario needs to be true? (assuming I need to monitor the status of the garage door and direct control from PH)

1. The I/O Linc is a responder of the controller.
2. The Controller is a responder of the I/O Linc.
3. The I/O Linc is a responder of the controller AND
The Controller is a responder of the I/O Linc.

Thanks for any help.

Edited by JSpaeth - May 27 2009 at 08:24
Back to Top View JSpaeth's Profile Search for other posts by JSpaeth
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 27 2009 at 10:44 | IP Logged Quote grif091

Option 3.

To monitor the IOLinc sensor state, you link the IOLinc as a controller to whatever responder device will be used to reflect the sensor state. The responder device could be a KeypadLinc button, the Powerhome PLC/PLM controller (as a responder) if you want Powerhome to trigger events based on the IOLinc sensor state change.

To control the IOLinc relay, whatever device that will be used to set the state of the IOLinc relay will be linked as a controller with the IOLinc output relay as a responder.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 28 2009 at 17:10 | IP Logged Quote dhoward

Ketchup,

No good way to swap the monitoring of the relay for the input. It would be easier to just add the monitoring of the input. This would be fairly trivial with a virtual Insteon device...the trouble is that virtual Insteon devices arent working properly in the current 2.1b version (it is fixed for the upcoming version).

In the meantime, I would just make a virtual Digital Input device. Then have a trigger update the virtual digital when the input changes state. You could also setup a timed event to do a periodic monitor of the I/OLinc input and also update the digital input. With a virtual digital, this input will now appear on the Device Status screen as well as be able to fire triggers when it changes.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
ketchup318
Newbie
Newbie


Joined: May 16 2009
Location: United States
Online Status: Offline
Posts: 9
Posted: May 31 2009 at 13:25 | IP Logged Quote ketchup318

hey dave

this may sounds like a silly question, but where do you change the setting so that the IOLinc shows up as a virtual device? I've searched a few threads and didn't see how this was done. Thanks
Back to Top View ketchup318's Profile Search for other posts by ketchup318
 

Page of 2 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum