Player code (IoT smart farming app)