The console doesn't connect with any wireless controller

I can only play with my joycon’s attached to the console or with a wired controller, when I detached the joycons, it simply doesn’t sync

I realized that the joycons are only recognized if I’m next to the console, it doesn’t sync if I’m farther.

I’ve tried a lot of things, I updated my console and the joycons, I desynchronized them and turned off the console and the problem is still there

I noticed that the problem is my console because I tried using other joycons and it didn’t work. My joycons worked in another console perfectly

Is there a way to solve the problem? :c

I wuld like to know if I can fix it by changing a piece or cleaning something