added script to read thermostat values