Den fehlenden Eintrag rocnetovermqtt habe ich eingetragen.
Klar, dass es ohne dem nicht gehen kann, aber in deiner jetzigen Config Stub war es nicht drin, und ich habe deinen vorigen Beitrag irgendwie vergessen. Sorry.
Die Z21 App kann sich zum Modul hinkonnekten, es ist oben rechts dann grün angehakt.
"Regler" Schieber bewegt sich auch.
(Wenn das Modul nicht an ist, bleibt es oben rechts rot ausgekreuzt.)
Ob es auch korrekt funktioniert mit Loksteuerung per Z21 App, weiß ich nicht, da ich zZ. gerade wieder keinen Lego Hub da habe, aber ich nehme es stark an, denn mit dem anderen Sven-Exemplar hat es funktioniert (siehe ein Paar Beiträge weiter oben) und da hat sich eigentlich nichts geändert.
Ich werde es aber natürlich testen, in dem Moment, wo der neue Hub da ist.
Aber das Modul konnektiert sich anscheinend weiterhin nicht zu MQTT, und bekommt es auch nichts von dort, wenn ich die Lok mit der Adresse 3002 in Rocrail ansteuere. Mosquitto zeigt, dass die Rocrail Befehle ins MQTT herausgehen, aber das "Svenmodul" ignoriert es - bzw "sagt" nichts darüber.
Putty Log hat sich etwas geändert, es sind neue Errors (eigentlich nur eines, aber öfter) drin:
Code: Alles auswählen
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
-------------------------------------------------
[MEM] 243552 / Setup
Started!
Compiledate: Apr 5 2021 11:24:44 v1.2.9-9-gf5ee5ae
[MEM] 243060 / Controller
[MEM] 237592 / Wifi
Starting Wifi...
[MEM] 237572 / Webserver
[MEM] 234556 / Serial
[MEM] 234556 / Cfg
MEM 234028 / Cfg Read
MEM 233272 / Starting Parsing
MEM 231824 wlan
DoubleBootDetection: 0
Wifi status changed: Disconnected => Disconnected [STA] IP:10.0.0.100
Connection to: (Q:0)
Reconnect
MEM 180204 simulateZ21
Starting Z21 Zentrale ...
MEM 179876 rocnetovermqtt
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
MEM 176068 webservicewifiscanner
MEM 175896 webservicelog
MEM 175740 cmdlogger
MEM 175460 lpf2hub
Adding Settings pwm1
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Einträge in Filter Sektion: 0
MEM 158416 locospeed
Register for locospeed
Einträge in Connector-Sektion: 0
MEM 158000 / Closing Parser
MEM 159336 / Cfg-End
[MEM] 159808 Post Config
[MEM] 159976 / Setup Finish
Setup finish!
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Reconnect
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Reconnect
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Reconnect
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Reconnect
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
Server begin
[WiFi-event] event: 5
Disconnected from WiFi access point
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
[WiFi-event] event: 7
Obtained IP address:
[WiFi-event] event: 7
Obtained IP address:
Wifi status changed: Disconnected [STA] => Connected [STA] IP:10.0.0.100
Connection to: 38:22:9D:60:74:FA (Q:-52)
MDNS start
MDNS start: 1
Und danach bleibt er stumm, wie bisher, unabhängig davon, was am MQTT geschieht.
Die Einträge
[E][WiFiUdp.cpp:183] endPacket(): could not send data: 118
sind neu - aber ich kann sie natürlich nicht deuten.
Ach so, im Browser gibt es in diesem FW gar keine "Control" Screen mehr, da ist das Fenster leer (ich weiß du sagtest den soll ich nicht verwenden weil er in der letzten Zeit "vernachlässigt" wurde. Brauche ich auch nicht, fiel mir nur auf als ich im Browser herumgeklickt habe.)
Also viel hat sich vorerst nicht geändert - ich nahm an, dass im Putty Log irgendwelche Spuren des MQTT Verkehrs sichtbar wären (auch wenn er es dem BT Hub nicht weitergeben kann).
Wie kann ich folgen, ob er zum MQTT Server sich verbindet?
Müsste er das nicht irgendwie loggen?
Oder braucht er die Verbindung zum BT Hub dazu?
Meine Frage mit dem Namen hast du vielleicht übersehen: könnte man dem Modul irgendwie in der Config oder sonstwie, einen Namen verpassen?