You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Oyster and Yabby codecs may return position values while these may be outdated.
Since The Things Stack Application Server from 3.13.3 is automatically publishing location solved events if the decoded payload contains coordinates, this may lead to unwanted side effects.
What do you want to see instead?
I don't want to see these position values in the fields that are used for valid values. Instead, I would put them under cached, and return a warning.
@johanstokking as I understand in cached field only will be latitude and longitude, others in this case (Oyster) batV, speed..., will be outside this label right?
Summary
Remove GPS coordinates when there is no fix.
cc @jamesl-dm
What do you see now?
The Oyster and Yabby codecs may return position values while these may be outdated.
Since The Things Stack Application Server from 3.13.3 is automatically publishing location solved events if the decoded payload contains coordinates, this may lead to unwanted side effects.
What do you want to see instead?
I don't want to see these position values in the fields that are used for valid values. Instead, I would put them under
cached
, and return a warning.How do you propose to implement this?
Current codec:
lorawan-devices/vendor/digital-matter/oyster.js
Lines 11 to 24 in 9350955
Suggested change is to first check whether the fix failed. If that is the case, set the position values in a
cached
field and return a warning.So the result would be:
Can you do this yourself and submit a Pull Request?
Can review
The text was updated successfully, but these errors were encountered: