Solution for ACC off + Status ONLINE to mail

R3LKU4G 2 years ago

Hi, I would like an email notification to be sent to me when the tracker has the status "Online" and "ACC Off".
What would also serve the purpose is a notification when the shock alarm is triggered when the ignition is off.
Does anyone have a detailed solution for me? That would make me very happy :)) Many thanks

Anton Tananaev 2 years ago

We should have the ignition off event available out of the box.

R3LKU4G 2 years ago

Sorry, I forgot to mention that I use my own Traccar server with Windows and the tracker is a SinoTrack ST-901L 4G

R3LKU4G 2 years ago

The mail notification should of course only be sent if both criteria are met.
Like....IF "ACC off" AND "Status Online"(or shock) THEN Message

Anton Tananaev 2 years ago

Well, you can't receive anything if the device is offline, so the second condition is always true when you're receiving the data.

R3LKU4G 2 years ago

But ACC is not always on. By ACC, I of course mean the "ignition", sorry.

The following scenario:
Tracker automatically goes into sleep mode after 5 minutes.
Tracker has voltage and is in sleep mode, ignition is OFF. If the tracker now receives a shock, it wakes up and sends "Ignition off" and "Online" to the server, the server should then send a mail.
If the status is "Ignition ON" and online, it should not send a message.