Simple script for reading UWB tags, filtering, and uploding to oocsi (homeassistant included). Written for a Arduino nano connect 2040
oneEuroFilter library made to be as simple as possible.
oneEuroFilter euro = oneEuroFilter(0,0.0,1.0,0.0,1.0);
int x = euro.filter(time, x);