• I was running some code on the Espruino Wifi without any issues, but suddenly after reconnecting my Espruino to the WebIDE I get this error.

    I tried resetting and flashing my Espruino, removing all local code, clearing the cache, uploading something else but nothing changes. It's like the Wifi module is in some kind of locked state.
    I have no idea how to fix it. I hope anyone else could help me?

    This is the code I use to connect to my Wifi

    const WIFI_NAME = "******";
    const WIFI_OPTIONS = { password : "*******" };
    function onConnected(err) {
        if (err) {
            console.log(err); // This returns the No 'ready' after AT+RST
            setTimeout(connect, 5000);
        } else {
            wifi.getIP(function(e,ip) {
                connected = true;
                setInterval(getWeather, 1800000); // once every 30 minutes
    function connect() {
        wifi = require("Wifi");
        wifi.on('connected',function() {
            console.log("Connected to WiFi");
        wifi.on('disconnected',function() {
            console.log("Disconnected from WiFi");
        wifi.connect(WIFI_NAME, WIFI_OPTIONS, onConnected);
    E.on('init', function() {

Avatar for marzsman @marzsman started