Added SMS temperature alerts and fixes to bridge detection