Here's the stuff we found when you searched for "proximity switch"

If you Log in you could create a "proximity switch" node. If you don't already have an account, you can register here.