-didn't realized setup page was using "200" instead of range value sent with sensor, updated and works (rangeInMM, converted to pixels using new variable pixelsPerMeter)