Radek
Radek
the difference between closed and open must be according to the 3.3V logic. high ≥ 2.0V low ≤ 0.8V
connected V = 5V G= GND S= Signal pin
The voltage between G and S must be in the range high ≥ 2.0 low ≤ 0.8 depending on whether it is closed or open. Is the LED on and...

Then you have a problem with the sensor
Don't buy a new sensor. Buy 3DTouch. It's super
https://www.banggood.com/Auto-Bed-Leveling-Sensor-V3_0-3D-Leveling-Touch-For-Reprap-3D-Printer-Part-Mainboard-Heated-Bed-p-1569989.html?rmmds=myorder&cur_warehouse=CN I bought this and it works great. I wouldn't want a printer without leveling. Configuration is not complicated.
The malfunctioning fan, remap the fan pin and use the external MOFSET module https://www.aliexpress.com/item/32816837677.html?spm=a2g0s.9042311.0.0.27424c4dutw2hB
Pins 1.25, 1.26 and 1.0 cannot supply the fan directly, so a module with Mofset is needed. If it is a fan on the heatsink, or a fan for the...
FAN0 (pin2.3) is predefined for fiber cooling and is switched by g-code from the printed file. That's probably why it doesn't sleep at 50 ° C Use pin 1.25 to...