Skip to content

Occasional Nonsense Data Received - Would you add range-check & reject (Vevor 7in1) #3428

@tyglik

Description

@tyglik

Hi guys! First of all, thank you for this great work!
I have a Vevor 7in1 and I can read its data these last few days thanks to your addon, it's awesome.

However I noticed, that occasionally (2-3times in no more than a week) the data I receive is utter nonsense... Luminance >200kLux, Humidity 188%, Temperature 61.2 degrees Celsius, wind direction in thousands of degrees, wind speeds in the huricane range...

I think it is the occasional packet that is incorrect throughout...

Can you add an option to enable simple min max check condition on a few stats, like Humidity (can not be more than 100%, right) and/or Luminance, that if outside the bounds, the whole packet would get rejected?

If there is a way to implement some better filtering, that would be even better, as in reject out-of-distribution spike-like data, but for starters a simple "min<state.xyz<max" type of config/rule for a couple of (say three) stats may be sufficient...

Thanks again, I'm happy to provide any more info if you need.
Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions