GT06 false "powerCut" alarm

aditya.achmad3 months ago

Hello,
My traccar server detects a "powerCut" alarm, but actually nothing is happening. Why could this be happening?

The device model is Wanway EV02.

Raw data:

78780a1345f10302010181856d0d0a

Thank you

aditya.achmad3 months ago

According to this protocol document, page 21, point 5.4.1.4, it should be "normal".

7878 = start bits
0a = packet length
13 = protocol number
45 = terminal information content
f1 = voltage level
03 = gsm signal strength
0201 = language/extension bit status
0181 = serial number
856d = error check
0d0a = stop bits

0x45 = 01000101
0 = oil and electricity on
1 = gps positionied
000 = normal
1 = powering and charging
0 = acc low
1 = defense on

Am I correct?

Anton Tananaev3 months ago

It gets it from "language/extension bit status".

aditya.achmad3 months ago

So I need to make an adjustment to Gt06ProtocolDecoder? Can you please suggest about what kind of adjustment I should make?
Thank you

Anton Tananaev3 months ago

What do you mean? What adjustments?

aditya.achmad3 months ago

So that the raw data above isn't interpreted as powercut alarm, since no actual alarm has occured.

Anton Tananaev3 months ago

You need to find the correct protocol documentation first.

aditya.achmad3 months ago

Actually we can use this doc. And my second post above is how it should be decoded based on that doc.

Anton Tananaev3 months ago

Isn't it the same doc? Based on that doc, your device is sending the alarm.

aditya.achmad3 months ago

I just confirm it to Wanway, and they say the raw data above is just a heartbeat packet, and contain no alarm.

Anton Tananaev3 months ago

Then why the alarm extension is set? It should be zero.

aditya.achmad3 months ago

No, alarm extension is not set. It's just "language/extension bit status", not "alarm/language/extension bit status".

"alarm/language/extension bit status" will only appear in Alarm Packet (page 15, point 5.3.1), identified with protocol number 0x26

Whereas in my raw data above, the protocol number is 0x13, not 0x26.

Am I missing something?

Anton Tananaev3 months ago

I see this under the heartbeat (0x13) documentation:

Screenshot 2024-09-09 at 6.23.21 AM.png

To me it seems like an indication that it's an alarm extension. And to have no alarm, it should be zero. In your case it's not.

aditya.achmad3 months ago

Screenshot 2024-09-10 at 06.00.59.png
The hex for language/extension bit status is 0201, the 2nd byte is 0x01 and it means no alarm in chinese. (the 1st byte is for voltage calculation, right?)

Screenshot 2024-09-10 at 06.06.04.png
On that doc, the example is 7E02. And the 2nd byte is 0x02 which means no alarm in english.

Anton Tananaev3 months ago

Where did you find anything about voltage? The first byte is alarm and the second byte is the language. First byte 0x00 means on alarm and the second byte means language.