Creating and modifying the alarm notifier xml file – Echelon i.LON SmartServer 2.0 User Manual
Page 95

i.LON SmartServer 2.0 Programmer’s Reference
7-3
<UCPTemailAggregTime>0</UCPTemailAggregTime>
<Mail>
<UCPTindex>0</UCPTindex>
<UCPTnickName>Alarm
Notification
</UCPTnickName>
<UCPTemailAddress>[email protected]</UCPTemailAddress>
<UCPTemailFormat>{status} {new_line}{alarm_time}</UCPTemailFormat>
<UCPTemailSubject>Data Logger at Alarm Level</UCPTemailSubject>
<UCPTemailAttachment/>
</Mail>
<ActiveAlarm>
<UCPTindex>5</UCPTindex>
<UCPTlevel>240</UCPTlevel>
<UCPTalarmText>Alarm</UCPTalarmText>
<UCPTalarmCondition
LonFormat="UCPTalarmCondition">AL_ALM_CONDITION</UCPTalarmCondition>
</ActiveAlarm>
<PassiveAlarm>
<UCPTindex>0</UCPTindex>
<UCPTlevel>255</UCPTlevel>
<UCPTalarmText>Online</UCPTalarmText>
<UCPTalarmCondition
LonFormat="UCPTalarmCondition">AL_NO_CONDITION</UCPTalarmCondition>
</PassiveAlarm>
<AlarmDest>
<UCPTindex>0</UCPTindex>
<UCPTenablePath/>
<ActiveDest>
<UCPTmailPath>Mail[UCPTnickName=“Alarm
Notification
“]</UCPTmailPath>
<UCPTdataPointPath>DataPoint[@dpType=“Output” and UCPTnickName=“Net/LON/iLON App/Data
Logger[0]/nviDlClear[0]”]</UCPTdataPointPath>
<UCPTpointValue>ON</UCPTpointValue>
<UCPTminLevel>255</UCPTminLevel>
<UCPTmaxLevel>0</UCPTmaxLevel>
<UCPTnackDelay>0</UCPTnackDelay>
</ActiveDest>
<PassiveDest>
<UCPTminLevel>255</UCPTminLevel>
<UCPTmaxLevel>0</UCPTmaxLevel>
<UCPTnackDelay>0</UCPTnackDelay>
</PassiveDest>
</AlarmDest>
</Item>
</iLonItem>
7.2
Creating and Modifying the Alarm Notifier XML File
You can create and manage the #8000010128000000[4].UFPTalarmNotifier.xml file with the Set
SOAP function. The following section, Alarm Notifier SOAP Interface, describes how to use Set and
the other SOAP functions provided for the Alarm Notifier application.
Alternatively, you can create and manage the #8000010128000000[4].UFPTalarmNotifier.xml file
manually with an XML editor and download it to the SmartServer via FTP. Echelon does not
recommend this, as the SmartServer will require a reboot to read the configuration of the downloaded
file. Additionally, the SmartServer performs error checking on all SOAP messages it receives before
writing to the XML file. It will not perform error checking on any XML files you download via FTP,
and thus the application may not boot properly.
If you plan to create the XML file manually, you should review the rest of this chapter first, as it
describes the elements and properties in the XML file that define each Alarm Notifier’s configuration.