Working IP address reading from Raspberry Pis