Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome and Elk
 PowerHome Messageboard : PowerHome and Elk
Subject Topic: How to Bypass a Zone from PH? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: April 28 2010 at 14:54 | IP Logged Quote smarty

During windy days, I have three screened porch zones (zones 99, 100, and 101) that I would like to bypass.

From the Elk Quick Start guide:

Support for the Elk specific control commands is available using the ph_ctlrcmd and ph_ctlrcmd1 functions. The specific controller command values and parameters are detailed below. To send an "Arming Status Request" command, the function would look like: ph_ctlrcmd1("ELKID",120,0,0,"","",1)

Arming Status Request - 120. No parms. Seconds returned in ret1. Data returned in ret3.

Alarm by Zone Request - 240. No parms. Data returned in ret3.

Zone Partition Request - 250. No parms. Data returned in ret3.

Zone Bypass Request - 260. Zone in parm1, Area in parm2, PIN in parm3. Data returned in ret1.


I have tried:

ph_ctlrcmd1("elk",260,99,1,"mycode","",1)

where:
"elk" is the name of my elk controller in PH
99 is zone I want to bypass
1 = Area Number
"mycode" = my arm/disarm code

The above formula gives me no errors, but it does not bypass the zone. Any ideas on what I need to do to have zone 99 become bypasses?

__________________
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: May 03 2010 at 10:59 | IP Logged Quote smarty

!!WARNING!!

I have found that when I try variations of the above formula, I cause existing "Device Control" macro lines to become corrupt. Multiple lines in multiple macro's were corrupted.

To fix the corrupted "Device Control" lines, I basically had to reselect the desired choices from the Device Control drop down box in each line where device control was asked for in every macro that contained a device control for my "elk" controller.

__________________
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: May 04 2010 at 11:17 | IP Logged Quote smarty

I ended up setting up an Elk Task called "Porch Bypass". I then wrote an Elk rule that bypassed the 3 zones whenever the Task was activated.


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

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