No notifications (eelink)

paul847 years ago

Just looking for some advice in regards to notifications for eelink protocol. I am receiving notification by email when the device comes online, but that is all.

I have selected to receive notifications for all items by web and email for the user I am using as a test bed. Email setup is correct and valid test email can be sent and received.

Event handling for all keys are true.

However, I am not receiving any events for Ignition On/Off or any Alarms for the device. Seems they are coming through under Protocol number 12 and/or 15.

Ignition OFF:

2017-03-11 18:17:09 DEBUG: [F5DE81DB: 5064 < 1.152.96.103] HEX: 676712002d008558c3a47303fbf63efa0f908d84009c000000000b01f900012255014d60cf0d006b119204cb000000000000
2017-03-11 18:17:09 DEBUG: [F5DE81DB: 5064 > 1.152.96.103] HEX: 67671200020085
2017-03-11 18:17:09  INFO: [F5DE81DB] id: 352544071886817, time: 2017-03-11 18:17:07, lat: -37.63783, lon: 145.07314, speed: 0.0, course: 0.0
2017-03-11 18:17:13 DEBUG: [F5DE81DB: 5064 < 1.152.96.103] HEX: 6767150024008658c3a47303fbf63efa0f908d84009c000000000b01f900012255014d60cf0d02006b
2017-03-11 18:17:13 DEBUG: [F5DE81DB: 5064 > 1.152.96.103] HEX: 67671500020086
2017-03-11 18:17:13  INFO: [F5DE81DB] id: 352544071886817, time: 2017-03-11 18:17:07, lat: -37.63783, lon: 145.07314, speed: 0.0, course: 0.0

Ignition ON:

2017-03-11 18:22:01 DEBUG: [F5DE81DB: 5064 < 1.152.96.103] HEX: 676712002d008858c3a59703fbf63efa0f908d84009c000000000b01f900012255014d60cf0d006f119804ca000000000000
2017-03-11 18:22:01 DEBUG: [F5DE81DB: 5064 > 1.152.96.103] HEX: 67671200020088
2017-03-11 18:22:01  INFO: [F5DE81DB] id: 352544071886817, time: 2017-03-11 18:21:59, lat: -37.63783, lon: 145.07314, speed: 0.0, course: 0.0
2017-03-11 18:22:05 DEBUG: [F5DE81DB: 5064 < 1.152.96.103] HEX: 6767150024008958c3a59703fbf63efa0f908d84009c000000000b01f900012255014d60cf0d01006f
2017-03-11 18:22:05 DEBUG: [F5DE81DB: 5064 > 1.152.96.103] HEX: 67671500020089
2017-03-11 18:22:05  INFO: [F5DE81DB] id: 352544071886817, time: 2017-03-11 18:21:59, lat: -37.63783, lon: 145.07314, speed: 0.0, course: 0.0
2017-03-11 18:22:38 DEBUG: [F5DE81DB: 5064 < 1.152.96.103] HEX: 6767030004008a006f
2017-03-11 18:22:38 DEBUG: [F5DE81DB: 5064 > 1.152.96.103] HEX: 6767030002008a
Anton Tananaev7 years ago

Ignition notification is only triggered when you have 2 consequent positions with different values. I guess your device doesn't send ignition info in every message, so you don't get notifications.

paul847 years ago

Hi Anton,

Possibly I'm going to monitor the log file and reference the eelink protocol document to find out what is happening during ignition state change. I have used gps-server.net and gpswox.com and found that Ignition On as an attribute was available at all times in ether an Off or On state. This is missing from the side panel on Traccar for me, including Battery Voltage.

I also noted that there was also no events triggered for alarms or additional parameters for analog / digital inputs which are documented in the eelink protocol.

paul847 years ago

Hi Anton,

After reviewing log files and eelink protocol v1.8.5 - ignition status, battery voltage, analog & digital inputs are sent with the GPS packets (0x03), state change (0x05), normal (0x12), report (0x15).

I have set up a test unit on my desk which I can easily switch ignition on and off, and trigger alarms. I have tested this unit on gps-wox and gps-server with as expected results.

All packets received from the device are naturally 0x12 due to no movement. If movement is detected then GPS packets (0x03) are received.

