I got a similar problem, the sensor works fine, the light goes on/off, and even changing the firmware detects open or close sensor, but when I try to use it, It doesn't detect itby Coricoco - Controllers
It works for me also. Thanks ^^by Coricoco - Firmware - Marlin