macOS 10.14: switch Bluetooth on/off based on location
This is just one of the many things that you can do with Keyboard Maestro which is $36 but which enables you to do at least 1,000 different things with your Mac. You can have triggers for sleep/wake, or when you are on a certain Wi-Fi network, or at specific times of day, etc.

Those triggers can then run AppleScript events, or execute keyboard commands, or mouse commands, or shell scripts, or a large suite of actions built-in to Keyboard Maestro.

You can download it here for free and try it for ~30 days.

The developer is very responsive to emails, as well as hosting an active discussion forum where the developer is active, but so are many Keyboard Maestro users (including me).