I do believe the eelink protocol is not decoding those statuses with 0x12 and 0x15. Therefor is missing from the side panel and is not being picked up as an event.

Below is snippet of exact moment ignition was switch off:

676712002d006d58c48d9503fbf63ed60f908dad008f000000000801f900012255014d58f71d006b119504c5000000000015
6767150024006e58c48d9503fbf63ed60f908dad008f000000000801f900012255014d58f71d02006b

And switched back on:

676712002d007158c48e6703fbf63ed60f908dad008f000000000801f900012255014d58f71d006f119704c8000000000015
6767150024007258c48e6703fbf63ed60f908dad008f000000000801f900012255014d58f71d01006f

Happy to submit log file with comments if it helps.

Anton Tananaev7 years ago

GPSWOX uses Traccar as a back-end, so if it works there, it should work in Traccar as well.

paul847 years ago

Hi Anton,

Thanks for the reply. That is good to know and led me to further testing.

The test unit on my desk is only send 0x12 and 0x15 packets, at no point in time has it sent an 0x02 GPS packet even when taking it from a drive in the car - strange! I was able to confirm Traccar eelink protocol function against another unit of the same model which is sending 0x02 packets - all works perfectly.

I don't have much of an answer for this and raised more questions then answers. I have refereed this issue to eelink and hope to return with a solution if such that someone else runs into this problem.

Keep up good work!

paul847 years ago

Hi,

Found solution.

For anyone who comes across an issue with an eelink device not sending 0x02 GPS packets and only 0x12 Normal packets. Set the GMT and Upload interval manually, factory setting is somehow ignored. Failing this, use the command "set,branch,0#" will push 0x02 GPS packets.

Anton Tananaev7 years ago

Thanks for sharing the information.

Hi @paul84,

To inform you i am facing same issue with protocol eelink notification during ignition ON/OFF. I am receiving following data from my GPS device to traccar server; but could not able to find out the way to fixed the ignition ON/OFF notification; below is the log data that i received from traccar server

