Creality has opened up their 3EV3SE ‘open source’ Marlin config, and clever user peeps have enabled the filament sensor, plus all the hotend and other skibidi - including OctoPrint:
Note: I started the thread, but people like TechieZebra
and Iroh3d have taken it to the next level (while I have started a new learning curve with the Nebula Smart Kit & Klipper).
Read, Learn, Tinker, Enjoy!
I hope this helps.
Mikey