We are getting igniton value in heartbeat packets and we want to copy it in location packets so we have using copyAttributes.Below is our settings but it is not working
<entry key = 'processing.copyAttributes.enable'> true </entry>
<entry key = 'processing.copyAttributes'> charge,power,battery,hours,ignition</entry>
please help me if anybody also got the same type of issue and how did you resolve it.
I am attaching logs also...
2023-01-23 06:05:29 INFO: [T6c9fadfe] id: 867232053xxxxx, speed : 9.179269, time: 2023-01-23 06:05:25, lat: 28.50472, lon: 77.27816, speed: 9.2, course: 300.0
2023-01-23 06:05:30 INFO: [T6c9fadfe: gt06 < 223.180.224.130] 78780a13460e02000200c156a30d0a
2023-01-23 06:05:30 INFO: [T6c9fadfe: gt06 > 223.180.224.130] 7878051300c12ffd0d0a
2023-01-23 06:05:30 INFO: [T6c9fadfe] id: 867232053xxxxx, speed : 9.179269, time: 2023-01-23 06:05:25, lat: 28.50472, lon: 77.27816, speed: 9.2, course: 300.0, ignition: true
2023-01-23 06:05:31 INFO: [T9509c2a2: gt06 < 223.180.224.119] 78781f1217011706051ec602b6a14808e6be20001490019536026d00f5c605688e810d0a
2023-01-23 06:05:31 INFO: [T9509c2a2: gt06 > 223.180.224.119] 78780512056833520d0a
Hello, do you need the current value? if so, the device reports it as "adc"
Hi @Guarave,
we want to copy it in location packets so we have using copyAttributes
Please note that copyAttributes is intended to copy the attributes from last position data if that specific attribute is missing in new reported position, it doesn't mean that it will grab any data from heartbeat token.
ok thanks for the clarification.
so in case of GT06 ignition comes only in heartbeat for some concox copy devices.Any suggestion how do we handle such cases.
If it is not supported by default, then you may need to modify the source code (decoder for heartbeat).
ok thanks.pls share some code sample if anybody has done such source code change as i am not a much into coding .it will be a help.
We are getting igniton value in heartbeat packets and we want to copy it in location packets so we have using copyAttributes.Below is our settings but it is not working
<entry key = 'processing.copyAttributes.enable'> true </entry> <entry key = 'processing.copyAttributes'> charge,power,battery,hours,ignition</entry>please help me if anybody also got the same type of issue and how did you resolve it.
I am attaching logs also...