An arduino-based remote thermostat for controlling a power outlet