hub-avr, controller: handle relay controls