Jump to content

Recommended Posts

Posted (edited)

I'm just rewriting some notifications and I can't seem to get the elk.x.alarmStatus to report as it seemingly should.

 

This is from the wiki

image.thumb.png.3e1f93ad00fc035cd96a9c3cd74caae8.png

 

This is the body of the email

Report info
${elk.area.1.name}.... Armup State:${elk.area.1.armUpState}.... Alarm Status: ${elk.area.1.alarmStatus}   

and this is the content of the email it sends

Report info
Main House.... Armup State:Armed Fully.... Alarm Status: 

 
I've tried this for all 6 areas but the Alarm Status is blank for all of them
 
From ISY I see this
image.thumb.png.8d2ae1428662f5170ba141f1b4972b50.png
 
Any thoughts?
 
 

  

Edited by MarkJames
  • Like 1
Posted (edited)

image.png.5a5ff9f311f16b9bd186b9b9775718ed.png

 

same result - sorry.

 

image.thumb.png.e052957c138354007df460b3d7be7447.png

image.thumb.png.04eac92c15673124efcabefd1e98f0bc.png

The table is HTML so I c/p just one row and highlighted the substituted variables.  Ignore columns 2,3,4 - they're ISY variables for my own use

</tr>
 <tr style='height:8.95pt'>
  <td width=162 valign=top style='width:121.25pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>${elk.area.2.name}</p>
  </td>
  <td width=79 valign=top style='width:59.55pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>${var.2.13}</p>
  </td>
  <td width=89 valign=top style='width:66.4pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>&nbsp;</p>
  </td>
  <td width=89 valign=top style='width:66.4pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>Always</p>
  </td>
  <td width=165 valign=top style='width:123.45pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>${elk.area.2.alarmStatus}</p>
  </td>
  <td width=165 valign=top style='width:123.95pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:8.95pt'>
  <p class=MsoNormal style='margin-bottom:0in;line-height:normal'>${elk.area.2.armUpState}</p>
  </td>

Edited by MarkJames
Posted

I have never been able to get ${elk.area.1.alarmStatus} to work. I agree that  

My work around has been to use:

${elk.area.1.alarmState}, which results in No Active Alarm, Burglar Alarm, etc.

${elk.area.1.armUpState}, which results in Ready To Arm, Not Ready to Arm.

${elk.area.1.armedState}, which results in Disarmed, Armed Stay, Armed Away, etc.

These are available as selections from the "add variable" menu on the custom notification screen with the Elk Module.

In addition, I add the following to my custom notification ${elk.area.1.name} & ${elk.area.1.armUpState} which work.

I think this combination covers most of what is needed for "area" status and alarm.

Posted (edited)

Thanks Dennis,

I'll try that out.  Hopefully this also brings it to the attention of the ISY team so they can address it. It's probably a feature that so few of us use that it got missed.

 

[edit]

Confirmed - that works perfectly.  Thank you!

 

Edited by MarkJames
Posted
8 minutes ago, MarkJames said:

Thanks Dennis,

I'll try that out.  Hopefully this also brings it to the attention of the ISY team so they can address it. It's probably a feature that so few of us use that it got missed.

 

[edit]

Confirmed - that works perfectly.  Thank you!

 

Most likely for those on v5 firmware, I think the future will be the Elk Nodeserver being created by @Jimbo. It is being tested now by a limited number of people. The Elk Nodeserver will support custom notifications.

  • Like 1
Posted

I'm lusting after setting up a nodeserver but I'm also in the midst of deciding on whether we are going to sell our home.  I've spent the last 24 years automating and re-automating and re-automating again to where it's a complex entanglement of a custom Java web page contorlling Elk, Sonos, ISY, Ecobee, Nuheat and Insteon managed by ISY and Homeseer along with some automation routines internal to the Elk.  My wife always kids that if I die she'd have to sell the house because she doesn't know how any of it works.  If we're going to sell I really need to simplify things for the next owner and adding PolISY is probably not the right step for me right now.

Posted
On 2/23/2021 at 8:04 AM, MarkJames said:

Report info
${elk.area.1.name}.... Armup State:${elk.area.1.armUpState}.... Alarm Status: ${elk.area.1.alarmStatus}   

...

Any thoughts?
 
 

  

The documentation in the Wiki was actually incorrect.  I have updated it https://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables#Elk_Variables

The variable is actually elk.area.1.alarmState

  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...