letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.29k stars 2.22k forks source link

Software/System restart, Last Action before Reboot: 1 timer, id: 8 #3716

Open Humanoid-XXX opened 3 years ago

Humanoid-XXX commented 3 years ago

Build:⋄ 20113 - Mega System Libraries:⋄ ESP82xx Core bc816c65, NONOS SDK 2.2.2-dev(a58da79), LWIP: 2.1.2 PUYA support Git Build:⋄ mega-20210503 Plugin Count:⋄ 77 [Normal] [Testing] [TEST_A] Build Time:⋄ May 3 2021 09:25:28 Binary Filename:⋄ ESP_Easy_mega_20210503_test_A_beta_ESP8266_4M1M Build Platform:⋄ Linux-5.4.0-1046-azure-x86_64-with-glibc2.2.5 Git HEAD:⋄ HEAD_aacae49

Summarize of the problem/feature request

Just uploaded test firmware to use the SHT35 Sensor and now the esp restarts randomly about one an hour. Sometimes it locks up and needs manual reboot.

Reset Reason: Software/System restart Last Action before Reboot: 1 timer, id: 8

Expected behavior

No restarts

Steps to reproduce

Intermittent Using, BM280, MHZ19, SHT35, MCP23017 , PWM Out

Yes

System configuration

Hardware: image

Rules or log data

on System#Boot do mcpgpio,2,0 // F1 Ventilation fan In on mcpgpio,3,0 // Lights on mcpgpio,5,0 // Lab Fan Power on mcpgpio,7,0 // circulation Fan Power on mcpgpio,8,0 // circulation Fan Power on

PWM,12,750 // Lab Fan Speed PWM,13,750 // F2 circulation Fan Speed endon

THANKS!

TD-er commented 3 years ago

Can you test the build you can flash from here: https://td-er.nl/ESPEasy/ (bin files can be found here )

Humanoid-XXX commented 3 years ago

I will try it right away and let you know how it goes! Thanks for the quick response!

On Sun, Jul 25, 2021 at 2:26 PM TD-er @.***> wrote:

Can you test the build you can flash from here: https://td-er.nl/ESPEasy/ (bin files can be found here https://td-er.nl/ESPEasy/static/ )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/letscontrolit/ESPEasy/issues/3716#issuecomment-886259918, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU67Z4FAQPVPHIY7ABOHGNDTZR6OTANCNFSM5A62UBGQ .

Humanoid-XXX commented 3 years ago

Can you test the build you can flash from here: https://td-er.nl/ESPEasy/ (bin files can be found here )

Just tried the latest version.... still did it again, this time the reset reason was Exception... Thanks for your help

Boot: Exception (2) Reset Reason: Exception Last Action before Reboot: 1 timer, id: 8

Build:⋄ 20114 - Mega System Libraries:⋄ ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support Git Build:⋄ pygit2_not_installed Plugin Count:⋄ 77 [Normal] [Testing] [TEST_A] Build Time:⋄ Jun 15 2021 10:31:25 Binary Filename:⋄ ESP_Easy_mega_20210615_test_A_ESP8266_4M1M Build Platform:⋄ Linux-5.4.0-54-generic-x86_64-with-glibc2.29 Git HEAD:⋄ pygit2_not_installed

TD-er commented 3 years ago

Is it possible to get some logs from the serial port?

Also how did you flash this build? Via OTA, or via serial upload? If it was serial upload, can you post the infor of the flash chip on the sysinfo page and try to flash it via serial (USB to serial probably :) )

TD-er commented 3 years ago

I do suspect it is running out of memory. Can you add a task with the system info plugin, trying to get the free memory logged somewhere?

Humanoid-XXX commented 3 years ago

Is it possible to get some logs from the serial port?

Also how did you flash this build? Via OTA, or via serial upload? If it was serial upload, can you post the infor of the flash chip on the sysinfo page and try to flash it via serial (USB to serial probably :) )

This build was flashed via OTA, Its a bit difficult to flash this via serial upload due to its location, but i will if i need to, should I?

below is the info page

I will log the free memory and upate you, thanks again for the help! Right now its hovering around 18000

Unit Number: 0
Local Time: 2021-07-26 05:53:57
Uptime: 0 days 2 hours 40 minutes
Load: 26.60% (LC=1607)
CPU Eco Mode: false
Boot: Manual Reboot (7)
Reset Reason: External System
Last Action before Reboot: Background Task
SW WD count: 0

Memory Free RAM: | 15568 Heap Max Free Block: | 12640 Heap Fragmentation: | 19% Free Stack: | 3680 Network IP Config: | Static

IP / Subnet: | Gateway: | Client IP: | DNS: | / (IP unset) Allowed IP Range: | Connected: | 2h39m Number Reconnects: | 0 WiFi ❔ WiFi Connection: | 802.11n (RSSI -69 dBm) SSID: | Channel: | 10 Encryption Type: | WPA2/PSK Last Disconnect Reason: | (1) Configured SSID1: | Configured SSID2: |   STA MAC: | AP MAC: |

WiFi Settings Force WiFi B/G: | false Restart WiFi Lost Conn: | false Force WiFi No Sleep: | false Periodical send Gratuitous ARP: | false Connection Failure Threshold: | 0 Max WiFi TX Power: | 17.50 Current WiFi TX Power: | 14.00 WiFi Sensitivity Margin: | 3 Send With Max TX Power: | false Extra WiFi scan loops: | 0 Periodical Scan WiFi: | false Firmware Build:⋄ | 20114 - Mega System Libraries:⋄ | ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support Git Build:⋄ | pygit2_not_installed Plugin Count:⋄ | 77 [Normal] [Testing] [TEST_A] Build Origin: | GitHub Actions Build Time:⋄ | Jun 15 2021 10:31:25 Binary Filename:⋄ | ESP_Easy_mega_20210615_test_A_ESP8266_4M1M Build Platform:⋄ | Linux-5.4.0-54-generic-x86_64-with-glibc2.29 Git HEAD:⋄ | pygit2_not_installed System Status Syslog Log Level: | None Serial Log Level: | Info Web Log Level: | None Network Services Network Connected: | ✔ NTP Initialized: | ✔ ESP Board ESP Chip ID: | 2447751 (0x255987) ESP Chip Frequency: | 80 MHz ESP Chip Model: | ESP8266 ESP Chip Cores: | 1 ESP Board Name: | PLATFORMIO_ESP12E Storage Flash Chip ID: | Vendor: 0x20 Device: 0x4016 Flash Chip Real Size: | 4096 kB Flash IDE Size: | 4096 kB Flash IDE Speed: | 40 MHz Flash IDE Mode: | DOUT Flash Writes: | 14 daily / 20 boot Sketch Size: | 953 kB (2116 kB free) Max. OTA Sketch Size: | 1019 kB (1044464 bytes) OTA possible: | true OTA 2-step Needed: | false SPIFFS Size: | 934 kB (844 kB free)

TD-er commented 3 years ago

You did update via OTA, but what was the previous version that was installed? Or to be precise, what was the version that was last flashed via serial? (even if it was Tasmota or other fw)

The reason I ask is that I have recently discovered that some units (no idea what exactly causes it) do behave strange when the bootloader part isn't updated but the rest of the firmware is. With OTA update not all is updated, but via serial it is (starting at sector 0)

As far as I have narrowed it down now is that it may cause issues if the previous version was using esp8266/Arduino core 2.6.x or older and now we're running core 2.7.4. Typical symptoms are:

The unit where this was happening were running fine on some firmware builds and erratic on other builds with hardly any changes between them, but they all started running fine when updated over serial.

Not saying it is the cause here, but since these crashes are not reported by others lately, it might be.

One of the changes between core 2.6.x and 2.7.0 was how the internals of the flash chips are addressed. For example for some chips the power level to erase sectors was changed, so really low level stuff. I have the feeling these random crashes may be the result of simple read errors, where the flash wasn't programmed optimally due to the older code running in the bootloader which isn't updated via OTA. (and thus differs from the running code)

@tonhuisman Maybe also good for you to know this, to try and flash via serial first when running into strange crashes.

Humanoid-XXX commented 3 years ago

You did update via OTA, but what was the previous version that was installed? Or to be precise, what was the version that was last flashed via serial? (even if it was Tasmota or other fw)

The reason I ask is that I have recently discovered that some units (no idea what exactly causes it) do behave strange when the bootloader part isn't updated but the rest of the firmware is. With OTA update not all is updated, but via serial it is (starting at sector 0)

As far as I have narrowed it down now is that it may cause issues if the previous version was using esp8266/Arduino core 2.6.x or older and now we're running core 2.7.4. Typical symptoms are:

  • Difficulty connecting to WiFi
  • Random crashes
  • Continuous quick reboot loop

The unit where this was happening were running fine on some firmware builds and erratic on other builds with hardly any changes between them, but they all started running fine when updated over serial.

Not saying it is the cause here, but since these crashes are not reported by others lately, it might be.

One of the changes between core 2.6.x and 2.7.0 was how the internals of the flash chips are addressed. For example for some chips the power level to erase sectors was changed, so really low level stuff. I have the feeling these random crashes may be the result of simple read errors, where the flash wasn't programmed optimally due to the older code running in the bootloader which isn't updated via OTA. (and thus differs from the running code)

@tonhuisman Maybe also good for you to know this, to try and flash via serial first when running into strange crashes.

Ok so I removed the ESP's from their prototype board (to access the usb port) and Uploaded ESP_Easy_mega_20210615_test_A_ESP8266_4M1M directly using the ESP Flasher tool. I am still waiting to see if it reboots/freezes.

