   if (!client.connected()) {
     uint32_t now = millis();
     if (now - lastReconnectAttempt > MQTT_RECONNECT_DELAY) {
+      aSerial.l(Level::v).pln("Connecting to MQTT server...");
       lastReconnectAttempt = now;
       // Attempt to reconnect
       if (reconnect()) {

  }
}

int16_t get_pin_number(char first_digit, char second_digit) {
  char str[3] = "XX";
  str[0] = first_digit;
  str[1] = second_digit;

  }

  bool state = ( payload[0] == '1' );
  int16_t p_number = getPinNumber(first_digit, second_digit);
  changePinState(p_number, state);

}
