• How are you powering the Espruino WiFi? Please could you run E.getAnalogVRef() and check what value it returns?

    It's possible that there's some issue with the voltage on the device which is causing the Wifi module not to boot?

    It also seems that maybe there's some other code in there that you're uploading (eg you're calling getWeather). Please could you try:

    • Run require("Storage").eraseAll() on the left hand side of the IDE
    • Upload this most basic code from https://www.espruino.com/WiFi#connecting­-to-an-ap and see if you still have the issue:

      var WIFI_NAME = "";
      var WIFI_OPTIONS = { password : "" };
      
      var wifi = require("Wifi");
      wifi.connect(WIFI_NAME, WIFI_OPTIONS, function(err) {
      if (err) {
      console.log("Connection error: "+err);
      return;
      }
      console.log("Connected!");
      getPage();
      });
      
      function getPage() {
      require("http").get("http://www.pur3.co.­uk/hello.txt", function(res) {
      console.log("Response: ",res);
      res.on('data', function(d) {
        console.log("--->"+d);
      });
      });
      }
      
About

Avatar for Gordon @Gordon started