You can try duplicate filtering.
You mean filter.duplicate? I already set it to true before, but still forwarding the heartbeat data.
Here's my config file:
<?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/
-->
<entry key='filter.enable'>false</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.future'>600</entry>
<entry key='filter.maxSpeed'>100</entry>
<entry key='filter.skipAttributes'>alarm,temp1,adc1</entry>
<entry key='filter.relative'>false</entry>
<entry key='coordinates.filter'>false</entry>
<entry key='distance.enable'>false</entry>
<entry key='event.enable'>false</entry>
<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>sat,rssi,battery,batteryLevel,ignition,charge,motion,blocked,temp1,adc1</entry>
<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>...</entry>
<entry key='database.user'>...</entry>
<entry key='database.password'>...</entry>
<entry key='database.ignoreUnknown'>true</entry>
<entry key='database.registerUnknown'>true</entry>
<entry key='database.saveOriginal'>true</entry>
<entry key='database.saveEmpty'>true</entry>
<entry key='forward.enable'>true</entry>
<entry key='forward.url'>...</entry>
<entry key='forward.json'>true</entry>
<entry key='forward.type'>json</entry>
<entry key='forward.retry.enable'>true</entry>
<entry key='forward.retry.delay'>100</entry>
<entry key='forward.retry.count'>10</entry>
<entry key='forward.retry.limit'>100</entry>
<entry key='event.forward.enable'>true</entry>
<entry key='processing.computedAttributes.enable'>false</entry>
<entry key='processing.computedAttributes.deviceAttributes'>false</entry>
<entry key='processing.engineHours.enable'>false</entry>
</properties>
Have you tried without filter.skipAttributes
?
Hello,
How to ignore heartbeat data? I mean i dont want to forward hearbeat data to my backend.
Thankyou.