Skip to content

Filter Incoming Telemetry from latitude & longitude #976

@fakih1993

Description

@fakih1993

This is a...

  • Feature Request

Problem:
I want to filter if latitude & longitude = 0 not display in dashboard, other telemetry (sensor,kmph,temperature) save.
image
what should i code in script rule chain for that function ?
I try this code but not work

if (msg.latitude < 0 && msg.longitude > 0 && msg.temperature > -30 && msg.humidity > 0) {
return true;
} else {
return false;
}

Proposed Solution:

Page to Update:
http://thingsboard.io/...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions