You are reading a single comment by @hygy and its replies. Click here to read the full conversation.
  • Some times I have checksum errors on ESP.

    getting DHT sensor values
    { "err": true, "checksumError": true,
      "raw": "010000000110111110000000001101",
      "temp": -1, "rh": -1 }
    Temp is -1 and RH is -1
    E-Flags: []
    { "free": 967, "usage": 633, "total": 1600, "history": 398 }
    {
      "sdkVersion": "1.5.0",
      "cpuFrequency": 160, "freeHeap": 9816, "maxCon": 10,
      "flashMap": "4MB:512/512",
      "flashKB": 4096,
      "flashChip": "0xe0 0x4016"
     }
    183> < jshCanWatch = true
    190708> > jshCanWatch: pin=0
    190709> < jshCanWatch = true
    191235> > jshCanWatch: pin=0
    191236> < jshCanWatch = true
    191761> > jshCanWatch: pin=0
    191762> < jshCanWatch = true
    192287> > jshCanWatch: pin=0
    192287> < jshCanWatch = true
    getting DHT sensor values
    {
      "raw": "010000000110111110000000001101001010010001",
      "rh": 44.6, "temp": 21 }
    Temp is 21 and RH is 44.6
    

    Added the debug things what @MaBe said:

            setTimeout(function(){
              console.log("E-Flags: ["+E.getErrorFlags()+"]\n\n");
              console.log(process.memory());
              console.log(ESP8266.getState());
            },
            1000);
    
About

Avatar for hygy @hygy started