Differences

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

Link to this comparison view

Both sides previous revision Previous revision
user:notify:text [25/05/2018 11:49]
irra [Notification Text] https://redmine.gurtam.net/issues/21657
user:notify:text [29/06/2018 13:50] (current)
tagr zark
Line 21: Line 21:
 |%LOCATION%| Unit location at the moment when notification triggered. | |%LOCATION%| Unit location at the moment when notification triggered. |
 |%LAST_LOCATION%| Last known unit location\\ (may be useful if there is no position in the triggered message). | |%LAST_LOCATION%| Last known unit location\\ (may be useful if there is no position in the triggered message). |
-|%LOCATOR_LINK(60,​T)%| Create locator link for the triggered unit (in brackets indicate lifespan in minutes, T and G parameters to show tracks and geofences). |+|%LOCATOR_LINK(60,​T)%| Create ​[[user/​monitor/​locator|locator link]] for the triggered unit (in brackets indicate lifespan in minutes, T and G parameters to show tracks and geofences). |
 |%ZONE_MIN%| The smallest of geofences holding unit at the moment of notification. | |%ZONE_MIN%| The smallest of geofences holding unit at the moment of notification. |
 |%ZONES_ALL%| All geofences holding unit at the moment of notification. | |%ZONES_ALL%| All geofences holding unit at the moment of notification. |
Line 30: Line 30:
 |%TRAILER%| Trailer'​s name (can be displayed only if the trailer belongs to the same resource as notification). | |%TRAILER%| Trailer'​s name (can be displayed only if the trailer belongs to the same resource as notification). |
 |%SENSOR(*)%| Unit sensors and their values (indicate sensor mask in brackets). | |%SENSOR(*)%| Unit sensors and their values (indicate sensor mask in brackets). |
-|%ENGINE_HOURS%| Engine hours at the moment of notification. | +|%ENGINE_HOURS%| [[cms/​units/​counters|Engine hours]] at the moment of notification. | 
-|%MILEAGE%| Mileage at the moment of notification. |+|%MILEAGE%| [[cms/​units/​counters|Mileage]] at the moment of notification. |
 |%LAT%| Latitude at the moment of notification (e.g., N 55° 45.7530'​). | |%LAT%| Latitude at the moment of notification (e.g., N 55° 45.7530'​). |
 |%LON%| Longitude at the moment of notification (e.g., E 37° 35.2068'​). | |%LON%| Longitude at the moment of notification (e.g., E 37° 35.2068'​). |
Line 37: Line 37:
 |%LOND%| Longitude without formatting. | |%LOND%| Longitude without formatting. |
 |%GOOGLE_LINK%| Link to Google Maps with the position at the moment of notification\\ (e.g., http://​maps.google.com/?​q=55.762550N,​37.586780E). | |%GOOGLE_LINK%| Link to Google Maps with the position at the moment of notification\\ (e.g., http://​maps.google.com/?​q=55.762550N,​37.586780E). |
-|%CUSTOM_FIELD(*)%| Unit custom fields. If you leave the asterisk sign in the brackets, all accessible custom fields (both regular and administrative) will be shown with their values (in the format 'key: value'​). However, you can get the value of a certain field if you specify its complete name in the brackets. In this case, the resulting notification text will contain the value of the specified field (only the value but not its name). |+|%CUSTOM_FIELD(*)%| Unit [[cms/​units/​counters|custom fields]]. If you leave the asterisk sign in the brackets, all accessible custom fields (both regular and administrative) will be shown with their values (in the format 'key: value'​). However, you can get the value of a certain field if you specify its complete name in the brackets. In this case, the resulting notification text will contain the value of the specified field (only the value but not its name). |
  
 There are also parameters which make sense only with certain types of notifications:​ There are also parameters which make sense only with certain types of notifications:​
Line 45: Line 45:
 |%SENSOR_NAME%| Triggered sensor name (used in various notifications). | |%SENSOR_NAME%| Triggered sensor name (used in various notifications). |
 |%SENSOR_VALUE%| Triggered sensor value. | |%SENSOR_VALUE%| Triggered sensor value. |
-|%SERVICE_NAME%| Service interval name (used in notifications about maintenance). |+|%SERVICE_NAME%| [[cms/​units/​maint|Service interval]] name (used in notifications about maintenance). |
 |%SERVICE_TERM%| Service interval state — left/​expired value (used in notifications about maintenance). | |%SERVICE_TERM%| Service interval state — left/​expired value (used in notifications about maintenance). |
 |%TRIGGERED_SENSORS%| All triggered sensors and their values (used in notifications about maintenance). | |%TRIGGERED_SENSORS%| All triggered sensors and their values (used in notifications about maintenance). |
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2018 Gurtam