Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Thingsboard integration and timestamps #763

@mjau-scot

Description

@mjau-scot

Hi,

The Thingsboard integration prefixes all telemetry data with "data_" which means it's impossible to pass an item with the key "ts" to enable Thingsboard to use device generated timestamps for time series data, it results in the server timestamp being used. The timestamp comes through to Thingsboard as "data_ts", which prevents it being used as a timestamp.

I have a number of devices that transmit data that wasn't necessarily recorded at the time of transmission, there's a store and forward system to take account of interruptions in connectivity, so it's essential that I can pass the device generated timestamp to Thingsboard to ensure the data is correctly recorded in the time series.

Would it be possible to remove the "data_" prefix from the Thingsboard integration to allow the timstamp to be correctly passed via the integration as "ts" rather than "data_ts"?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions