Sinocastel IDD-213GD not continuous reported ignition status

Theerayuttu3 years ago

Hi,
Has anyone ever used Sinocastel IDD-213GD and found that the ignition status is not continuous reported. sometimes sent but sometime not. making it impossible to calculate the hours value.
anyone have any suggestions for solutions or not?

ignition reported

{
  "sat": 15,
  "odometer": 1511171,
  "tripOdometer": 449578,
  "fuelConsumption": 446,
  "ignition": true,
  "status": 262660,
  "distance": 0,
  "totalDistance": 100283.58,
  "motion": false,
  "hours": 360000
}
deviceTime: "2023-05-14T02:55:54.567+00:00"

Next time not reported

{
  "sat": 15,
  "odometer": 1511171,
  "tripOdometer": 450963,
  "fuelConsumption": 446,
  "status": 262660,
  "distance": 1.11,
  "totalDistance": 100284.69,
  "motion": false,
  "hours": 360000
}
deviceTime: 2023-05-14T02:56:19.000+00:00
Anton Tananaev3 years ago

You can use attribute copying to take the last known value.

Theerayuttu3 years ago

Hi Anton,
Can you example for expression to get last value?

Anton Tananaev3 years ago

It's not an expression. It's a configuration parameter.

Theerayuttu3 years ago

Do you mean config parameter in configuration file on server?

Anton Tananaev3 years ago

Yes. Check the documentation.

Theerayuttu3 years ago

Thank you.

Theerayuttu3 years ago

Found this one, I'll try it out, thanks again.

processing.copyAttributes.enable config

Enable copying of missing attributes from last position to the current one. Might be useful if device doesn't send some values in every message.