MaxSpeed ​​locking gt06 devices

thalyson araujo4 years ago

yes, whenever i change something i restart the system

today I had some more with the same lock

Slawek4 years ago

do you understand idea of this filter ?

show your default.xml

thalyson araujo4 years ago
<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <!--
    

    DO NOT MODIFY THIS FILE. Use traccar.xml instead.

    -->

    <entry key='web.enable'>true</entry>
    <entry key='web.port'>80</entry>
    <entry key='web.path'>./web</entry>
    <entry key='web.cacheControl'>max-age=3600,public</entry>


    <entry key='logger.enable'>true</entry>
    <entry key='logger.level'>info</entry>
    <entry key='logger.file'>./logs/tracker-server.log</entry>
    <entry key='logger.rotate'>true</entry>   
    

    <entry key='processing.computedAttributes.enable'>true</entry>
    <entry key='processing.engineHours.enable'>true</entry>

    <entry key='media.path'>./media</entry>

    <entry key='server.statistics'>https://www.traccar.org/analytics/</entry>

    <entry key='commands.queueing'>true</entry>

    <entry key='database.ignoreUnknown'>false</entry>
    <entry key='database.generateQueries'>true</entry>
    <entry key='database.changelog'>./schema/changelog-master.xml</entry>
 
    <entry key='database.loginUser'>
        SELECT * FROM tc_users
        WHERE email = :email OR login = :email
    </entry>

    <entry key='database.selectPositions'>
        SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime BETWEEN :from AND :to ORDER BY fixTime
    </entry>

    <entry key='database.selectLatestPositions'>
        SELECT tc_positions.* FROM tc_positions INNER JOIN tc_devices ON tc_positions.id = tc_devices.positionid;
    </entry>

    <entry key='database.updateLatestPosition'>
        UPDATE tc_devices SET positionId = :id WHERE id = :deviceId
    </entry>

    <entry key='database.selectEvents'>
        SELECT * FROM tc_events WHERE deviceId = :deviceId AND serverTime BETWEEN :from AND :to ORDER BY serverTime
    </entry>

    <entry key='database.deletePositions'>
        DELETE FROM tc_positions WHERE serverTime &lt; :serverTime AND id NOT IN (SELECT positionId FROM tc_devices WHERE positionId IS NOT NULL)
    </entry>

    <entry key='database.deleteEvents'>
        DELETE FROM tc_events WHERE serverTime &lt; :serverTime
    </entry>

    <entry key='database.selectStatistics'>
        SELECT * FROM tc_statistics WHERE captureTime BETWEEN :from AND :to ORDER BY captureTime
    </entry>
    <entry key='gps103.port'>5001</entry>
    <entry key='tk103.port'>5002</entry>
    <entry key='gl200.port'>5004</entry>
    <entry key='suntech.port'>5011</entry>
    <entry key='gt06.port'>5023</entry>
    <entry key='h02.port'>5013</entry>
    <entry key='eelink.port'>5064</entry>
    <entry key='calamp.port'>5082</entry>
thalyson araujo4 years ago

a device's log that is locked is only returning the same value and filtered

https://uupload.ir/files/50aa_capturar.png

Slawek4 years ago

where is maxSpeed filter

what is a name this file ?

Slawek4 years ago

read this, find maxSpeed

https://www.traccar.org/configuration-file/

why do you want use maxSpeed filter ? have you jumps ?

show your

traccar.xml

thalyson araujo4 years ago
<?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>

    <!--

    This is the main configuration file. All your configuration parameters should be placed in this file.

    Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
    with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
    remove "config.default" parameter from this file unless you know what you are doing.

    For list of available parameters see following page: https://www.traccar.org/configuration-file/

    -->

    <!-- MYSQL -->
    <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>xxxxxxxxx?serverTimezone=UTC&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>xxxxxx</entry>
    <entry key='database.password'>xxxxxx</entry>


    <!-- GEOCODER -->
    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>xxxxxxxxxxx</entry>
    <entry key='geocoder.format'>%r, %h, %u, %t, %p, %s, %c</entry>
    <entry key='geocoder.cacheSize'>20000</entry>
    <entry key='geocoder.processInvalidPositions'>true</entry>
     <!-- <entry key='geolocation.enable'>true</entry>
    <entry key='geolocation.type'>mozilla</entry>	
    -->
    
    <!-- Server Time-->
    <entry key='time.override'>serverTime</entry>
    
    <entry key='notificator.types'>web,firebase</entry>
    <!-- FIREBASE KEY -->
    <entry key='notificator.firebase.key'>xxxxxxxxxxxxxxxxxx</entry>

    <!-- TELEGRAM KEY -->
    <entry key='notificator.telegram.key'></entry>
    <entry key='notificator.telegram.chatId'></entry>
    
    <!-- EVENTOS -->
    <entry key='event.enable'>true</entry>
    <entry key='event.overspeed.notRepeat'>true</entry>
    <entry key='event.ignoreDuplicateAlerts'>true</entry>
    
    <!-- PROCESSOS -->
    <entry key='processing.remoteAddress.enable'>true</entry>
    <entry key='processing.copyAttributes.enable'>true</entry>
    <entry key='processing.copyAttributes'>power,ignition,battery</entry>

    
    <!-- Melhoria Mapa -->	
                
        <entry key='filter.enable'>true</entry>
        <entry key='filter.future'>900</entry>
        <entry key='filter.invalid'>true</entry>
        <entry key='filter.zero'>true</entry>
        <entry key='coordinates.maxError'>3000</entry>
        <entry key="event.overspeed.notRepeat">true</entry>
        <entry key='filter.maxSpeed'>400</entry>
        <entry key='filter.skipLimit'>30</entry>
        <entry key='distance.enable'>true</entry> 
        <entry key='filter.distance'>30</entry>
        <entry key='event.motion.speedThreshold'>1</entry>
        <entry key='filter.accuracy'>40</entry>
        <entry key='filter.skipAttributes'>alarm,armed,battery,charge,result</entry>
        
        
</properties>
Slawek4 years ago

try change

<entry key='filter.skipLimit'>1800</entry>

add

<entry key='coordinates.filter'>true</entry> 
<entry key='coordinates.minError'>60</entry>
thalyson araujo4 years ago

but it's not the question. the point is that just deleting MaxSpeed ​​it updates

I will record a video here on the screen making the steps for you to see

Slawek4 years ago

disable maxSpeed and show log only for this device

thalyson araujo4 years ago

this is log.

https://uupload.ir/files/wteb_asddsadsa.png

this is video

https://drive.google.com/file/d/1taQ-VkbbHzVxfQLLJZYyEPiE6XllBEky/view?usp=sharing

in the video the car has been locked since yesterday, it’s a gt06.

remove the maxspeed and restart traccar it connects, takes a few seconds and updates

Slawek4 years ago

I have many devices using gt06 protocol and 0 problems

try test this config

    <entry key='distance.enable'>true</entry>

    <entry key='filter.enable'>true</entry>
    <entry key='filter.distance'>45</entry>
    <entry key='filter.maxSpeed'>500</entry>
    <entry key='filter.invalid'>true</entry>
    <entry key='filter.accuracy'>70</entry>
    <entry key='filter.duplicate'>true</entry>
    <entry key='filter.skipLimit'>1800</entry>
    <entry key='filter.future'>600</entry>
    <entry key='filter.zero'>true</entry>

    <entry key='coordinates.filter'>true</entry> 
    <entry key='coordinates.minError'>60</entry>
    <entry key='event.motion.speedThreshold'>1.11</entry>

your upload log file is for nothing
your upload at google drive is locked

thalyson araujo4 years ago
Slawek4 years ago

try my config this is my advise

thalyson araujo4 years ago

okok.

thanks