How can I timeout my hotspot?
Apps are incapable of switching moblie networks on/off as this uses up minutes. To bypass this you require a root. However I believe apps can detect if wifi is in range. So when you get near wifi you can have an app notify you. Although I don't think there is a specific app that will check if wifi is in range. I recommended requesting an app like this somewhere.