transferring data

Adrien3 years ago

hi,
I would like to configure the Traccar server to transfer data from tags that are not registered in the database.
how to transfer data from unknown tags ?
Here is my current configuration:

<entry key='database.ignoreUnknown'>false</entry>
<entry key='database.registerUnknown'>true</entry>
<entry key='database.registerUnknown.defaultGroupId'>true</entry>
Anton Tananaev3 years ago

Why is group id a boolean value?

Adrien3 years ago

hi,
thanks. we set the group id to 0 and the automatic registration worked. Here is part of our configuration :

<entry key='database.ignoreUnknown'>false</entry>
<entry key='database.registerUnknown'>true</entry>
<entry key='database.registerUnknown.defaultGroupId'>0</entry>

<!-- begin forward  -->
    <entry key='forward.enable'>true</entry>
    <entry key='forward.json'>true</entry>
    <entry key='forward.retry.enable'>true</entry>
    <entry key='forward.retry.delay'>120000</entry>
    <entry key='forward.retry.count'>100</entry>
    <entry key='forward.retry.limit'>1000</entry>
    <entry key='forward.url'>http://localhost/xxx/server/http/xxx.php</entry>
    <entry key='forward.urlRealTime'>http://localhost/xxx/server/http/xxx.php</entry>
    <!-- end forward  -->
  ->

thanks

Anton Tananaev3 years ago

You don't need to add that parameter. It will be zero by default.