gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
371 stars 133 forks source link

Esp32 serial logging #203

Closed andrewleech closed 1 year ago

andrewleech commented 1 year ago

I was testing a new build of this project on a generic esp32 board and to be sure I had the uart connected correctly on my CN105 cable I jumpered it to a separate usb-serial converter. This is what I saw on the console after clicking around the webui:

I%]\xf8M0\x81\t4\xa2\xa74\xa2\xa2O\xc9F\xf4\xf1z%\x97%\Q\xfc\x8eR\xf5\xaf\xbe\xe6x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8x\xf8xx\x80\x80xxx\xfcZ0\xca\xa8[546035][E][WebServer.cpp:649] _handleRequest(): request handler not found
[549335][E][WebServer.cpp:649] _handleRequest(): request handler not found
[552414][E][WebServer.cpp:649] _handleRequest(): request handler not found

I saw Tasmota actually had the same issue a while back, it's an esp32 thing: https://github.com/arendst/Tasmota/commit/761332d286802c6975c1b9108e6c00aa92855230

I've copied their fix here.

gysmo38 commented 1 year ago

Thank for your PR. I do not have ESP32 so I accept without test it.