Reworked weatherstation script for capemanager.