This is an old revision of the document!
https://www.reddit.com/r/Ender3S1/comments/zlqzjj/octoprint_and_filament_sensor/
https://github.com/mriscoc/Ender3V2S1/wiki