Hi All,
We have been searching the forum to try and solve our problem, however, we can't get Traccar to display the AccStart or AccStop ignition events from our XT009 device.
As these are one-off events, we have followed the instructions to enable processing.copyAttributes and also processing.copyAttributes.enable on our traccar.xml configuration file as shown below:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key="config.default">./conf/default.xml</entry>
<entry key='database.driver'>org.h2.Driver</entry>
<entry key='database.url'>jdbc:h2:./data/database</entry>
<entry key='database.user'>sa</entry>
<entry key='database.password'></entry>
<entry key='processing.copyAttributes.enable'></entry>
<entry key='processing.copyAttributes'>power,ignition,battery</entry>
</properties>
We have ensured that the protocol is confirmed as Xexun and assume that the correct port is being used as it shows a Xexun protocol in Traccar Server under device - state - attribute.
In addition, we can confirm that the event is being sent and received correctly by the device and Traccar server - see the decoded messages below:
ACCStart (decoded HEX) event is shown as:
171007160505,,GPRMC,160505.000,A,5323.4680,N,00252.4202,W,000.0,129.7,071017,,,A*7A,F,ACCStart, imei:864504031916915,10,41.1,F:4.28V,1,135,19824,234,15,0062,B7D5
ACCStop (decoded HEX) is shown as:
171007160525,,GPRMC,160525.000,A,5323.4680,N,00252.4202,W,000.0,129.7,071017,,,A*78,F,ACCStop, imei:864504031916915,10,41.1,F:4.28V,1,134,42896,234,15,0062,B7D5
Could anyone please point us in the right direction of enabling the recognition of the ACCStart and ACCStop events please?
Many thanks in advance.
Hi All,
We have been searching the forum to try and solve our problem, however, we can't get Traccar to display the AccStart or AccStop ignition events from our XT009 device.
As these are one-off events, we have followed the instructions to enable processing.copyAttributes and also processing.copyAttributes.enable on our traccar.xml configuration file as shown below:
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'> <properties> <!-- This is the main configuration file. All your configuration parameters should be p$ Default configuration parameters are located in the "default.xml" file. You should$ with upgrading to a new version. Parameters in the main config file override value$ remove "config.default" parameter from this file unless you know what you are doin$ For list of available parameters see following page: https://www.traccar.org/confi$ --> <entry key="config.default">./conf/default.xml</entry> <entry key='database.driver'>org.h2.Driver</entry> <entry key='database.url'>jdbc:h2:./data/database</entry> <entry key='database.user'>sa</entry> <entry key='database.password'></entry> <entry key='processing.copyAttributes.enable'></entry> <entry key='processing.copyAttributes'>power,ignition,battery</entry> </properties>
We have ensured that the protocol is confirmed as Xexun and assume that the correct port is being used as it shows a Xexun protocol in Traccar Server under device - state - attribute.
In addition, we can confirm that the event is being sent and received correctly by the device and Traccar server - see the decoded messages below:
ACCStart (decoded HEX) event is shown as:
ACCStop (decoded HEX) is shown as:
Could anyone please point us in the right direction of enabling the recognition of the ACCStart and ACCStop events please?
Many thanks in advance.