Add different periodics commands for serial and tcp inputs