The relay is directly controlled by the DTR line on the serial port. Lots of espresso machine PID conversions use them to run boilers, so he could have avoided the extra mechanical relay.