geoffdavis / esphome-mitsubishiheatpump

ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection
BSD 2-Clause "Simplified" License
583 stars 156 forks source link

Wemos D1 mini clone - reset loop after flash #63

Closed thedesp closed 2 years ago

thedesp commented 2 years ago

I tried to flash my D1 mini clones. They are working fine with my other esphome projects

All I get from ESPHome Flasher after flashig was a loop of:

[21:53:57][21:53:57] ets Jan  8 2013,rst cause:4, boot mode:(3,6)
[21:53:57]
[21:53:57]wdt reset
[21:53:57]load 0x4010f000, len 3460, room 16 
[21:53:57]tail 4
[21:53:57]chksum 0xcc
[21:53:57]load 0x3fff20b8, len 40, room 4 
[21:53:57]tail 4
[21:53:57]chksum 0xc9
[21:53:57]csum 0xc9
[21:53:57]v0006c7f0
[21:53:57]~ld

So I went back and turn on uart logging and get a little bit more info during the loop, each iteration was 15 seconds apart:

[23:32:45][C][MitsubishiHeatPump:449]: h[23:32:45] ets Jan  8 2013,rst cause:4, boot mode:(3,6)
[23:32:45]
[23:32:45]wdt reset
[23:32:45]load 0x4010f000, len 3460, room 16 
[23:32:45]tail 4
[23:32:45]chksum 0xcc
[23:32:45]load 0x3fff20b8, len 40, room 4 
[23:32:45]tail 4
[23:32:45]chksum 0xc9
[23:32:45]csum 0xc9
[23:32:45]v0006f640
[23:32:45]~ld
[23:32:45][I][logger:214]: Log initialized
[23:32:45][C][ota:461]: There have been 7 suspected unsuccessful boot attempts.
[23:32:45][I][app:029]: Running through setup()...
[23:32:45][I][MitsubishiHeatPump:062]: ESPHome MitsubishiHeatPump version 2.4.0
[23:32:45][C][MitsubishiHeatPump:416]: Setting up UART...
[23:32:45][W][MitsubishiHeatPump:048]:   You're using the same serial port for logging and the MitsubishiHeatPump component. Please disable logging over the serial port by setting logger:baud_rate to 0.
[23:32:45][C][MitsubishiHeatPump:428]: Intializing new HeatPump object.
[23:33:00][C][MitsubishiHeatPump:449]: h[23:33:00] ets Jan  8 2013,rst cause:4, boot mode:(3,6)
[23:33:00]
[23:33:00]wdt reset
[23:33:00]load 0x4010f000, len 3460, room 16 
[23:33:00]tail 4
[23:33:00]chksum 0xcc
[23:33:00]load 0x3fff20b8, len 40, room 4 
[23:33:00]tail 4
[23:33:00]chksum 0xc9
[23:33:00]csum 0xc9
[23:33:00]v0006f640
[23:33:00]~ld
[23:33:00][I][logger:214]: Log initialized
[23:33:00][C][ota:461]: There have been 8 suspected unsuccessful boot attempts.
[23:33:00][I][app:029]: Running through setup()...
[23:33:00][I][MitsubishiHeatPump:062]: ESPHome MitsubishiHeatPump version 2.4.0
[23:33:00][C][MitsubishiHeatPump:416]: Setting up UART...
[23:33:00][W][MitsubishiHeatPump:048]:   You're using the same serial port for logging and the MitsubishiHeatPump component. Please disable logging over the serial port by setting logger:baud_rate to 0.
[23:33:00][C][MitsubishiHeatPump:428]: Intializing new HeatPump object.

Any idead on how to fix this?

geoffdavis commented 2 years ago

[23:32:45][W][MitsubishiHeatPump:048]: You're using the same serial port for logging and the MitsubishiHeatPump component. Please disable logging over the serial port by setting logger:baud_rate to 0.

You have to disable logging over the serial port on the 8266. Please see the README for that.