In the meanwhile i looked at the serial weblog when the esp wasnt connected to anything and it also kept rebooting... not sure if that means anything. but here are some of the logs it captured.

sl l£₧| ─lα|♥♦♦♦î♀lΣ♦c<çé♥Σ←¢rôcä♦cî≤'nƒlgg£π∞♦c∟x∞Ädsl{d8≤oα►♥♀♀â♦l♀î£♦♦♀c♀gπ|♥∞l╟♦Åcî≥g'τ $îçl ♥ÿ‼‼no♀l♥♫♥o{çÆôn♦♀b♥l♥☼{Æô'♦♦c☻l ♥£c♀♀╟∟☻¢$;Æ♥ⁿég£♥¬U76 : Info :

INIT : Booting version: pygit2_not_installed (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 77 : Info : INIT : Free RAM:32912 79 : Info : INIT : Manual Reboot #19 - Restart Reason: External System 80 : Info : FS : Mounting... 105 : Info : FS : Mount successful, used 76053 bytes of 957314 122 : Info : CRC : SecuritySettings CRC ...OK 126 : Info : WiFi : Start network scan all channels 242 : Info : INIT : Free RAM:29424 243 : Info : INIT : I2C 244 : Info : INIT : SPI not enabled 271 : Info : MCP INIT=-1 275 : Info : MCP INIT=-1 278 : Info : MCP INIT=-1 284 : Info : MHZ19: Init OK 518 : Info : INFO : Plugins: 77 [Normal] [Testing] [TEST_A] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 519 : Info : EVENT: System#Wake 557 : Info : Webserver: start 558 : Info : Time set to 1627357236.000 560 : Info : Current Time Zone: STD time start: 2021-10-31 03:00:00 offset: 0 min 563 : Info : Local time: 2021-07-27 03:40:36 564 : Info : EVENT: System#Boot 568 : Info : ACT : Gpio,16,0 571 : Info : GPIO : port#16: set to 0 573 : Info : ACT : Gpio,16,1 574 : Info : GPIO : port#16: set to 1 576 : Info : ACT : PWM,13,975 578 : Info : PWM : GPIO: 13 duty: 975 580 : Info : ACT : mcpgpio,1,0 583 : Info : MCP : port#1: set to -1 587 : Info : ACT : mcpgpio,2,0 590 : Info : MCP : port#2: set to -1 592 : Info : ACT : mcpgpio,4,0 594 : Info : MCP : port#4: set to -1 624 : Info : MCP : Port=7 State=-1.00 639 : Info : MCP : Port=3 State=-1.00 655 : Info : MCP : Port=8 State=-1.00 672 : Info : SHT3x: Temperature: nan 673 : Info : SHT3x: Humidity: nan 674 : Error : Calculate: Unknown token 1013 : Info : MHZ19: Unknown response: 0 0 0 0 0 0 0 0 0 1040 : Info : SYS : 0.00,1.00,100.00,3360.00 1060 : Info : SYS : 19752.00 1077 : Info : MCP : Port=7 is offline (EVENT= -1) 1081 : Info : MCP : Port=3 is offline (EVENT= -1) 1089 : Info : EVENT: TaskInit#Ventilation_Fan_Status=1,1 1202 : Info : MCP : Port=7 is offline (EVENT= -1) 1207 : Info : MCP : Port=3 is offline (EVENT= -1) 1212 : Info : EVENT: TaskInit#Humidifier_Status=2,1 1335 : Info : MCP : Port=7 is offline (EVENT= -1) 1340 : Info : MCP : Port=3 is offline (EVENT= -1) 1344 : Info : EVENT: TaskInit#FAN Status=3,1 1414 : Info : EVENT: Clock#Time=Tue,03:40 1421 : Info : BMx280 : Unable to detect chip ID (255, failed) 1422 : Info : BMx280 : Unable to detect chip ID (255, failed) 1435 : Info : MCP : Port=7 is offline (EVENT= -1) 1439 : Info : MCP : Port=3 is offline (EVENT= -1) 1444 : Info : EVENT: TaskInit#Fruiting 1 Climate 1 SHT35=4,1 1513 : Info : MCP : Port=7 is offline (EVENT= -1) 1517 : Info : MCP : Port=3 is offline (EVENT= -1) 1522 : Info : EVENT: TaskInit#Fruiting 1 Climate 2 BME280=5,1 1602 : Info : MCP : Port=7 is offline (EVENT= -1) 1607 : Info : MCP : Port=3 is offline (EVENT= -1) 1612 : Info : EVENT: TaskInit#Fruiting 1 CO2=6,1 1703 : Info : SYS : 17352.00 1719 : Info : MCP : Port=7 is offline (EVENT= -1) 1723 : Info : MCP : Port=3 is offline (EVENT= -1) 1730 : Info : EVENT: TaskInit#Sys Info=7,1 1811 : Info : MCP : Port=7 is offline (EVENT= -1) 1816 : Info : MCP : Port=3 is offline (EVENT= -1) 1820 : Info : EVENT: TaskInit#RAM=8,1 1927 : Info : MCP : Port=7 is offline (EVENT= -1) 1932 : Info : MCP : Port=3 is offline (EVENT= -1) 1936 : Info : EVENT: Time#Initialized 1965 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 16504 WiFiStatus 0 ESPeasy internal wifi status: DISCONNECTED 2028 : Info : MCP : Port=7 is offline (EVENT= -1) 2032 : Info : MCP : Port=3 is offline (EVENT= -1) 2037 : Info : EVENT: Ventilation_Fan_Status#State=-1 2106 : Info : MCP : Port=7 is offline (EVENT= -1) 2110 : Info : MCP : Port=3 is offline (EVENT= -1) 2114 : Info : EVENT: Humidifier_Status#State=-1 2237 : Info : MCP : Port=7 is offline (EVENT= -1) 2241 : Info : MCP : Port=3 is offline (EVENT= -1) 2246 : Info : EVENT: FAN Status#State=-1 2315 : Info : MCP : Port=7 is offline (EVENT= -1) 2319 : Info : MCP : Port=3 is offline (EVENT= -1) 2324 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Temperature=nan 2403 : Info : BMx280 : Unable to detect chip ID (255, failed) 2404 : Info : BMx280 : Unable to detect chip ID (255, failed) 2417 : Info : MCP : Port=7 is offline (EVENT= -1) 2421 : Info : MCP : Port=3 is offline (EVENT= -1) 2426 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Humidity=nan 2505 : Info : MCP : Port=7 is offline (EVENT= -1) 2509 : Info : MCP : Port=3 is offline (EVENT= -1) 2514 : Info : EVENT: Sys Info#uptime=0.00 2586 : Info : WiFi : Scan finished, found: 8 2591 : Info : WiFi : Best AP candidate: xxxx Ch:11 (-38dBm) WPA2/PSK 2593 : Info : WIFI : Connecting xxxx Ch:11 (-38dBm) WPA2/PSK attempt #0 2595 : Info : IP : Static IP : xx GW: xx SN: 255.255.255.0 DNS: xx 3569 : Info : MCP : Port=7 is offline (EVENT= -1) 3574 : Info : MCP : Port=3 is offline (EVENT= -1) 3579 : Info : EVENT: Sys Info#web=1.00 3631 : Info : SYS : 15520.00 3679 : Info : BMx280 : Unable to detect chip ID (255, failed) 3680 : Info : BMx280 : Unable to detect chip ID (255, failed) 3684 : Info : WIFI : Connected! AP: xxxxxxxxxxxxxxxx) Ch: 11 Duration: 1089 ms 3686 : Info : WIFI : Static IP: xxxxx Fruiting-1) GW: xxxxxxxxxxxx SN: 255.255.255.0 duration: 2 ms 3733 : Info : SYS : 14536.00 3740 : Info : MCP : Port=7 is offline (EVENT= -1) 3744 : Info : MCP : Port=3 is offline (EVENT= -1) 3749 : Info : EVENT: Sys Info#load=100.00 3811 : Info : firstLoopConnectionsEstablished 3814 : Info : MCP : Port=7 is offline (EVENT= -1) 3818 : Info : MCP : Port=3 is offline (EVENT= -1) 3823 : Info : EVENT: Sys Info#freestack=3360.00 3868 : Info : MCP : Port=7 is offline (EVENT= -1) 3873 : Info : MCP : Port=3 is offline (EVENT= -1) 3878 : Info : EVENT: RAM#RAM=19752.00 3969 : Info : MCP : Port=7 is offline (EVENT= -1) 3973 : Info : MCP : Port=3 is offline (EVENT= -1) 3978 : Info : EVENT: Ventilation_Fan_Status#State=-1 4086 : Info : MCP : Port=7 is offline (EVENT= -1) 4092 : Info : MCP : Port=3 is offline (EVENT= -1) 4097 : Info : EVENT: Humidifier_Status#State=-1 4169 : Info : MCP : Port=7 is offline (EVENT= -1) 4173 : Info : MCP : Port=3 is offline (EVENT= -1) 4178 : Info : EVENT: Ventilation_Fan_Status#State=-1 4269 : Info : MCP : Port=7 is offline (EVENT= -1) 4274 : Info : MCP : Port=3 is offline (EVENT= -1) 4279 : Info : EVENT: Humidifier_Status#State=-1 4370 : Info : MCP : Port=7 is offline (EVENT= -1) 4376 : Info : MCP : Port=3 is offline (EVENT= -1) 4386 : Info : EVENT: Ventilation_Fan_Status#State=-1 4497 : Info : NTP : NTP replied: delay 81 mSec Accuracy increased by 0.625 seconds 4500 : Info : Time set to 1627357241.625 Time adjusted by 1786.32 msec. Wander: 0.50 msec/second 4504 : Info : Local time: 2021-07-27 03:40:41 4506 : Info : BMx280 : Unable to detect chip ID (255, failed) 4507 : Info : BMx280 : Unable to detect chip ID (255, failed) 4548 : Info : MCP : Port=7 is offline (EVENT= -1) 4556 : Info : MCP : Port=3 is offline (EVENT= -1) 4564 : Info : EVENT: Humidifier_Status#State=-1 4583 : Info : MCP : Port=7 is offline (EVENT= -1) 4588 : Info : MCP : Port=3 is offline (EVENT= -1) 4592 : Info : EVENT: Ventilation_Fan_Status#State=-1 4694 : Info : SYS : 13312.00 4702 : Info : MCP : Port=7 is offline (EVENT= -1) 4707 : Info : MCP : Port=3 is offline (EVENT= -1) 4711 : Info : EVENT: Humidifier_Status#State=-1 4768 : Info : MCP : Port=7 is offline (EVENT= -1) 4773 : Info : MCP : Port=3 is offline (EVENT= -1) 4779 : Info : EVENT: Ventilation_Fan_Status#State=-1 4869 : Info : MCP : Port=7 is offline (EVENT= -1) 4874 : Info : MCP : Port=3 is offline (EVENT= -1) 4879 : Info : EVENT: Humidifier_Status#State=-1 4969 : Info : MCP : Port=7 is offline (EVENT= -1) 4974 : Info : MCP : Port=3 is offline (EVENT= -1) 4979 : Info : EVENT: Ventilation_Fan_Status#State=-1 5104 : Info : MCP : Port=7 is offline (EVENT= -1) 5109 : Info : MCP : Port=3 is offline (EVENT= -1) 5114 : Info : EVENT: Humidifier_Status#State=-1 5168 : Info : MCP : Port=7 is offline (EVENT= -1) 5173 : Info : MCP : Port=3 is offline (EVENT= -1) 5177 : Info : EVENT: RAM#RAM=17352.00 5268 : Info : MCP : Port=7 is offline (EVENT= -1) 5273 : Info : MCP : Port=3 is offline (EVENT= -1) 5278 : Info : EVENT: Ventilation_Fan_Status#State=-1 5377 : Info : MCP : Port=7 is offline (EVENT= -1) 5382 : Info : MCP : Port=3 is offline (EVENT= -1) 5388 : Info : EVENT: Humidifier_Status#State=-1 5402 : Info : BMx280 : Unable to detect chip ID (255, failed) 5403 : Info : BMx280 : Unable to detect chip ID (255, failed) 5468 : Info : MCP : Port=7 is offline (EVENT= -1) 5473 : Info : MCP : Port=3 is offline (EVENT= -1) 5477 : Info : EVENT: Ventilation_Fan_Status#State=-1 5532 : Info : SHT3x: Temperature: nan 5533 : Info : SHT3x: Humidity: nan 5534 : Error : Calculate: Unknown token 5569 : Info : MCP : Port=7 is offline (EVENT= -1) 5573 : Info : MCP : Port=3 is offline (EVENT= -1) 5577 : Info : EVENT: Humidifier_Status#State=-1 5900 : Info : MHZ19: Unknown response: 0 0 0 0 0 0 0 0 0 5942 : Info : SYS : 11664.00 5953 : Info : MCP : Port=7 is offline (EVENT= -1) 5957 : Info : MCP : Port=3 is offline (EVENT= -1) 5962 : Info : EVENT: Ventilation_Fan_Status#State=-1 6075 : Info : MCP : Port=7 is offline (EVENT= -1) 6080 : Info : MCP : Port=3 is offline (EVENT= -1) 6085 : Info : EVENT: Humidifier_Status#State=-1 6152 : Info : MCP : Port=7 is offline (EVENT= -1) 6157 : Info : MCP : Port=3 is offline (EVENT= -1) 6161 : Info : EVENT: Ventilation_Fan_Status#State=-1 6252 : Info : MCP : Port=7 is offline (EVENT= -1) 6257 : Info : MCP : Port=3 is offline (EVENT= -1) 6262 : Info : EVENT: Humidifier_Status#State=-1 6353 : Info : MCP : Port=7 is offline (EVENT= -1) 6357 : Info : MCP : Port=3 is offline (EVENT= -1) 6362 : Info : EVENT: Ventilation_Fan_Status#State=-1 6376 : Info : BMx280 : Unable to detect chip ID (255, failed) 6376 : Info : BMx280 : Unable to detect chip ID (255, failed) 6475 : Info : MCP : Port=7 is offline (EVENT= -1) 6484 : Info : MCP : Port=3 is offline (EVENT= -1) 6489 : Info : EVENT: Humidifier_Status#State=-1 6552 : Info : MCP : Port=7 is offline (EVENT= -1) 6557 : Info : MCP : Port=3 is offline (EVENT= -1) 6562 : Info : EVENT: Ventilation_Fan_Status#State=-1 6652 : Info : SYS : 11072.00 6658 : Info : MCP : Port=7 is offline (EVENT= -1) 6662 : Info : MCP : Port=3 is offline (EVENT= -1) 6667 : Info : EVENT: Humidifier_Status#State=-1 6754 : Info : MCP : Port=7 is offline (EVENT= -1) 6760 : Info : MCP : Port=3 is offline (EVENT= -1) 6765 : Info : EVENT: Ventilation_Fan_Status#State=-1 6881 : Info : MCP : Port=7 is offline (EVENT= -1) 6889 : Info : MCP : Port=3 is offline (EVENT= -1) 6894 : Info : EVENT: Humidifier_Status#State=-1 6953 : Info : MCP : Port=7 is offline (EVENT= -1) 6957 : Info : MCP : Port=3 is offline (EVENT= -1) 6962 : Info : EVENT: Ventilation_Fan_Status#State=-1 7053 : Info : MCP : Port=7 is offline (EVENT= -1) 7057 : Info : MCP : Port=3 is offline (EVENT= -1) 7062 : Info : EVENT: Humidifier_Status#State=-1 7154 : Info : MCP : Port=7 is offline (EVENT= -1) 7159 : Info : MCP : Port=3 is offline (EVENT= -1) 7164 : Info : EVENT: Ventilation_Fan_Status#State=-1 7286 : Info : MCP : Port=7 is offline (EVENT= -1) 7291 : Info : MCP : Port=3 is offline (EVENT= -1) 7297 : Info : EVENT: Humidifier_Status#State=-1 7353 : Info : MCP : Port=7 is offline (EVENT= -1) 7357 : Info : MCP : Port=3 is offline (EVENT= -1) 7362 : Info : EVENT: Ventilation_Fan_Status#State=-1 7375 : Info : BMx280 : Unable to detect chip ID (255, failed) 7376 : Info : BMx280 : Unable to detect chip ID (255, failed) 7452 : Info : MCP : Port=7 is offline (EVENT= -1) 7457 : Info : MCP : Port=3 is offline (EVENT= -1) 7462 : Info : EVENT: Humidifier_Status#State=-1 7555 : Info : MCP : Port=7 is offline (EVENT= -1) 7560 : Info : MCP : Port=3 is offline (EVENT= -1) 7564 : Info : EVENT: RAM#RAM=15520.00 7683 : Info : SYS : 9536.00 7694 : Info : MCP : Port=7 is offline (EVENT= -1) 7699 : Info : MCP : Port=3 is offline (EVENT= -1) 7703 : Info : EVENT: WiFi#ChangedAccesspoint 7753 : Info : MCP : Port=7 is offline (EVENT= -1) 7757 : Info : MCP : Port=3 is offline (EVENT= -1) 7762 : Info : EVENT: WiFi#ChangedWiFichannel 7853 : Info : MCP : Port=7 is offline (EVENT= -1) 7857 : Info : MCP : Port=3 is offline (EVENT= -1) 7862 : Info : EVENT: WiFi#Connected 7954 : Info : MCP : Port=7 is offline (EVENT= -1) 7958 : Info : MCP : Port=3 is offline (EVENT= -1) 7963 : Info : EVENT: RAM#RAM=14536.00 8083 : Info : MCP : Port=7 is offline (EVENT= -1) 8091 : Info : MCP : Port=3 is offline (EVENT= -1) 8098 : Info : EVENT: Ventilation_Fan_Status#State=-1 8152 : Info : MCP : Port=7 is offline (EVENT= -1) 8157 : Info : MCP : Port=3 is offline (EVENT= -1) 8163 : Info : EVENT: Humidifier_Status#State=-1 8252 : Info : MCP : Port=7 is offline (EVENT= -1) 8257 : Info : MCP : Port=3 is offline (EVENT= -1) 8263 : Info : EVENT: Ventilation_Fan_Status#State=-1 8352 : Info : MCP : Port=7 is offline (EVENT= -1) 8361 : Info : MCP : Port=3 is offline (EVENT= -1) 8368 : Info : EVENT: Humidifier_Status#State=-1 8382 : Info : BMx280 : Unable to detect chip ID (255, failed) 8383 : Info : BMx280 : Unable to detect chip ID (255, failed) 8476 : Info : MCP : Port=7 is offline (EVENT= -1) 8481 : Info : MCP : Port=3 is offline (EVENT= -1) 8490 : Info : EVENT: Ventilation_Fan_Status#State=-1 8552 : Info : MCP : Port=7 is offline (EVENT= -1) 8557 : Info : MCP : Port=3 is offline (EVENT= -1) 8561 : Info : EVENT: Humidifier_Status#State=-1 8653 : Info : SYS : 8448.00 8659 : Info : MCP : Port=7 is offline (EVENT= -1) 8663 : Info : MCP : Port=3 is offline (EVENT= -1) 8668 : Info : EVENT: Ventilation_Fan_Status#State=-1 8753 : Info : MCP : Port=7 is offline (EVENT= -1) 8760 : Info : MCP : Port=3 is offline (EVENT= -1) 8765 : Info : EVENT: Humidifier_Status#State=-1 8897 : Info : MCP : Port=7 is offline (EVENT= -1) 8903 : Info : MCP : Port=3 is offline (EVENT= -1) 8908 : Info : EVENT: Ventilation_Fan_Status#State=-1 8953 : Info : MCP : Port=7 is offline (EVENT= -1) 8957 : Info : MCP : Port=3 is offline (EVENT= -1) 8962 : Info : EVENT: Humidifier_Status#State=-1 9052 : Info : MCP : Port=7 is offline (EVENT= -1) 9057 : Info : MCP : Port=3 is offline (EVENT= -1) 9062 : Info : EVENT: Ventilation_Fan_Status#State=-1 9155 : Info : MCP : Port=7 is offline (EVENT= -1) 9163 : Info : MCP : Port=3 is offline (EVENT= -1) 9169 : Info : EVENT: Humidifier_Status#State=-1 9301 : Info : MCP : Port=7 is offline (EVENT= -1) 9309 : Info : MCP : Port=3 is offline (EVENT= -1) 9316 : Info : EVENT: Ventilation_Fan_Status#State=-1 9353 : Info : MCP : Port=7 is offline (EVENT= -1) 9357 : Info : MCP : Port=3 is offline (EVENT= -1) 9362 : Info : EVENT: Humidifier_Status#State=-1 9375 : Info : BMx280 : Unable to detect chip ID (255, failed) 9376 : Info : BMx280 : Unable to detect chip ID (255, failed) 9453 : Info : MCP : Port=7 is offline (EVENT= -1) 9457 : Info : MCP : Port=3 is offline (EVENT= -1) 9462 : Info : EVENT: Ventilation_Fan_Status#State=-1 9569 : Info : MCP : Port=7 is offline (EVENT= -1) 9575 : Info : MCP : Port=3 is offline (EVENT= -1) 9580 : Info : EVENT: Humidifier_Status#State=-1 9651 : Info : SYS : 7032.00 9658 : Info : MCP : Port=7 is offline (EVENT= -1) 9662 : Info : MCP : Port=3 is offline (EVENT= -1) 9666 : Info : EVENT: Time#Set 9752 : Info : MCP : Port=7 is offline (EVENT= -1) 9757 : Info : MCP : Port=3 is offline (EVENT= -1) 9762 : Info : EVENT: Ventilation_Fan_Status#State=-1 9853 : Info : MCP : Port=7 is offline (EVENT= -1) 9858 : Info : MCP : Port=3 is offline (EVENT= -1) 9862 : Info : EVENT: Humidifier_Status#State=-1 9976 : Info : MCP : Port=7 is offline (EVENT= -1) 9982 : Info : MCP : Port=3 is offline (EVENT= -1) 9986 : Info : EVENT: Ventilation_Fan_Status#State=-1 10052 : Info : MCP : Port=7 is offline (EVENT= -1) 10057 : Info : MCP : Port=3 is offline (EVENT= -1) 10062 : Info : EVENT: Humidifier_Status#State=-1 10152 : Info : MCP : Port=7 is offline (EVENT= -1) 10157 : Info : MCP : Port=3 is offline (EVENT= -1) 10162 : Info : EVENT: RAM#RAM=13312.00 10253 : Info : MCP : Port=7 is offline (EVENT= -1) 10257 : Info : MCP : Port=3 is offline (EVENT= -1) 10262 : Info : EVENT: Ventilation_Fan_Status#State=-1 10388 : Info : MCP : Port=7 is offline (EVENT= -1)

11035 : Info : EVENT: Humidifier_Status#State=-1 11122 : Info : MCP : Port=7 is offline (EVENT= -1) 11130 : Info : MCP : Port=3 is offline (EVENT= -1) 11137 : Info : EVENT: Ventilation_Fan_Status#State=-1 11249 : Info : MCP : Port=7 is offline (EVENT= -1) 11257 : Info : MCP : Port=3 is offline (EVENT= -1) 11264 : Info : EVENT: Humidifier_Status#State=-1 11320 : Info : MCP : Port=7 is offline (EVENT= -1) 11327 : Info : MCP : Port=3 is offline (EVENT= -1) 11335 : Info : EVENT: Ventilation_Fan_Status#State=-1 11388 : Info : BMx280 : Unable to detect chip ID (255, failed) 11391 : Info : BMx280 : Unable to detect chip ID (255, failed) 11420 : Info : MCP : Port=7 is offline (EVENT= -1) 11427 : Info : MCP : Port=3 is offline (EVENT= -1) 11433 : Info : EVENT: Humidifier_Status#State=-1 11521 : Info : MCP : Port=7 is offline (EVENT= -1) 11528 : Info : MCP : Port=3 is offline (EVENT= -1) 11535 : Info : EVENT: Ventilation_Fan_Status#State=-1 11656 : Info : MCP : Port=7 is offline (EVENT= -1) 11662 : Info : MCP : Port=3 is offline (EVENT= -1) 11669 : Info : EVENT: Humidifier_Status#State=-1 11684 : Info : SYS : 5136.00 11720 : Info : MCP : Port=7 is offline (EVENT= -1) 11726 : Info : MCP : Port=3 is offline (EVENT= -1) 11733 : Info : EVENT: Ventilation_Fan_Status#State=-1 11820 : Info : MCP : Port=7 is offline (EVENT= -1) 11827 : Info : MCP : Port=3 is offline (EVENT= -1) 11834 : Info : EVENT: Humidifier_Status#State=-1 11922 : Info : MCP : Port=7 is offline (EVENT= -1) 11930 : Info : MCP : Port=3 is offline (EVENT= -1) 11936 : Info : EVENT: Ventilation_Fan_Status#State=-1 12055 : Info : MCP : Port=7 is offline (EVENT= -1) 12062 : Info : MCP : Port=3 is offline (EVENT= -1) 12069 : Info : EVENT: Humidifier_Status#State=-1 12120 : Info : MCP : Port=7 is offline (EVENT= -1) 12127 : Info : MCP : Port=3 is offline (EVENT= -1) 12133 : Info : EVENT: Ventilation_Fan_Status#State=-1 12220 : Info : MCP : Port=7 is offline (EVENT= -1) 12227 : Info : MCP : Port=3 is offline (EVENT= -1) 12234 : Info : EVENT: Humidifier_Status#State=-1 12320 : Info : MCP : Port=7 is offline (EVENT= -1) 12327 : Info : MCP : Port=3 is offline (EVENT= -1) 12333 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Temperature=nan 12375 : Info : BMx280 : Unable to detect chip ID (255, failed) 12377 : Info : BMx280 : Unable to detect chip ID (255, failed) 12420 : Info : MCP : Port=7 is offline (EVENT= -1) 12427 : Info : MCP : Port=3 is offline (EVENT= -1) 12433 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Humidity=nan 12521 : Info : MCP : Port=7 is offline (EVENT= -1) 12527 : Info : MCP : Port=3 is offline (EVENT= -1) 12534 : Info : EVENT: Ventilation_Fan_Status#State=-1 12621 : Info : MCP : Port=7 is offline (EVENT= -1) 12627 : Info : MCP : Port=3 is offline (EVENT= -1) 12634 : Info : EVENT: Humidifier_Status#State=-1 12651 : Info : SYS : 4664.00 12720 : Info : MCP : Port=7 is offline (EVENT= -1) 12727 : Info : MCP : Port=3 is offline (EVENT= -1) 12733 : Info : EVENT: RAM#RAM=11664.00 12821 : Info : MCP : Port=7 is offline (EVENT= -1) 12827 : Info : MCP : Port=3 is offline (EVENT= -1) 12834 : Info : EVENT: Ventilation_Fan_Status#State=-1 12920 : Info : MCP : Port=7 is offline (EVENT= -1) 12927 : Info : MCP : Port=3 is offline (EVENT= -1) 12933 : Info : EVENT: Humidifier_Status#State=-1 13020 : Info : MCP : Port=7 is offline (EVENT= -1) 13027 : Info : MCP : Port=3 is offline (EVENT= -1) 13033 : Info : EVENT: Ventilation_Fan_Status#State=-1 13121 : Info : MCP : Port=7 is offline (EVENT= -1) 13127 : Info : MCP : Port=3 is offline (EVENT= -1) 13133 : Info : EVENT: Humidifier_Status#State=-1 13220 : Info : MCP : Port=7 is offline (EVENT= -1) 13227 : Info : MCP : Port=3 is offline (EVENT= -1) 13233 : Info : EVENT: Ventilation_Fan_Status#State=-1 13321 : Info : MCP : Port=7 is offline (EVENT= -1) 13327 : Info : MCP : Port=3 is offline (EVENT= -1) 13334 : Info : EVENT: Humidifier_Status#State=-1 13374 : Info : BMx280 : Unable to detect chip ID (255, failed) 13377 : Info : BMx280 : Unable to detect chip ID (255, failed) 13420 : Info : MCP : Port=7 is offline (EVENT= -1) 13427 : Info : MCP : Port=3 is offline (EVENT= -1) 13433 : Info : EVENT: Ventilation_Fan_Status#State=-1 13520 : Info : MCP : Port=7 is offline (EVENT= -1) 13527 : Info : MCP : Port=3 is offline (EVENT= -1) 13533 : Info : EVENT: Humidifier_Status#State=-1 13620 : Info : MCP : Port=7 is offline (EVENT= -1) 13627 : Info : MCP : Port=3 is offline (EVENT= -1) 13633 : Info : EVENT: Ventilation_Fan_Status#State=-1 13651 : Info : SYS : 2928.00 13720 : Info : MCP : Port=7 is offline (EVENT= -1) 13727 : Info : MCP : Port=3 is offline (EVENT= -1) 13733 : Info : EVENT: Humidifier_Status#State=-1 13820 : Info : MCP : Port=7 is offline (EVENT= -1) 13827 : Info : MCP : Port=3 is offline (EVENT= -1) 13834 : Info : EVENT: Ventilation_Fan_Status#State=-1 13920 : Info : MCP : Port=7 is offline (EVENT= -1) 13927 : Info : MCP : Port=3 is offline (EVENT= -1) 13933 : Info : EVENT: Humidifier_Status#State=-1 14020 : Info : MCP : Port=7 is offline (EVENT= -1) 14027 : Info : MCP : Port=3 is offline (EVENT= -1) 14033 : Info : EVENT: Ventilation_Fan_Status#State=-1 14120 : Info : MCP : Port=7 is offline (EVENT= -1)

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (29): epc1=0x4000df64 epc2=0x00000000 epc3=0x402b85d4 excvaddr=0x00000000 depc=0x00000000

stack>>>

ctx: sys sp: 3ffffc40 end: 3fffffb0 offset: 0190 3ffffdd0: 00000005 3ffeed68 00000002 40100cfc 3ffffde0: 402b10cb 3fff31c4 3ffec3f6 402b1060 3ffffdf0: 00000002 402b1007 00000002 402b0164 3ffffe00: 402b018d 3ffffeb0 3ffeed68 00000016 3ffffe10: 402adc00 3ffffeb0 3ffeec14 3ffee618 3ffffe20: 3ffeb6a4 3ffffeb0 3ffffeb0 3ffffe70 3ffffe30: 65736544 4d5f7472 5f6e6f6f 6d726146 3ffffe40: 3ffe0073 7fffffff 00000000 00000001 3ffffe50: 402a9f6d 00000080 0000001f 401006bc 3ffffe60: ffffffd3 3ffee728 3ffeb6b4 3ffeed68 3ffffe70: 3ffedba8 00000033 00000000 402ae8f7 3ffffe80: 00000000 3fff31c4 ffffffd3 00000000 3ffffe90: 00000000 3ffeed68 00000000 0000000f 3ffffea0: 40000f3d 00000023 993d19c7 402d3354 3ffffeb0: 00000000 08310b0b 00640102 00000072 3ffffec0: 3ffeb6c8 00000102 3ffeb70a 3ffeb6bc 3ffffed0: 3ffeb6ee 3ffeb6c8 3ffeb6db 3ffeb6e8 3ffffee0: 00000000 00000000 3ffeb710 3ffeb7a0 3ffffef0: 3ffeb752 3ffeb76e 00000000 3ffeb726 3fffff00: 00000000 00000000 00000033 00000000 3fffff10: 3fff346c 402ae36a 3ffedba8 3fff31c4 3fffff20: 00000000 3ffeed68 3ffedba8 3ffeb6a4 3fffff30: 3ffeb6a4 0000012a 00000000 00000033 3fffff40: 00000000 3ffeb6ae 402b7ea7 3ffedba8 3fffff50: 3ffeb698 3fffdcc0 3ffea1f0 3ffea1f0 3fffff60: 00000080 3ffedba8 00000000 3ffe86c4 3fffff70: 402b7767 3fffdab0 00000000 4028280c 3fffff80: 3ffea1f0 40000f49 3fffdab0 40000f49 3fffff90: 40000e19 00000005 000ee4ec 00000000 3fffffa0: 00000000 aa55aa55 000000f7 4010555d <<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3584, room 16 tail 0 chksum 0xb0 csum 0xb0 v2843a5ac ~ld ¬U75 : Info :

INIT : Booting version: pygit2_not_installed (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 77 : Info : INIT : Free RAM:32912 78 : Info : INIT : Exception #20 - Restart Reason: Exception 79 : Info : FS : Mounting... 104 : Info : FS : Mount successful, used 76053 bytes of 957314 121 : Info : CRC : SecuritySettings CRC ...OK 125 : Info : WiFi : Start network scan all channels 241 : Info : INIT : Free RAM:29512 242 : Info : INIT : I2C 242 : Info : INIT : SPI not enabled 268 : Info : MCP INIT=-1 272 : Info : MCP INIT=-1 275 : Info : MCP INIT=-1 281 : Info : MHZ19: Init OK 516 : Info : INFO : Plugins: 77 [Normal] [Testing] [TEST_A] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 517 : Info : EVENT: System#Wake 555 : Info : Webserver: start 557 : Info : Time set to 1627357251.000 558 : Info : Current Time Zone: STD time start: 2021-10-31 03:00:00 offset: 0 min 562 : Info : Local time: 2021-07-27 03:40:51 563 : Info : EVENT: System#Boot 567 : Info : ACT : Gpio,16,0 569 : Info : GPIO : port#16: set to 0 571 : Info : ACT : Gpio,16,1 573 : Info : GPIO : port#16: set to 1 574 : Info : ACT : PWM,13,975 576 : Info : PWM : GPIO: 13 duty: 975 579 : Info : ACT : mcpgpio,1,0 581 : Info : MCP : port#1: set to -1 586 : Info : ACT : mcpgpio,2,0 588 : Info : MCP : port#2: set to -1 590 : Info : ACT : mcpgpio,4,0 592 : Info : MCP : port#4: set to -1 622 : Info : MCP : Port=7 State=-1.00 638 : Info : MCP : Port=3 State=-1.00 654 : Info : MCP : Port=8 State=-1.00 670 : Info : SHT3x: Temperature: nan 670 : Info : SHT3x: Humidity: nan 672 : Error : Calculate: Unknown token 1011 : Info : MHZ19: Unknown response: 0 0 0 0 0 0 0 0 0 1039 : Info : SYS : 0.00,1.00,100.00,3360.00 1058 : Info : SYS : 20104.00 1074 : Info : MCP : Port=7 is offline (EVENT= -1) 1078 : Info : MCP : Port=3 is offline (EVENT= -1) 1086 : Info : EVENT: TaskInit#Ventilation_Fan_Status=1,1 1200 : Info : MCP : Port=7 is offline (EVENT= -1) 1204 : Info : MCP : Port=3 is offline (EVENT= -1) 1209 : Info : EVENT: TaskInit#Humidifier_Status=2,1 1333 : Info : MCP : Port=7 is offline (EVENT= -1) 1337 : Info : MCP : Port=3 is offline (EVENT= -1) 1342 : Info : EVENT: TaskInit#FAN Status=3,1 1415 : Info : EVENT: Clock#Time=Tue,03:40 1421 : Info : BMx280 : Unable to detect chip ID (255, failed) 1422 : Info : BMx280 : Unable to detect chip ID (255, failed) 1435 : Info : MCP : Port=7 is offline (EVENT= -1) 1440 : Info : MCP : Port=3 is offline (EVENT= -1) 1445 : Info : EVENT: TaskInit#Fruiting 1 Climate 1 SHT35=4,1 1513 : Info : MCP : Port=7 is offline (EVENT= -1) 1517 : Info : MCP : Port=3 is offline (EVENT= -1) 1522 : Info : EVENT: TaskInit#Fruiting 1 Climate 2 BME280=5,1 1603 : Info : MCP : Port=7 is offline (EVENT= -1) 1607 : Info : MCP : Port=3 is offline (EVENT= -1) 1612 : Info : EVENT: TaskInit#Fruiting 1 CO2=6,1 1703 : Info : SYS : 17616.00 1718 : Info : MCP : Port=7 is offline (EVENT= -1) 1722 : Info : MCP : Port=3 is offline (EVENT= -1) 1730 : Info : EVENT: TaskInit#Sys Info=7,1 1811 : Info : MCP : Port=7 is offline (EVENT= -1) 1815 : Info : MCP : Port=3 is offline (EVENT= -1) 1820 : Info : EVENT: TaskInit#RAM=8,1 1928 : Info : MCP : Port=7 is offline (EVENT= -1) 1932 : Info : MCP : Port=3 is offline (EVENT= -1) 1937 : Info : EVENT: Time#Initialized 1965 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 16768 WiFiStatus 0 ESPeasy internal wifi status: DISCONNECTED 2028 : Info : MCP : Port=7 is offline (EVENT= -1) 2033 : Info : MCP : Port=3 is offline (EVENT= -1) 2037 : Info : EVENT: Ventilation_Fan_Status#State=-1 2106 : Info : MCP : Port=7 is offline (EVENT= -1) 2110 : Info : MCP : Port=3 is offline (EVENT= -1) 2115 : Info : EVENT: Humidifier_Status#State=-1 2199 : Info : MCP : Port=7 is offline (EVENT= -1) 2203 : Info : MCP : Port=3 is offline (EVENT= -1) 2208 : Info : EVENT: FAN Status#State=-1 2327 : Info : MCP : Port=7 is offline (EVENT= -1) 2331 : Info : MCP : Port=3 is offline (EVENT= -1) 2336 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Temperature=nan 2405 : Info : BMx280 : Unable to detect chip ID (255, failed) 2406 : Info : BMx280 : Unable to detect chip ID (255, failed) 2429 : Info : MCP : Port=7 is offline (EVENT= -1) 2434 : Info : MCP : Port=3 is offline (EVENT= -1) 2439 : Info : EVENT: Fruiting 1 Climate 1 SHT35#Humidity=nan 2507 : Info : MCP : Port=7 is offline (EVENT= -1) 2511 : Info : MCP : Port=3 is offline (EVENT= -1) 2516 : Info : EVENT: Sys Info#uptime=0.00 2587 : Info : WiFi : Scan finished, found: 5 2592 : Info : WiFi : Best AP candidate:xxxxxxxx (-43dBm) WPA2/PSK 2594 : Info : WIFI : Connecting xxxxxxxxx Ch:11 (-43dBm) WPA2/PSK attempt #0 2596 : Info : IP : Static IP : x GW: xxxxx SN: 255.255.255.0 DNS: 192.168.13.1 2613 : Info : MCP : Port=7 is offline (EVENT= -1) 2619 : Info : MCP : Port=3 is offline (EVENT= -1) 2624 : Info : EVENT: Sys Info#web=1.00 3653 : Info : SYS : 15712.00 3682 : Info : MCP : Port=7 is offline (EVENT= -1) 3687 : Info : MCP : Port=3 is offline (EVENT= -1) 3691 : Info : EVENT: Sys Info#load=100.00 3699 : Info : WIFI : Connected! AP: xxxxxxxxxxxx Ch: 11 Duration: 1083 ms 3701 : Info : WIFI : Static IP: xxxxxxx (Fruiting-1) GW: xxxxxxxx SN: 255.255.255.0 duration: 22 ms 3728 : Info : BMx280 : Unable to detect chip ID (255, failed) 3729 : Info : BMx280 : Unable to detect chip ID (255, failed) 3736 : Info : SYS : 14616.00 3811 : Info : firstLoopConnectionsEstablished 3814 : Info : MCP : Port=7 is offline (EVENT= -1) 3819 : Info : MCP : Port=3 is offline (EVENT= -1) 3824 : Info : EVENT: Sys Info#freestack=3360.00 3882 : Info : MCP : Port=7 is offline (EVENT= -1) 3888 : Info : MCP : Port=3 is offline (EVENT= -1) 3893 : Info : EVENT: RAM#RAM=20104.00 3982 : Info : MCP : Port=7 is offline (EVENT= -1) 3988 : Info : MCP : Port=3 is offline (EVENT= -1) 3993 : Info : EVENT: Ventilation_Fan_Status#State=-1 4084 : Info : MCP : Port=7 is offline (EVENT= -1) 4092 : Info : MCP : Port=3 is offline (EVENT= -1) 4098 : Info : EVENT: Humidifier_Status#State=-1 4218 : Info : MCP : Port=7 is offline (EVENT= -1) 4224 : Info : MCP : Port=3 is offline (EVENT= -1) 4229 : Info : EVENT: Ventilation_Fan_Status#State=-1 4282 : Info : MCP : Port=7 is offline (EVENT= -1) 4286 : Info : MCP : Port=3 is offline (EVENT= -1) 4291 : Info : EVENT: Humidifier_Status#State=-1 4487 : Info : NTP : NTP replied: delay 101 mSec Accuracy increased by 0.749 seconds 4489 : Info : Time set to 1627357256.749 Time adjusted by 1933.22 msec. Wander: 0.54 msec/second 4493 : Info : Local time: 2021-07-27 03:40:56 4494 : Info : BMx280 : Unable to detect chip ID (255, failed) 4496 : Info : BMx280 : Unable to detect chip ID (255, failed) 4502 : Info : MCP : Port=7 is offline (EVENT= -1) 4508 : Info : MCP : Port=3 is offline (EVENT= -1) 4513 : Info : EVENT: Ventilation_Fan_Status#State=-1 4582 : Info : MCP : Port=7 is offline (EVENT= -1) 4587 : Info : MCP : Port=3 is offline (EVENT= -1) 4591 : Info : EVENT: Humidifier_Status#State=-1 4647 : Info : SYS : 13552.00 4696 : Info : MCP : Port=7 is offline (EVENT= -1) 4702 : Info : MCP : Port=3 is offline (EVENT= -1) 4712 : Info : EVENT: Ventilation_Fan_Status#State=-1 4782 : Info : MCP : Port=7 is offline (EVENT= -1) 4786 : Info : MCP : Port=3 is offline (EVENT= -1) 4791 : Info : EVENT: Humidifier_Status#State=-1 4881 : Info : MCP : Port=7 is offline (EVENT= -1) 4886 : Info : MCP : Port=3 is offline (EVENT= -1) 4891 : Info : EVENT: Ventilation_Fan_Status#State=-1 4982 : Info : MCP : Port=7 is offline (EVENT= -1) 4987 : Info : MCP : Port=3 is offline (EVENT= -1) 4992 : Info : EVENT: Humidifier_Status#State=-1 5117 : Info : MCP : Port=7 is offline (EVENT= -1) 5125 : Info : MCP : Port=3 is offline (EVENT= -1) 5130 : Info : EVENT: Ventilation_Fan_Status#State=-1 5182 : Info : MCP : Port=7 is offline (EVENT= -1) 5186 : Info : MCP : Port=3 is offline (EVENT= -1) 5191 : Info : EVENT: Humidifier_Status#State=-1 5282 : Info : MCP : Port=7 is offline (EVENT= -1) 5286 : Info : MCP : Port=3 is offline (EVENT= -1) 5291 : Info : EVENT: RAM#RAM=17616.00 5380 : Info : BMx280 : Unable to detect chip ID (255, failed) 5381 : Info : BMx280 : Unable to detect chip ID (255, failed) 5386 : Info : MCP : Port=7 is offline (EVENT= -1) 5391 : Info : MCP : Port=3 is offline (EVENT= -1) 5395 : Info : EVENT: Ventilation_Fan_Status#State=-1 5510 : Info : MCP : Port=7 is offline (EVENT= -1) 5514 : Info : MCP : Port=3 is offline (EVENT= -1) 5520 : Info : EVENT: Humidifier_Status#State=-1 5535 : Info : SHT3x: Temperature: nan 5536 : Info : SHT3x: Humidity: nan 5538 : Error : Calculate: Unknown token 5878 : Info : MHZ19: Unknown response: 0 0 0 0 0 0 0 0 0 5883 : Info : MCP : Port=7 is offline (EVENT= -1) 5888 : Info : MCP : Port=3 is offline (EVENT= -1) 5892 : Info : EVENT: Ventilation_Fan_Status#State=-1 5906 : Info : SYS : 12096.00 5983 : Info : MCP : Port=7 is offline (EVENT= -1) 5988 : Info : MCP : Port=3 is offline (EVENT= -1) 5993 : Info : EVENT: Humidifier_Status#State=-1 6098 : Info : MCP : Port=7 is offline (EVENT= -1) 6103 : Info : MCP : Port=3 is offline (EVENT= -1) 6111 : Info : EVENT: Ventilation_Fan_Status#State=-1 6183 : Info : MCP : Port=7 is offline (EVENT= -1) 6188 : Info : MCP : Port=3 is offline (EVENT= -1) 6193 : Info : EVENT: Humidifier_Status#State=-1 6284 : Info : MCP : Port=7 is offline (EVENT= -1) 6288 : Info : MCP : Port=3 is offline (EVENT= -1) 6293 : Info : EVENT: Ventilation_Fan_Status#State=-1 6383 : Info : BMx280 : Unable to detect chip ID (255, failed) 6384 : Info : BMx280 : Unable to detect chip ID (255, failed) 6388 : Info : MCP : Port=7 is offline (EVENT= -1) 6393 : Info : MCP : Port=3 is offline (EVENT= -1) 6398 : Info : EVENT: Humidifier_Status#State=-1 6511 : Info : MCP : Port=7 is offline (EVENT= -1) 6517 : Info : MCP : Port=3 is offline (EVENT= -1) 6522 : Info : EVENT: Ventilation_Fan_Status#State=-1 6583 : Info : MCP : Port=7 is offline (EVENT= -1) 6588 : Info : MCP : Port=3 is offline (EVENT= -1) 6593 : Info : EVENT: Humidifier_Status#State=-1 6650 : Info : SYS : 11360.00 6684 : Info : MCP : Port=7 is offline (EVENT= -1) 6688 : Info : MCP : Port=3 is offline (EVENT= -1) 6692 : Info : EVENT: Ventilation_Fan_Status#State=-1 6783 : Info : MCP : Port=7 is offline (EVENT= -1) 6788 : Info : MCP : Port=3 is offline (EVENT= -1) 6793 : Info : EVENT: Humidifier_Status#State=-1 6905 : Info : MCP : Port=7 is offline (EVENT= -1) 6910 : Info : MCP : Port=3 is offline (EVENT= -1) 6915 : Info : EVENT: Ventilation_Fan_Status#State=-1 6984 : Info : MCP : Port=7 is offline (EVENT= -1) 6988 : Info : MCP : Port=3 is offline (EVENT= -1) 6993 : Info : EVENT: Humidifier_Status#State=-1 7084 : Info : MCP : Port=7 is offline (EVENT= -1) 7088 : Info : MCP : Port=3 is offline (EVENT= -1) 7093 : Info : EVENT: Ventilation_Fan_Status#State=-1 7186 : Info : MCP : Port=7 is offline (EVENT= -1) 7190 : Info : MCP : Port=3 is offline (EVENT= -1) 7195 : Info : EVENT: Humidifier_Status#State=-1 7314 : Info : MCP : Port=7 is offline (EVENT= -1) 7321 : Info : MCP : Port=3 is offline (EVENT= -1) 7326 : Info : EVENT: Ventilation_Fan_Status#State=-1 7374 : Info : BMx280 : Unable to detect chip ID (255, failed) 7375 : Info : BMx280 : Unable to detect chip ID (255, failed) 7383 : Info : MCP : Port=7 is offline (EVENT= -1) 7387 : Info : MCP : Port=3 is offline (EVENT= -1) 7392 : Info : EVENT: Humidifier_Status#State=-1 7484 : Info : MCP : Port=7 is offline (EVENT= -1) 7489 : Info : MCP : Port=3 is offline (EVENT= -1) 7493 : Info : EVENT: Ventilation_Fan_Status#State=-1 7584 : Info : MCP : Port=7 is offline (EVENT= -1) 7589 : Info : MCP : Port=3 is offline (EVENT= -1) 7593 : Info : EVENT: Humidifier_Status#State=-1 7647 : Info : SYS : 9944.00 7710 : Info : MCP : Port=7 is offline (EVENT= -1) 7715 : Info : MCP : Port=3 is offline (EVENT= -1) 7719 : Info : EVENT: RAM#RAM=15712.00 7784 : Info : MCP : Port=7 is offline (EVENT= -1) 7788 : Info : MCP : Port=3 is offline (EVENT= -1) 7793 : Info : EVENT: Ventilation_Fan_Status#State=-1 7883 : Info : MCP : Port=7 is offline (EVENT= -1) 7888 : Info : MCP : Port=3 is offline (EVENT= -1) 7893 : Info : EVENT: Humidifier_Status#State=-1 7985 : Info : MCP : Port=7 is offline (EVENT= -1) 7989 : Info : MCP : Port=3 is offline (EVENT= -1) 7994 : Info : EVENT: WiFi#ChangedAccesspoint 8114 : Info : MCP : Port=7 is offline (EVENT= -1) 8119 : Info : MCP : Port=3 is offline (EVENT= -1) 8124 : Info : EVENT: WiFi#ChangedWiFichannel 8184 : Info : MCP : Port=7 is offline (EVENT= -1) 8190 : Info : MCP : Port=3 is offline (EVENT= -1) 8195 : Info : EVENT: WiFi#Connected 8283 : Info : MCP : Port=7 is offline (EVENT= -1) 8291 : Info : MCP : Port=3 is offline (EVENT= -1) 8296 : Info : EVENT: RAM#RAM=14616.00 8374 : Info : EVENT: Clock#Time=Tue,03:41 8384 : Info : BMx280 : Unable to detect chip ID (255, failed) 8385 : Info : BMx280 : Unable to detect chip ID (255, failed) 8389 : Info : MCP : Port=7 is offline (EVENT= -1) 8395 : Info : MCP : Port=3 is offline (EVENT= -1) 8400 : Info : EVENT: Ventilation_Fan_Status#State=-1 8506 : Info : MCP : Port=7 is offline (EVENT= -1) 8511 : Info : MCP : Port=3 is offline (EVENT= -1) 8515 : Info : EVENT: Humidifier_Status#State=-1 8584 : Info : MCP : Port=7 is offline (EVENT= -1) 8588 : Info : MCP : Port=3 is offline (EVENT= -1) 8593 : Info : EVENT: Ventilation_Fan_Status#State=-1 8648 : Info : SYS : 7760.00 8683 : Info : MCP : Port=7 is offline (EVENT= -1) 8687 : Info : MCP : Port=3 is offline (EVENT= -1) 8692 : Info : EVENT: Humidifier_Status#State=-1 8783 : Info : MCP : Port=7 is offline (EVENT= -1) 8788 : Info : MCP : Port=3 is offline (EVENT= -1) 8793 : Info : EVENT: Ventilation_Fan_Status#State=-1 8903 : Info : MCP : Port=7 is offline (EVENT= -1) 8908 : Info : MCP : Port=3 is offline (EVENT= -1) 8914 : Info : EVENT: Humidifier_Status#State=-1 8984 : Info : MCP : Port=7 is offline (EVENT= -1) 8988 : Info : MCP : Port=3 is offline (EVENT= -1) 8993 : Info : EVENT: Ventilation_Fan_Status#State=-1 9084 : Info : MCP : Port=7 is offline (EVENT= -1) 9088 : Info : MCP : Port=3 is offline (EVENT= -1) 9096 : Info : EVENT: Humidifier_Status#State=-1 9183 : Info : MCP : Port=7 is offline (EVENT= -1) 9188 : Info : MCP : Port=3 is offline (EVENT= -1) 9193 : Info : EVENT: Ventilation_Fan_Status#State=-1 9310 : Info : MCP : Port=7 is offline (EVENT= -1) 9318 : Info : MCP : Port=3 is offline (EVENT= -1) 9325 : Info : EVENT: Humidifier_Status#State=-1 9374 : Info : BMx280 : Unable to detect chip ID (255, failed) 9377 : Info : BMx280 : Unable to detect chip ID (255, failed) 9383 : Info : MCP : Port=7 is offline (EVENT= -1) 9390 : Info : MCP : Port=3 is offline (EVENT= -1) 9396 : Info : EVENT: Ventilation_Fan_Status#State=-1 9484 : Info : MCP : Port=7 is offline (EVENT= -1) 9492 : Info : MCP : Port=3 is offline (EVENT= -1) 9500 : Info : EVENT: Humidifier_Status#State=-1 9583 : Info : MCP : Port=7 is offline (EVENT= -1) 9590 : Info : MCP : Port=3 is offline (EVENT= -1) 9597 : Info : EVENT: Time#Set 9647 : Info : SYS : 5216.00 9707 : Info : MCP : Port=7 is offline (EVENT= -1) 9713 : Info : MCP : Port=3 is offline (EVENT= -1) 9720 : Info : EVENT: Ventilation_Fan_Status#State=-1 9783 : Info : MCP : Port=7 is offline (EVENT= -1) 9790 : Info : MCP : Port=3 is offline (EVENT= -1) 9797 : Info : EVENT: Humidifier_Status#State=-1 9883 : Info : MCP : Port=7 is offline (EVENT= -1) 9892 : Info : MCP : Port=3 is offline (EVENT= -1) 9900 : Info : EVENT: Ventilation_Fan_Status#State=-1 10018 : Info : MCP : Port=7 is offline (EVENT= -1) 10024 : Info : MCP : Port=3 is offline (EVENT= -1) 10032 : Info : EVENT: Humidifier_Status#State=-1 10083 : Info : MCP : Port=7 is offline (EVENT= -1) 10090 : Info : MCP : Port=3 is offline (EVENT= -1) 10096 : Info : EVENT: RAM#RAM=13552.00 10183 : Info : MCP : Port=7 is offline (EVENT= -1) 10191 : Info : MCP : Port=3 is offline (EVENT= -1) 10200 : Info : EVENT: Ventilation_Fan_Status#State=-1 10283 : Info : MCP : Port=7 is offline (EVENT= -1) 10290 : Info : MCP : Port=3 is offline (EVENT= -1) 10296 : Info : EVENT: Humidifier_Status#State=-1 10374 : Info : BMx280 : Unable to detect chip ID (255, failed) 10376 : Info : BMx280 : Unable to detect chip ID (255, failed) 10511 : Error : HTTP : C001 Error: could not write to client (0/259) 10518 : Info : MCP : Port=7 is offline (EVENT= -1) 10527 : Info : MCP : Port=3 is offline (EVENT= -1) 10535 : Info : EVENT: Ventilation_Fan_Status#State=-1 10555 : Info : SHT3x: Temperature: nan 10558 : Info : SHT3x: Humidity: nan 10561 : Error : Calculate: Unknown token 10699 : Error : HTTP : C001 Error: could not write to client (0/259) 11020 : Info : MHZ19: Unknown response: 0 0 0 0 0 0 0 0 0 11028 : Info : MCP : Port=7 is offline (EVENT= -1) 11034 : Info : MCP : Port=3 is offline (EVENT= -1) 11040 : Info : EVENT: Humidifier_Status#State=-1 11060 : Info : SYS : 0.00,11.00,100.00,3360.00 11072 : Info : SYS : 3168.00

11218 : Info : MCP : Port=7 is offline (EVENT= -1) 11226 : Info : MCP : Port=3 is offline (EVENT= -1) 11233 : Info : EVENT: Ventilation_Fan_Status#State=-1 11248 : Info : MCP : Port=7 is offline (EVENT= -1) 11254 : Info : MCP : Port=3 is offline (EVENT= -1) 11262 : Info : EVENT: Humidifier_Status#State=-1

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (29): epc1=0x4000df64 epc2=0x00000000 epc3=0x40000f68 excvaddr=0x00000000 depc=0x00000000

stack>>>

ctx: sys sp: 3ffffc40 end: 3fffffb0 offset: 0190 3ffffdd0: 00000005 3ffeed68 00000002 40100cfc 3ffffde0: 402b10cb 00000000 00000005 402b1060 3ffffdf0: 00000002 402b1007 00000002 402b0164 3ffffe00: 402b018d 3ffffeb0 3ffeed68 00000016 3ffffe10: 402adc00 3ffffeb0 3ffeec14 3ffee618 3ffffe20: 3ffec970 3ffffeb0 3ffffeb0 00040000 3ffffe30: 65736544 4d5f7472 5f6e6f6f 6d726146 3ffffe40: 3ffe0073 7fffffff 00002200 00000001 3ffffe50: 402a9f6d 00000080 00000022 3fff2e56 3ffffe60: ffffffda 3ffee728 3ffec980 3ffeed68 3ffffe70: 3ffedb08 0000003a 00000000 402ae8f7 3ffffe80: 00000000 3fff31c4 ffffffda 00000000 3ffffe90: 00000000 3ffeed68 00000017 ffffffff 3ffffea0: 40000f58 00000000 00000020 00000000 3ffffeb0: 00000000 08310b0b 00640102 00000072 3ffffec0: 3ffec994 00000102 3ffec9d6 3ffec988 3ffffed0: 3ffec9ba 3ffec994 3ffec9a7 3ffec9b4 3ffffee0: 00000000 00000000 3ffec9dc 3ffeca6c 3ffffef0: 3ffeca1e 3ffeca3a 00000000 3ffec9f2 3fffff00: 00000000 00000000 0000003a 00000000 3fffff10: 3fff346c 402ae36a 3ffedb08 3fff31c4 3fffff20: 00000000 3ffeed68 3ffedb08 3ffec970 3fffff30: 3ffec970 0000012a 00000000 0000003a 3fffff40: 00000000 3ffec97a 402b7ea7 3ffedb08 3fffff50: 3ffec964 3fffdcc0 3ffea230 3ffea230 3fffff60: 00000080 3ffedb08 00000000 3ffe86c4 3fffff70: 402b7767 3fffdab0 00000000 4028280c 3fffff80: 3ffea230 40000f49 3fffdab0 40000f49 3fffff90: 40000e19 00000005 000ee4ec 00000000 3fffffa0: 3fff1800 aa55aa55 000000f7 4010555d <<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3584, room 16 tail 0 chksum 0xb0 csum 0xb0 v2843a5ac ~ld ¬U76 : Info :

INIT : Booting version: pygit2_not_installed (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 77 : Info : INIT : Free RAM:32912 78 : Info : INIT : Exception #21 - Restart Reason: Exception 79 : Info : FS : Mounting... 104 : Info : FS : Mount successful, used 76053 bytes of 957314 122 : Info : CRC : SecuritySettings CRC ...OK 125 : Info : WiFi : Start network scan all channels 242 : Info : INIT : Free RAM:29424 242 : Info : INIT : I2C 243 : Info : INIT : SPI not enabled 270 : Info : MCP INIT=-1 274 : Info : MCP INIT=-1 277 : Info : MCP INIT=-1 282 : Info : MHZ19: Init OK 517 : Info : INFO : Plugins: 77 [Normal] [Testing] [TEST_A] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) 519 : Info : EVENT: System#Wake 557 : Info : Webserver: start 559 : Info : Time set to 1627357262.000 560 : Info : Current Time Zone: STD time start: 2021-10-31 03:00:00 offset: 0 min 563 : Info : Local time: 2021-07-27 03:41:02 564 : Info : EVENT: System#Boot`

tonhuisman commented 3 years ago

Seeing the SYS values (Free memory I assume) drop by that kind of figures, it looks like you have a loop in your rules, can you share your rules?

Humanoid-XXX commented 3 years ago

The rules are below.

on System#Boot do Gpio,16,0 Gpio,16,1 PWM,13,975 mcpgpio,1,0 // Fruiting 1 Ventilation Out On mcpgpio,2,0 // Humidifier UV Sterilizer mcpgpio,4,0 // Lights On endon

Humanoid-XXX commented 3 years ago

@TD-er @tonhuisman

Ok after reflashing directly through usb... it is still restarting .... this time with a different reason: Hardware Watchdog

Unit Number: | 0 -- | -- Local Time: | 2021-07-27 07:21:05 Uptime: | 0 days 0 hours 3 minutes Load: | 25.24% (LC=1518) CPU Eco Mode: | false Boot: | External Watchdog (6) Reset Reason: | Hardware Watchdog Last Action before Reboot: | 3 timer, id: 5 SW WD count: | 0 Memory Free RAM: | 15656 Heap Max Free Block: | 12432 Heap Fragmentation: | 20% Free Stack: | 3680 Network IP Config: | Static Connected: | 3 m 24 s Number Reconnects: | 0 WiFi ❔ WiFi Connection: | 802.11n (RSSI -68 dBm) Channel: | 11 Encryption Type: | WPA2/PSK Last Disconnect Reason: | (1) Configured SSID2: |   WiFi Settings Force WiFi B/G: | false Restart WiFi Lost Conn: | false Force WiFi No Sleep: | false Periodical send Gratuitous ARP: | false Connection Failure Threshold: | 0 Max WiFi TX Power: | 17.50 Current WiFi TX Power: | 14.00 WiFi Sensitivity Margin: | 3 Send With Max TX Power: | false Extra WiFi scan loops: | 0 Periodical Scan WiFi: | false Firmware Build:⋄ | 20114 - Mega System Libraries:⋄ | ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support Git Build:⋄ | pygit2_not_installed Plugin Count:⋄ | 77 [Normal] [Testing] [TEST_A] Build Origin: | GitHub Actions Build Time:⋄ | Jun 15 2021 10:31:25 Binary Filename:⋄ | ESP_Easy_mega_20210615_test_A_ESP8266_4M1M Build Platform:⋄ | Linux-5.4.0-54-generic-x86_64-with-glibc2.29 Git HEAD:⋄ | pygit2_not_installed System Status Syslog Log Level: | None Serial Log Level: | Info Web Log Level: | None Network Services Network Connected: | ✔ NTP Initialized: | ✔ ESP Board ESP Chip ID: | 2447751 (0x255987) ESP Chip Frequency: | 80 MHz ESP Chip Model: | ESP8266 ESP Chip Cores: | 1 ESP Board Name: | PLATFORMIO_ESP12E Storage Flash Chip ID: | Vendor: 0x20 Device: 0x4016 Flash Chip Real Size: | 4096 kB Flash IDE Size: | 4096 kB Flash IDE Speed: | 40 MHz Flash IDE Mode: | DOUT Flash Writes: | 2 daily / 4 boot Sketch Size: | 953 kB (2116 kB free) Max. OTA Sketch Size: | 1019 kB (1044464 bytes) OTA possible: | true OTA 2-step Needed: | false SPIFFS Size: | 934 kB (844 kB free)
tonhuisman commented 3 years ago

Next methodical approach could be to disable all plugins, enable 1 and test for a while, and repeat enabling 1 and testing until you find the culprit. It seems one of the plugins is eating the memory or otherwise going haywire.

Humanoid-XXX commented 3 years ago

It has been reliable when i used the non test build before i started using the SHT35. However, i need to use the SHT35. I have been tring to make a custom build with just the plugins that i use, PWM, MCP23017, BME280, SHT35, MHZ-19 but i cant figure out why platformio will not build without errors,

thank you for the help

`> Executing task in folder source: C:\Users\HumanoidX.platformio\penv\Scripts\platformio.exe run --environment custom_ESP8266_4M1M <

Error: Traceback (most recent call last): File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio__main.py", line 109, in main cli() # pylint: disable=no-value-for-parameter File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\core.py", line 829, in call return self.main(args, kwargs) File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\core.py", line 782, in main rv = self.invoke(ctx) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\commands__init__.py", line 44, in invoke return super(PlatformioCLI, self).invoke(ctx) File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\core.py", line 1256, in invoke Command.invoke(self, ctx) File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\core.py", line 1066, in invoke return ctx.invoke(self.callback, ctx.params) File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\core.py", line 610, in invoke return callback(args, *kwargs) File "c:\users\humanoidx.platformio\penv\lib\site-packages\click\decorators.py", line 21, in new_func return f(get_current_context(), args, **kwargs) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\main.py", line 63, in cli maintenance.on_platformio_start(ctx, force, caller) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\maintenance.py", line 48, in on_platformio_start telemetry.on_command() File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\telemetry.py", line 292, in on_command resend_backuped_reports() File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\telemetry.py", line 443, in resend_backuped_reports tm = app.get_state_item("telemetry", {}) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\app.py", line 191, in get_state_item with State() as state: File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\app.py", line 94, in init__ self.path = join(get_project_core_dir(), "appstate.json") File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\project\helpers.py", line 52, in get_project_core_dir ).get_optional_dir("core", exists=True) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\project\config.py", line 389, in get_optional_dir result = self._get_core_dir(exists) File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\project\config.py", line 380, in _get_core_dir raise e File "c:\users\humanoidx.platformio\penv\lib\site-packages\platformio\project\config.py", line 374, in _get_core_dir os.makedirs(core_dir) File "C:\Users\HumanoidX.platformio\python3\lib\os.py", line 223, in makedirs mkdir(name, mode) FileNotFoundError: [WinError 3] The system cannot find the path specified: ''`

Humanoid-XXX commented 3 years ago

Maybe its important to note that they do often restart but also often will just freeze up and have to be manually reset.

TD-er commented 3 years ago

It looks like you might have some issues with I2C as I see a lot of reports of sensors that cannot be found. Can you test by running an I2C scan? If the bus is in a locked state, you will see an error on all I2C addresses. Not sure what all plugins may do if the sensor doesn't reply in an expected way.

Humanoid-XXX commented 3 years ago

It looks like you might have some issues with I2C as I see a lot of reports of sensors that cannot be found. Can you test by running an I2C scan? If the bus is in a locked state, you will see an error on all I2C addresses. Not sure what all plugins may do if the sensor doesn't reply in an expected way.

That log was just when I had the ESP unplugged from the sensors to update via serial. when its plugged into the sensors i dont have access to the usb port.

So I disabled the SHT3X plugin on the latest build and the ESP works fine, no reboots.

I tried the ESP_Easy_mega_20200913_test_ESP8266_4M1M_VCC build and surprisingly it worked all night without issue,

So atleast I found a temporary solution for me..... but still on 2 different esp8266's the newest builds do not work with the SHT3X pluggin. Let me know if there is anything i can do to help.

TD-er commented 3 years ago

Ah that's a great hint of where to look for recent changes... or how you may call "last year of changes", maybe "recent" isn't the best term here.