ezeio2:mange:meggagetemplates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ezeio2:mange:meggagetemplates [2021-08-10 19:52] andrehezeio2:mange:meggagetemplates [2021-09-24 16:55] (current) – removed johpar
Line 1: Line 1:
-==== Message Templates Tags ==== 
-{{indexmenu_n>745}} 
  
-The following tags are available in message templates: 
- 
-^ Tag ^ Purpose ^ Example ^ 
-| ''[MESSAGEID]'' | A unique message id | //ABC123-2-14-7474// | 
-| ''[ZULUTIME]'' | Zulu/UTC time when message was triggered | //2019-12-31T23:59:52Z// | 
-| ''[ISODATE]'' | Date when message was triggered, in controller time zone, ISO format | //2019-12-31// | 
-| ''[USDATE]'' | Date when message was triggered, in controller time zone, US format | //12/31/19// | 
-| ''[ISOTIME]'' | Time when message was triggered, in controller time zone, ISO format | //23:59:59// | 
-| ''[USTIME]'' | Time when message was triggered, in controller time zone, US format | //11:59:59 PM// | 
-| ''[WEEKDAY]'' | Weekday when message was triggered, in controller time zone | //Mon// .. //Sun// | 
-| ''[MONTH]'' | Month when message was triggered, in controller time zone | //Jan// .. //Dec// | 
-| ''[DAY]'' | Day when message was triggered, in controller time zone | //31// | 
-| ''[EZEID]'' | ezeio serial number | //ABC-987// | 
-| ''[EZENAME]'' | ezeio name | From Configure->System->Name | 
-| ''[EZENOTE]'' | ezeio note | From Configure->System->Note | 
-| ''[TYPE]'' | Message type | //ALARM, REALARM, RESTORE, INFO// | 
-| ''[SOURCE]'' | Message source | //SEND, LOG, SCRIPT// | 
-| ''[GROUPNAME]'' | Name of the group where the ezeio is assigned | From Group Settings->Group Name | 
-| ''[SOURCENAME]'' | Name of the source alarm | From Configure->Alarms->Name | 
-| ''[ACTIONNAME]'' | Name of the action source action | From Configure->Alarms->Alarm action->Name | 
-| ''[GPS]'' | GPS coordinates (if available) | //Lat:38.671447, Lng-121.152385:, Ele:105.2// | 
-| ''[GPSLINK]'' | GPS coordinates Google maps link | https://maps.google.com/maps?q=... | 
-| ''[GPSSIGNAL]'' | Signal quality of the GPS receiver | //14// | 
-| ''[RSSI]'' | Cellular signal RSSI | //0// (no signal) .. //31// (full signal) | 
-| ''[P#]'' | Message (#=1-4) parameters (see script command "Event") | | 
-| ''[FV#]'' | Field value, #=1-90 | //318.2// | 
-| ''[FR#]'' | Field value, #=1-90 unformatted | //318.2// | 
-| ''[FU#]'' | Field unit, #=1-90 | //psi// | 
-| ''[FN#]'' | Field name, #=1-90 | //Pressure// | 
-| ''[F#]'' | Field status, #=1-90, as "Field name: Value Unit", same as [FN#]: [FV#] [FU#] | //Pressure: 318.2 psi// | 
-| ''<//AssetTag//>'' | Can be used in place of the Field number, Example: [FV<outsidetemp>] | 
-| ''<//AssetTag//:SUM>'' | Works with FV and FR. Returns the sum of all field values with the given AssetTag, Example: [FV<outsidetemp:SUM>] | //172.2// | 
-| ''<//AssetTag//:MAX>'' | Works with FV and FR. Returns the highest value of all field values with the given AssetTag, Example: [FV<outsidetemp:MAX>] | //45.6// | 
-| ''<//AssetTag//:MIN>'' | Works with FV and FR. Returns the lowest value of all field values with the given AssetTag, Example: [FV<outsidetemp:MIN>] | //38.2// | 
-| ''<//AssetTag//:AVG>'' | Works with FV and FR. Returns the mean (average) value of all field values with the given AssetTag, Example: [FV<outsidetemp:AVG>] | //43.02// | 
-| ''<//AssetTag//:BOR>'' | Works with FV and FR. Returns the binary OR value of all field values with the given AssetTag, Example: [FV<outsidetemp:BOR>] | //47// | 
-| ''<//AssetTag//:ALL>'' | Works with FV and FR. Returns all field values with the given AssetTag separated by comma, Example: [FV<outsidetemp:ALL>] | //38.2, 44.1, 44.3, 45.6// | 
-| ''[TEXT]'' | Event text (see script command "Event") | | 
-| ''[ACTIONMESSAGE]'' | The message/template from the action (typically used in the destination list) | | 
-| ''[RECIPIENT]'' | The name of the destination (recipient) for this message (from Destination->Name) | | 
-| ''[DESTINATION]'' | The address of the destination (from Destination->Address) | | 
-| ''[DESTINATIONTOKEN]'' | The token of the destination (from Destination->Token) | | 
-| ''[DVC#COMMSTAT]'' | Device communication status, #=1-40 | //n/a, ERROR, WARNING, WARNING2, WARNING3, OK, OK2, OK3// | 
-| ''[DVC#OPSTAT]'' | Device operational status, #=1-40 | //n/a, ERROR, WARNING, OK// | 
-| ''[DVC#APPSTAT]'' | Device application status, #=1-40 | //n/a, ERROR, WARNING, OK, OK2, OK3, OK4, OK5// | 
-| ''[DVC#STATUS]'' | Device overall status, #=1-40 | //OK// or if there's an issue //COMM:ERROR// | 
-| ''[DVCSTATUS]'' | List all devices overall status | //#1 Pressure sensor: OK// \\ //#2 Energy meter: OP WARNING// \\ #3 //Geiger counter: APP ERROR// | 
-| ''[DVCWARNINGS]'' | List all device warnings and errors (if any) | //#2 Energy meter: OP WARNING// \\ //#3 Geiger counter: APP ERROR// | 
-| ''[DVCERRORS]'' | List all device errors (if any) | //#3 Geiger counter: APP ERROR// | 
  • ezeio2/mange/meggagetemplates.1628625157.txt.gz
  • Last modified: 2021-08-10 19:52
  • by andreh