RPI client almost complete