Voltage Queclink gv55w does not show value 0

Hello, I have a question about the voltage to which a device is connected.
I cannot see in the attributes the value voltaje 0 that the device sends
I have looked at the logs file and attached the sample

this is the last voltage value before the device was disconnected from its power source

+RESP:GTFRI,500101,868574040393733,,13449,10,1,1,0.0,149,26.2,-71.596556,-33.524839,20230324125855,0730,0001,772A,52BD7B3,00,0.0,,,,100,210100,,,,20230324125907,B8F6$

traccar shows the following
voltage image

but when disconnecting the device the voltage is still the last one registered and the device reports that the voltage is 0
voltage image powerCut

log record decode Hec

+RESP:GTFRI,500101,868574040393733,,0,10,1,1,0.0,149,24.1,-71.596563,-33.524830,20230324125927,0730,0001,772A,52BD7B3,00,0.0,,,,100,110000,,,,20230324125932,B8FB$
2023-03-24 09:59:29  INFO: [Tf5f1c35f: gl200 < 186.11.28.31] 2b524553503a47544652492c3530303130312c3836383537343034303339333733332c2c302c31302c312c312c302e302c3134392c32342e312c2d37312e3539363536332c2d33332e3532343833302c32303233303332343132353932372c303733302c303030312c373732412c353242443742332c30302c302e302c2c2c2c3130302c3131303030302c2c2c2c32303233303332343132353933322c4238464224

In my configuration I have a copy of calculated attributes and power assignment

<entry key='processing.copyAttributes'>power,ignition,battery,output,input,din1,powerOn,powerOff,battery,out1,blocked,batteryLevel</entry>
Anton Tananaev2 years ago

Are you saying something is not decoded correctly? If yes, please provide a sample with expected and actual values.

I think something is not being decoded
the actual and expected value when the device is disconnected is zero
but traccar does not show it at zero, it reports the voltage before being disconnected from the power source

The following sample indicates the value of zero when decoded, it indicates it after the imei,,0

2023-03-24 09:59:29  INFO: [Tf5f1c35f: gl200 < 186.11.28.31] 2b524553503a47544652492c3530303130312c3836383537343034303339333733332c2c302c31302c312c312c302e302c3134392c32342e312c2d37312e3539363536332c2d33332e3532343833302c32303233303332343132353932372c303733302c303030312c373732412c353242443742332c30302c302e302c2c2c2c3130302c3131303030302c2c2c2c32303233303332343132353933322c4238464224

traccar shows the following
this indicates traccar

graphic reports
image

Anton Tananaev2 years ago

Please provide the protocol documentation link.

Anton Tananaev2 years ago

I checked the code and we don't decode anything lower than 10 as the voltage value:

https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java#L878

That's because some devices report different information in this field.

thank you very much anton

this has worked and the expected voltage arrives

if (power != null && power >= 0) {

is working