If you decode your command result, it seems to have some value:
The decoder say Binary Hex can't be converted to Text
I did that before
Try some other decoder. Part of it seems to be binary, but also there's a number that looks like temperature.
Yes it seems temp
I collect now second reading with little difference as the temperature down
32372e33a1e60d0a
32352e34a1e60d0a
Lets say if i extracted the temperature from above string which I receive every 10 seconds from the x3 tracker as command result, i think about if i could create newInstanceCreation or local variable or anything valid to tell traccar this is not command result and replace it with readable attribute!
I believe you can use computed attributes for that.
Specifically to convert it into a readable value.
But how to stop traccar from repeating command result notification
Good question. You can remove it using computed attributes, but the problem is that attributes cannot be ordered.
I believe that you know to solution
Yes, the proper solution is to change the source code to decode it.
Maybe in next version
Maybe if someone someone sends a feature request and provide all the relevant documentation.
Hello Again
here is raw data 7979000d9b033c0301014a750d00fbc61d0d0a
the temperature is hex 014a which is 330 / 10 = 33.0 degrees
created computed attribute (raw.substring(18,22)) gives 014a
tried Integer.parseInt to convert hex to decimal doesn't work in computed attributes
you may advice with the function could work
Hello
i have Concox X3 tracker, i tested Concox analog capacitive fuel sensor & Concox ultrasonic fuel sensor (RS232)successfully
Concox use adc1 for analog capacitive fuel sensor, i have to send command ADT,ON
also use temp1 & fuel for ultrasonic sensor which report both fuel level & sensor temperature. i have to send command AIOIL,ON
all above is ok no problem
the problem came with Concox Temperature sensor which i have to send command IDCAR,ON# then send command WSTC,ON,X# (X=1-3)To activate/block data transmission of communication interface
X=1 for reserved for common peripherals Baud rate is 115200
X=2 specific for RFID reader, Baud rate is 9600
X=3 specific for temperature sensor, Baud rate=9600
after sending the last command i receiving repeated command result "32352e34a1e60d0a" and no temperature reading from device
the X3 send
7979000e9b0332352e35a1e60d0a00cfffd40d0a
in the logany idea?
here is fuel sensor sample as Concox