Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome and Elk
 PowerHome Messageboard : PowerHome and Elk
Subject Topic: Triggering Off Elk Contact Status Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: September 29 2008 at 15:07 | IP Logged Quote tbeckman

Dave, in your last post you taught me how to use the generic controller(ELK) pointed to to COMMAND 5 and OPTION 1 to trigger on the alarm status and state. Now, I am trying to make a trigger based upon a door opening which is monitored by the ELK. Do I used the same COMMAND 5 & OPTION 1... and what TEMP value do I look at to find out which contact has been violated. Is there document somewhere that outlines all these TEMP variables and options? Thank you again for your great help.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 29 2008 at 17:05 | IP Logged Quote smarty

Wouldn't you just trigger of the actual analog I/O?

For example, Zone 4 of my Elk system is for the front door.

In the Analog I/O section of PH, I set up an "ID" that is for my Elk Zone #4 (front Door), the "I/O" is set to "Input", the controller is set to what ever you named your Elk controller to be (it should be in the dropdown box), the unit is "1" (main elk board is 1), and the point is "4" (this is the elk zone number).
NOTE: unit 1 has 16 points, then elk expansion board #1 would be called unit 2. Unit 2 has 16 points (and so on). After a quick re-start of PH, you should see real time zone status of your elk. Now you can write triggers using the Ananlog Input status.

Hope this helps get you started.

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: September 29 2008 at 17:51 | IP Logged Quote tbeckman

I already did the first half of what you mentioned... I setup up the ELk zones in the Analog I/O section. I have been able to see their status realtime. However, when I try to setup the trigger via analog input I didn't get any options to pick from in the TRIGGER ID field. However, I started looking around and found that if I trigger off a Multi-state I find all my zones I setup in the Analog I/O. However, when I choose my zone for the TRIGGER ID the TRIGGER ID NUMBER greys out and I am left with TRIGGER VALUE options of "changed" and 1-16. Would you happend to know what value I should put in the VALUE field that will denote the door status as open? Thank you for your help. It is nice to see another ELK user.
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 29 2008 at 20:54 | IP Logged Quote smarty

Hang on, I have seen this before

Hmmm...



dhoward wrote:
......

A 4 state input is just Elk's standard "digital" input. I think of a digital input as only having 2 states...off and on. This is like what an Ocelot or a K8000 uses. ELK however has the ability to configure it's inputs as either analog or what I call a 4 state input (it actually has 16 states...but that's another story). These inputs are referred to by Elk as "zones". It may help to look through their RS-232 protocol manual. Don't dwell on the protocol or the details, just skim the messages that are available and the values that they return. This is ultimately what PowerHome is based upon.

In the case of the 4 state input (ELK zone). It has 4 logical states (Open, Short, EOL, and Unconfigured) and 4 physical states (Normal, Trouble, Violated, and Bypassed).
.........
Dave.


From Dave's message above 4 logical * 4 physicall states is 16. In looking over the Elk RS-232 information, I would ASSUME that they would be just as listed in the Elk documentation.
0=Norma Unconfigured
1=Normal OPen
2=Normal eol
3=Normal Short
4=not used
5=trouble open
6=trouble eol
7=trouble short
8=not used
9=violated eol
10=Violated open
11=Violated short
12=Soft Bypassed
13=bypassed open
14=bypassped eol
15=bypassed short

Since Dave starts at 1 and these start at 0, just add a one to these and try whatever number best fits your circumstance.


Let us know if this works....

Steve



__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: September 29 2008 at 21:36 | IP Logged Quote smarty

Update....

Just look at your event log screen after you open and close the door a couple of times. You will see how the zone changed states (when youe open and closed the door)and what numbers (1-16) to use (what corresponds to open and closed). The answer above appears to be correct.

Steve

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
tbeckman
Senior Member
Senior Member


Joined: December 30 2007
Location: United States
Online Status: Offline
Posts: 149
Posted: September 30 2008 at 17:44 | IP Logged Quote tbeckman

Smarty, you have been so helpful. Being able to integrate my ELK with Powerhome has opened up a whole new realm of things to do. It looks like it uses a 3 when closed and a 9 when open. Thank you for your help.

Edited by tbeckman - September 30 2008 at 17:45
Back to Top View tbeckman's Profile Search for other posts by tbeckman
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  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