Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wenn MQTT aktiviert kein Webserver mehr erreichbar #132

Closed
hubsi5 opened this issue Aug 8, 2022 · 5 comments
Closed

Wenn MQTT aktiviert kein Webserver mehr erreichbar #132

hubsi5 opened this issue Aug 8, 2022 · 5 comments
Labels
bug Something isn't working fixed dev fixed

Comments

@hubsi5
Copy link

hubsi5 commented Aug 8, 2022

Ich habe ein merkwürdiges Problem.
Es funtkioniert alles am ahoy stick.
Sobald ich aber eine MQTT Verbindung aufbaue, heißt ich den MQTT Server eintrage, wird ahoy noch neu gestartet.
Es steht dann auch MQTT Verbindung ok.
Dann erreiche ich aber die Web Oberfläche von ahoy nicht mehr und er startet auch laufend neu.
Lösche ich dann den MQTT Server in den ahoy Einstellungen wieder, funktioniert wieder alles einwandfrei.
Woran kann das liegen?
Der MQTT Server ist der gleiche wie immer, und bis vor kurzem hat das Ganze noch funktioniert.
Andere Geräte haben mit meinem MQTT Server (iobroker) keine Probleme

@TobiDD79
Copy link

TobiDD79 commented Aug 8, 2022

Welche Version hast du aktuell auf deinem esp laufen?

@hubsi5
Copy link
Author

hubsi5 commented Aug 8, 2022

Die neueste.
Ich versuche die Limitierung über MQTT zu realisieren.
Leider läuft bei mir ahoy generell etwas unstabil :-(

@lumapu
Copy link
Owner

lumapu commented Aug 8, 2022

habe auch sowas ähnliches heute beobachtet, weiß aber noch nicht woran es liegt. Habe das Intervall auf 15s stehen, Mqtt Intervall ist demzufolge 75s. Nach 85s Uptime stürzte der ESP ständig ab und bootete neu, habe leider kein serielles Log.
Die Uptime hat er komischer Weise per MQTT übertragen. Nach ein paar Stunden hat es wieder funktioniert ohne was zu ändern.

Kann eine subscription zum Neustart führen, wenn der MQTT Broker das Topic nicht hat / kennt?

Version 0.5.3

@stefan123t
Copy link
Collaborator

stefan123t commented Aug 9, 2022

@lumapu & @hubsi5 ihr solltet mal das Debugging in der platformio.ini aktivieren.

build_flags = -DDEBUG_ESP_PORT=Serial
	-DDEBUG_ESP_CORE 
	-DDEBUG_ESP_WIFI 
	-DDEBUG_ESP_HTTP_CLIENT 
	-DDEBUG_ESP_HTTP_SERVER 
	-DDEBUG_ESP_OOM 

Eventuell will man auch HTTP_CLIENT UND _SERVER wieder abschalten, da hier sehr viele Zeilen geloggt werden.

Ich speichere es bei mir mit log2file in eine Datei und lese mir diese nachträglich durch, da der Monitor im VSCode/PlatformIO nur einen eingeschränkten Scroll Buffer hat.

monitor_filters = 
	;default   ; Remove typical terminal control codes from input
	time       ; Add timestamp with milliseconds for each new line
	log2file  ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory

@stefan123t
Copy link
Collaborator

@hubsi5 bitte mit der v.0.5.9 überprüfen und ggf. als gelöst schließen. Danke

@hubsi5 hubsi5 closed this as completed Aug 17, 2022
@stefan123t stefan123t added the bug Something isn't working label Aug 30, 2022
@stefan123t stefan123t added ESP ESP8266 / ESP32 related resolved issue resolved labels Sep 12, 2022
@stefan123t stefan123t added fixed dev fixed and removed ESP ESP8266 / ESP32 related resolved issue resolved labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed dev fixed
Projects
None yet
Development

No branches or pull requests

4 participants