Controlling Automower

client.print("Stop");

gets

client.print(F("Stop"));

and

String command = client.readStringUntil('/');

maybe written as

#define BUFFERSIZE 40
uint8_t buffer[BUFFERSIZE];
uint8_t i = 0;
while (i < BUFFERSIZE) {
  if (client.available()) {
    uint8_t c = client.read();
    if (c == '/') break;
    buffer[i++] = c;
  }
}

you can then use strncmp() to compare the string to a fixed String and there is also a strncmp_P() version to hold the compare string in flash only and save some RAM. This code misses a timeout handling and other error handling (what if buffer overflows?).