I do not use that notification but here is what I have for geofenceEnter.vm
#set($subject = "$device.name: has entered geofence")
<!DOCTYPE html>
<html>
<body>
Device: $device.name<br>
Has entered geofence: $geofence.name<br>
Time: $dateTool.format("dd-MM-YYYY HH:mm:ss", $event.serverTime, $locale, $timezone)<br><br>
TRACCAR: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br>
</body>
</html><br>GOOGLE: https://www.google.com/maps/search/?api=1&query=$position.latitude,$position.longitude
This is what the email looks like:
Device: VD XXXX FM-3622
Has entered geofence: Home
Time: 03-09-2019 12:01:55
TRACCAR: Azzurra Drive, Gold Coast, QLD, AU
GOOGLE: https://www.google.com/maps/search/?api=1&query=-28.0934783,153.403965
I do something like this post:
https://www.traccar.org/forums/topic/problems-trying-to-configure-google-maps-in-email-templates/page/2/
but after modify deviceOnline.vm, I get the email is :
Device: test
Online
Time: 2019-09-01 10:30:02
Point: $position.latitude , $position.longitude