Bigtree Tech Smart Filament Sensor V2 mount for Neptune 4 Max. Couldn't find one so I made this up for my printer and sharing it here. Not sure how it fit's yet but should fit well for this sensor as it has to be close to the extruder to work properly.
I do have it hooked up now and it does function however the bottom Bowden fitting probably can't be used. Below is what I used in the klipper printer.cfg file and it seems to work well but use at your own risk and make sure to download your original file in case something doesn't work you can at least put it back the way it was. I'm not responsible for any damages to your printer. The pin names are PA12 for DET1 and PC1 for DET0. The stock filament sensor plugs into DET1 and DET0 is right above it in the attached picture. You will have to test the voltage of the pins to ensure the voltages as I don't remember the voltages except ground which is the middle pin on both locations. Red goes to 5 volts on DET1 and blue goes to 3.3 volts on DET1. Black goes to ground on DET0 and green goes to 3.3 volts on DET0.
[filament_switch_sensor fila]
pause_on_runout: True
runout_gcode:
SET_FILAMENT_SENSOR SENSOR=fila ENABLE=1
M117 Filament Switch Runout
insert_gcode:
M117 Filament Switch Inserted
event_delay: 3.0
pause_delay: 1.0
switch_pin: ^PA12
[filament_motion_sensor encoder_sensor]
switch_pin: ^PC1
detection_length: 3.88
extruder: extruder
pause_on_runout: True
runout_gcode:
M117 Filament Encoder Runout
insert_gcode:
M117 Filament Encoder Inserted
The author marked this model as their own original creation.