Hello everyone. I am directing this post to people who have installed automatic light switching in the bathroom. What solutions do you recommend from your experience. On alledrogo you can find presence sensors at quite a high price for me. There are also motion and "presence" sensors as described by the sellers for a few pennies. You can also make an optical barrier in the door frame and write a program which will count people entering the bathroom. The solution is a little more complicated but feasible. I have no experience with motion sensors and that is why I am asking what solutions you have at home. It may turn out, however, that motion sensor(s) installed in appropriate places in the bathroom can eliminate the problem of sudden lack of light while being in the bathroom and sitting on the toilet