Python Thermostat Server for use with Spark Core