Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Incoming Telemetry from latitude & longitude #976

Open
1 task
fakih1993 opened this issue Feb 16, 2023 · 0 comments
Open
1 task

Filter Incoming Telemetry from latitude & longitude #976

fakih1993 opened this issue Feb 16, 2023 · 0 comments

Comments

@fakih1993
Copy link

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/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant