How to check a "config reset because of boot loop" in TuyaMCU #17625
Replies: 7 comments 116 replies
-
Sorry, anyone has any key? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, I have seen this code: xdrv_08_serial_bridge.ino
That is called in AddLogData in support.ino
So I supposed that tasmota is prepared to log to "hardware serial" and to "software serial bridge" if it is defined. And also, in tasmota.ino I can see:
and
Here tasmota defines the Serial output for its logs. I am not an expert, but any of you ... could you tell me if any of these options will work?:
Could anyone who knows well Tasmota's code internals guide me? Thanks. Possible option 4 (replace Serial with Serial1 for TasConsole):
and
|
Beta Was this translation helpful? Give feedback.
-
Hi sorry for the delay. I have compiled with gitpod to check your PR. Reset 6, configure syslog 4 and syslog server IP and only configure TUYAMCU (54) (I have not configured any pins) and ..... reboots appears again!. (sorry) (led and button pis are NOT soldered to ESP12F, but also not configured) This is the output in syslog 4. Main lineas:
Whole syslog:
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have just compiled the developement branch after #17745 was merged. I have still got some reboots. You can see here these ones (one every X minutes):
There is another strange thing as I have more boot count than INFO MQTT messages (may be syslog server problem? I don't know):
Full log
|
Beta Was this translation helpful? Give feedback.
-
Hi @barbudor , just in case, in previous message I have included a log to show that if I connect to an mqtt server in tasmota, I can't get the same log from tasmota as if I dont connect to the broker. I can't get the same commands from TuyaMCU, so I think that we may update code in developement branch to work with an mppt connection in our tasmotas. I dont know if I am explaning well. All my previous tests were always without connecting to an mqtt broker. Bye |
Beta Was this translation helpful? Give feedback.
-
Hi, any news @barbudor , thanks a lot |
Beta Was this translation helpful? Give feedback.
-
I have the exact same device. If I hadn't read this, I wouldn't have known that when transplanting a new ESP chip you have to compile a custom firmware to support both Tuya MCU and the IR functions.. but also this reset thing, I wouldn't have figured out that you mustn't solder to Reset pin. The additional pin configurations for led and button as well.. Thank you all who contributed to this discussion and Tasmota code itself!! |
Beta Was this translation helpful? Give feedback.
-
Hi, any key to check a problem related with this: #17562
If I select TUYA DEVICE in module configuration..... I get my config reseted because of a boot loop.
If I desoldered TX pin of Tasmota from RX pin of TuyaMCU could I sniff serial debug log from TASMOTA to understant why it is resetting my config?
Or I can't because of "I need that TX pin connected to RX of TuyaMCU to "get" that boot loop"?
Could I make anything with weblog? Not to be clear after reset or something like that.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions