dann würde ich jetzt bei Punkt 2 weitermachen - oder gleich die alte Arduino Version wieder herstellen.

Zitat Zitat von HaWe Beitrag anzeigen
hallo,
ich würde empfehlen,
1. auf den neuesten ESP8266 core upzudaten (nodeMCU 1.0), edit: aktuell ist ver 2.6.2
2. wenn es dann immer noch nicht funktioniert: ein einfaches anderes Programm auf 1.8.10 zu verwenden (vorzugsweise aus den Original-Beispielen aus https://github.com/esp8266/Arduino/t...ster/libraries
3. und wenn es damit immer noch nicht läuft, ein sehr einfaches Minimal-Programm einmal hier https://github.com/esp8266/Arduino/issues zu posten, welches mit 1.8.9 läuft und mit 1.8.10 nicht mehr.
4. Solange es immer noch nicht klappt: arbeite doch mit 1.8.9 weiter, was spricht so unbedingt für 1.8.10 ?
- - - Aktualisiert - - -

PS,
probiere z.B. mal diesen Testcode aus:
(läuft bei mit mit IDE 1.8.9 und nodeMCU cores 2.5.2 und 2.6.2)

Code:
/*
 *  Simple HTTP get webclient test
 */

#include <ESP8266WiFi.h>

const char* ssid     = "WLAN";
const char* password = "4657";

const char* host = "wifitest.adafruit.com";

void setup() {
  Serial.begin(115200);
  delay(100);

  // We start by connecting to a WiFi network

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);
  
  WiFi.begin(ssid, password);
  
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }

  Serial.println("");
  Serial.println("WiFi connected");  
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
}

int value = 0;

void loop() {
  delay(5000);
  ++value;

  Serial.print("connecting to ");
  Serial.println(host);
  
  // Use WiFiClient class to create TCP connections
  WiFiClient client;
  const int httpPort = 80;
  if (!client.connect(host, httpPort)) {
    Serial.println("connection failed");
    return;
  }
  
  // We now create a URI for the request
  String url = "/testwifi/index.html";
  Serial.print("Requesting URL: ");
  Serial.println(url);
  
  // This will send the request to the server
  client.print(String("GET ") + url + " HTTP/1.1\r\n" +
               "Host: " + host + "\r\n" + 
               "Connection: close\r\n\r\n");
  delay(500);
  
  // Read all the lines of the reply from server and print them to Serial
  while(client.available()){
    String line = client.readStringUntil('\r');
    Serial.print(line);
  }
  
  Serial.println();
  Serial.println("closing connection");
}