2020-04-15 00:00:19  INFO: [6fe3e86c: 5064 < 172.18.10.18] HEX: 676707000601ed0072035d
2020-04-15 00:00:19  INFO: [6fe3e86c: 5064 > 172.18.10.18] HEX: 676707000201ed
2020-04-15 00:00:32  INFO: [511ccc0f: 5064 < 172.18.10.21] HEX: 676707000604420072035d
2020-04-15 00:00:32  INFO: [511ccc0f: 5064 > 172.18.10.21] HEX: 67670700020442
2020-04-15 00:02:22  INFO: [9ca4dad7: 5064 < 172.18.10.20] HEX: 676701000b01ee086520503689430000
2020-04-15 00:02:22  INFO: [9ca4dad7: 5064 > 172.18.10.20] HEX: 676701000801ee5e95faae0100
2020-04-15 00:02:22  INFO: [9ca4dad7: 5064 < 172.18.10.20] HEX: 676707000601ef0072035d
2020-04-15 00:02:22  INFO: [9ca4dad7: 5064 > 172.18.10.20] HEX: 676707000201ef
2020-04-15 00:02:35  INFO: [9e162d8d: 5064 < 172.18.10.23] HEX: 676701000b0443086520503689428400
2020-04-15 00:02:35  INFO: [9e162d8d: 5064 > 172.18.10.23] HEX: 676701000804435e95fabb0100
2020-04-15 00:02:35  INFO: [9e162d8d: 5064 < 172.18.10.23] HEX: 676707000604440072035d
2020-04-15 00:02:35  INFO: [9e162d8d: 5064 > 172.18.10.23] HEX: 67670700020444
2020-04-15 00:03:20  INFO: [9ca4dad7: 5064 < 172.18.10.20] HEX: 676707000601f00072035d
2020-04-15 00:03:20  INFO: [9ca4dad7: 5064 > 172.18.10.20] HEX: 676707000201f0
2020-04-15 00:03:33  INFO: [9e162d8d: 5064 < 172.18.10.23] HEX: 676707000604450072035d
2020-04-15 00:03:33  INFO: [9e162d8d: 5064 > 172.18.10.23] HEX: 67670700020445
2020-04-15 00:05:22  INFO: [0274e8cf: 5064 < 172.18.10.17] HEX: 676701000b01f1086520503689430000
2020-04-15 00:05:22  INFO: [0274e8cf: 5064 > 172.18.10.17] HEX: 676701000801f15e95fb620100
2020-04-15 00:05:22  INFO: [0274e8cf: 5064 < 172.18.10.17] HEX: 676707000601f20072035d
2020-04-15 00:05:22  INFO: [0274e8cf: 5064 > 172.18.10.17] HEX: 676707000201f2
2020-04-15 00:05:36  INFO: [82c8726f: 5064 < 172.18.10.20] HEX: 676701000b0446086520503689428400
2020-04-15 00:05:36  INFO: [82c8726f: 5064 > 172.18.10.20] HEX: 676701000804465e95fb700100
2020-04-15 00:05:36  INFO: [82c8726f: 5064 < 172.18.10.20] HEX: 676707000604470072035d
2020-04-15 00:05:36  INFO: [82c8726f: 5064 > 172.18.10.20] HEX: 67670700020447
2020-04-15 00:06:20  INFO: [0274e8cf: 5064 < 172.18.10.17] HEX: 676707000601f30072035d
2020-04-15 00:06:20  INFO: [0274e8cf: 5064 > 172.18.10.17] HEX: 676707000201f3
2020-04-15 00:06:33  INFO: [82c8726f: 5064 < 172.18.10.20] HEX: 676707000604480072035d
2020-04-15 00:06:33  INFO: [82c8726f: 5064 > 172.18.10.20] HEX: 67670700020448
2020-04-15 00:08:22  INFO: [e5735650: 5064 < 172.18.10.23] HEX: 676701000b01f4086520503689430000
2020-04-15 00:08:22  INFO: [e5735650: 5064 > 172.18.10.23] HEX: 676701000801f45e95fc160100
2020-04-15 00:08:22  INFO: [e5735650: 5064 < 172.18.10.23] HEX: 676707000601f50072035d
2020-04-15 00:08:22  INFO: [e5735650: 5064 > 172.18.10.23] HEX: 676707000201f5
2020-04-15 00:08:35  INFO: [13a812d4: 5064 < 172.18.10.17] HEX: 676701000b0449086520503689428400
2020-04-15 00:08:35  INFO: [13a812d4: 5064 > 172.18.10.17] HEX: 676701000804495e95fc230100
2020-04-15 00:08:35  INFO: [13a812d4: 5064 < 172.18.10.17] HEX: 6767070006044a0072035d
2020-04-15 00:08:35  INFO: [13a812d4: 5064 > 172.18.10.17] HEX: 6767070002044a
2020-04-15 00:09:20  INFO: [e5735650: 5064 < 172.18.10.23] HEX: 676707000601f60072035d
2020-04-15 00:09:20  INFO: [e5735650: 5064 > 172.18.10.23] HEX: 676707000201f6
2020-04-15 00:09:33  INFO: [13a812d4: 5064 < 172.18.10.17] HEX: 6767070006044b0072035d
2020-04-15 00:09:33  INFO: [13a812d4: 5064 > 172.18.10.17] HEX: 6767070002044b
2020-04-15 00:11:23  INFO: [3579a1ac: 5064 < 172.18.10.17] HEX: 676701000b01f7086520503689430000
2020-04-15 00:11:23  INFO: [3579a1ac: 5064 > 172.18.10.17] HEX: 676701000801f75e95fccb0100
2020-04-15 00:11:23  INFO: [3579a1ac: 5064 < 172.18.10.17] HEX: 676707000601f80072035d
2020-04-15 00:11:23  INFO: [3579a1ac: 5064 > 172.18.10.17] HEX: 676707000201f8
2020-04-15 00:11:35  INFO: [d25de279: 5064 < 172.18.10.21] HEX: 676701000b044c086520503689428400
2020-04-15 00:11:35  INFO: [d25de279: 5064 > 172.18.10.21] HEX: 6767010008044c5e95fcd70100
2020-04-15 00:11:36  INFO: [d25de279: 5064 < 172.18.10.21] HEX: 6767070006044d0072035d
2020-04-15 00:11:36  INFO: [d25de279: 5064 > 172.18.10.21] HEX: 6767070002044d
2020-04-15 00:12:20  INFO: [3579a1ac: 5064 < 172.18.10.17] HEX: 676707000601f90072035d
2020-04-15 00:12:20  INFO: [3579a1ac: 5064 > 172.18.10.17] HEX: 676707000201f9
2020-04-15 00:12:33  INFO: [d25de279: 5064 < 172.18.10.21] HEX: 6767070006044e0072035d
2020-04-15 00:12:33  INFO: [d25de279: 5064 > 172.18.10.21] HEX: 6767070002044e
2020-04-15 00:14:23  INFO: [986dcdd6: 5064 < 172.18.10.20] HEX: 676701000b01fa086520503689430000
2020-04-15 00:14:23  INFO: [986dcdd6: 5064 > 172.18.10.20] HEX: 676701000801fa5e95fd7f0100
2020-04-15 00:14:23  INFO: [986dcdd6: 5064 < 172.18.10.20] HEX: 676707000601fb0072035d
2020-04-15 00:14:23  INFO: [986dcdd6: 5064 > 172.18.10.20] HEX: 676707000201fb
2020-04-15 00:14:36  INFO: [5bdf2d93: 5064 < 172.18.10.20] HEX: 676701000b044f086520503689428400
2020-04-15 00:14:36  INFO: [5bdf2d93: 5064 > 172.18.10.20] HEX: 6767010008044f5e95fd8c0100
2020-04-15 00:14:36  INFO: [5bdf2d93: 5064 < 172.18.10.20] HEX: 676707000604500072035d
2020-04-15 00:14:36  INFO: [5bdf2d93: 5064 > 172.18.10.20] HEX: 67670700020450
2020-04-15 00:15:21  INFO: [986dcdd6: 5064 < 172.18.10.20] HEX: 676707000601fc0072035d
2020-04-15 00:15:21  INFO: [986dcdd6: 5064 > 172.18.10.20] HEX: 676707000201fc
2020-04-15 00:15:33  INFO: [5bdf2d93: 5064 < 172.18.10.20] HEX: 676707000604510072035d
2020-04-15 00:15:33  INFO: [5bdf2d93: 5064 > 172.18.10.20] HEX: 67670700020451
2020-04-15 00:17:24  INFO: [c7f30ed1: 5064 < 172.18.10.22] HEX: 676701000b01fd086520503689430000
2020-04-15 00:17:24  INFO: [c7f30ed1: 5064 > 172.18.10.22] HEX: 676701000801fd5e95fe340100
2020-04-15 00:17:24  INFO: [c7f30ed1: 5064 < 172.18.10.22] HEX: 676707000601fe0072035d
2020-04-15 00:17:24  INFO: [c7f30ed1: 5064 > 172.18.10.22] HEX: 676707000201fe
2020-04-15 00:17:36  INFO: [6ab8edfa: 5064 < 172.18.10.17] HEX: 676701000b0452086520503689428400
2020-04-15 00:17:36  INFO: [6ab8edfa: 5064 > 172.18.10.17] HEX: 676701000804525e95fe400100
2020-04-15 00:17:36  INFO: [6ab8edfa: 5064 < 172.18.10.17] HEX: 676707000604530072035d
2020-04-15 00:17:36  INFO: [6ab8edfa: 5064 > 172.18.10.17] HEX: 67670700020453
2020-04-15 00:18:22  INFO: [c7f30ed1: 5064 < 172.18.10.22] HEX: 676707000601ff0072035d
2020-04-15 00:18:22  INFO: [c7f30ed1: 5064 > 172.18.10.22] HEX: 676707000201ff
2020-04-15 00:18:34  INFO: [6ab8edfa: 5064 < 172.18.10.17] HEX: 676707000604540072035d
2020-04-15 00:18:34  INFO: [6ab8edfa: 5064 > 172.18.10.17] HEX: 67670700020454
2020-04-15 00:20:24  INFO: [d22d5143: 5064 < 172.18.10.17] HEX: 676701000b0200086520503689430000
2020-04-15 00:20:24  INFO: [d22d5143: 5064 > 172.18.10.17] HEX: 676701000802005e95fee80100
2020-04-15 00:20:25  INFO: [d22d5143: 5064 < 172.18.10.17] HEX: 676707000602010072035d
2020-04-15 00:20:25  INFO: [d22d5143: 5064 > 172.18.10.17] HEX: 67670700020201
2020-04-15 00:20:36  INFO: [25a7e926: 5064 < 172.18.10.21] HEX: 676701000b0455086520503689428400
2020-04-15 00:20:36  INFO: [25a7e926: 5064 > 172.18.10.21] HEX: 676701000804555e95fef40100
2020-04-15 00:20:36  INFO: [25a7e926: 5064 < 172.18.10.21] HEX: 676707000604560072035d
2020-04-15 00:20:36  INFO: [25a7e926: 5064 > 172.18.10.21] HEX: 67670700020456
2020-04-15 00:21:21  INFO: [d22d5143: 5064 < 172.18.10.17] HEX: 676707000602020072035d
2020-04-15 00:21:21  INFO: [d22d5143: 5064 > 172.18.10.17] HEX: 67670700020202
2020-04-15 00:21:34  INFO: [25a7e926: 5064 < 172.18.10.21] HEX: 676707000604570072035d
2020-04-15 00:21:34  INFO: [25a7e926: 5064 > 172.18.10.21] HEX: 67670700020457
2020-04-15 00:23:24  INFO: [6bd8cfaf: 5064 < 172.18.10.16] HEX: 676701000b0203086520503689430000
2020-04-15 00:23:24  INFO: [6bd8cfaf: 5064 > 172.18.10.16] HEX: 676701000802035e95ff9c0100
2020-04-15 00:23:24  INFO: [6bd8cfaf: 5064 < 172.18.10.16] HEX: 676707000602040072035d
2020-04-15 00:23:24  INFO: [6bd8cfaf: 5064 > 172.18.10.16] HEX: 67670700020204
2020-04-15 00:23:36  INFO: [7d1960cc: 5064 < 172.18.10.17] HEX: 676701000b0458086520503689428400
2020-04-15 00:23:36  INFO: [7d1960cc: 5064 > 172.18.10.17] HEX: 676701000804585e95ffa80100
2020-04-15 00:23:36  INFO: [7d1960cc: 5064 < 172.18.10.17] HEX: 676707000604590072035d
2020-04-15 00:23:36  INFO: [7d1960cc: 5064 > 172.18.10.17] HEX: 67670700020459
2020-04-15 00:24:22  INFO: [6bd8cfaf: 5064 < 172.18.10.16] HEX: 676707000602050072035d
2020-04-15 00:24:22  INFO: [6bd8cfaf: 5064 > 172.18.10.16] HEX: 67670700020205
2020-04-15 00:24:34  INFO: [7d1960cc: 5064 < 172.18.10.17] HEX: 6767070006045a0072035d
2020-04-15 00:24:34  INFO: [7d1960cc: 5064 > 172.18.10.17] HEX: 6767070002045a
2020-04-15 00:26:23  INFO: [93fe5d21: 5064 < 172.18.10.16] HEX: 676701000b0206086520503689430000
2020-04-15 00:26:23  INFO: [93fe5d21: 5064 > 172.18.10.16] HEX: 676701000802065e96004f0100
2020-04-15 00:26:24  INFO: [93fe5d21: 5064 < 172.18.10.16] HEX: 676707000602070072035d
2020-04-15 00:26:24  INFO: [93fe5d21: 5064 > 172.18.10.16] HEX: 67670700020207
2020-04-15 00:26:36  INFO: [895adfa1: 5064 < 172.18.10.18] HEX: 676701000b045b086520503689428400
2020-04-15 00:26:36  INFO: [895adfa1: 5064 > 172.18.10.18] HEX: 6767010008045b5e96005c0100
2020-04-15 00:26:37  INFO: [895adfa1: 5064 < 172.18.10.18] HEX: 6767070006045c0072035d
2020-04-15 00:26:37  INFO: [895adfa1: 5064 > 172.18.10.18] HEX: 6767070002045c
2020-04-15 00:27:22  INFO: [93fe5d21: 5064 < 172.18.10.16] HEX: 676707000602080072035d
2020-04-15 00:27:22  INFO: [93fe5d21: 5064 > 172.18.10.16] HEX: 67670700020208
2020-04-15 00:27:34  INFO: [895adfa1: 5064 < 172.18.10.18] HEX: 6767070006045d0072035d
2020-04-15 00:27:34  INFO: [895adfa1: 5064 > 172.18.10.18] HEX: 6767070002045d