martin-ger / esp_mqtt

MQTT Broker/Bridge on the ESP8266
MIT License
293 stars 68 forks source link

Terminal access works, but broker does not accept commands (show etc..) #67

Closed 17Micha closed 2 years ago

17Micha commented 2 years ago

Good day, after flashing a D1 Mini Pro (16MB), the broker seems to start as desired. AP MyAP is shown and displayed. You can also connect to it. Also a terminal access "Serial" works (e.g. via Putty),Terminal access works, but the broker does not accept commands (Show etc..).

Why?

martin-ger commented 2 years ago

Can you enter chars? Something with the terminal settings concerning Newline/Enter?

17Micha commented 2 years ago

The characters /commands are in the terminal window, but there is no reaction. After several reflashes, I was able to set up STA. But after the reset the same situation happened again. Commands are not processed.

martin-ger commented 2 years ago

Guess, it is a problem of the terminal settings.

17Micha commented 2 years ago

Sorry. The question is why. Every other terminal functionality with other devices works without any problem, without changing any settings.

martin-ger commented 2 years ago

Don't know - it works for me and many others. Have you tried it with the Arduino terminal?

17Micha commented 2 years ago

yes with Putty and Arduino.

I think that it probably gets too many messages from the clients after the old Raspi MQTT worked and therefore does not respond.

I now have to create a solution for me in the short term before I can get more time in your great project (thanks for the work). That's why I use the image.

I always use only D1 Mini Pro with 16MB to have enough possibilities. I probably have to change everything in my environment (Topic etc.). But for that I have to find out which of the messages are the problem.

Is there a way to display the complete received message in the terminal to see where the errors are coming from? Can I change the message length?

...

Got NTP server: 188.68.36.203 MQTT: Message too short/long MQTT: Message too short/long MQTT: Message too short/long MQTT: Message too short/long MQTT: Message too short/long MQTT: Message too short/long vPortFree 515 line assert fail MQTT: Message too short/long Fatal exception 29(StoreProhibitedCause): epc1=0x4000df64, epc2=0x000000, epc3=0x000000, excvaddr=0x000000, depc=0x000000 ⸮ ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 30196, room 16 tail 4 chksum 0xaf load 0x3ffe8000, len 2124, room 4 tail 8 chksum 0x9b load 0x3ffe8850, len 10060, room 0 tail 12 chksum 0x9f csum 0x9f

17Micha commented 2 years ago

Fehler gefunden...