Verfasste Forenbeiträge

Ansicht von 7 Beiträgen - 1 bis 7 (von insgesamt 7)
  • Autor
    Beiträge
  • als Antwort auf: MLC – Fehler beim Kompilieren #5169
    volkmar weissvolkmar weiss
    Teilnehmer

    Sorry das ich jetzt erst antworte, sonst krieg ich bei Antworten immer eine Email, diesmal nicht. Ich habe die Firmware 0.5.1 nochmal runtergeladen und die Bibliotheken wie beschrieben in der Version installiert. Trotzdem bekomme ich immer die oben genannte Fehlermeldung beim kompilieren. Wäre nett wenn du nochmal drübergucken könntest.

    als Antwort auf: controller_config.json #4970
    volkmar weissvolkmar weiss
    Teilnehmer

    Solved my problems now. If anyone else has, here are some tips. Edit the mosquitto.conf with a program with admin rights (e.g. Notepad++) I had the commands allow_anonymous true
    listener 1883 written in there but they are only accepted if the file was edited with admin rights.
    Then I have the Sbrick app on my cell phone, which shows completely different MAC addresses with 2 Sbricks (wrong) than in the serial monitor on the Arduino (correct). SBrick also has the assignment of the ports differently than Mattze, in the controller config there is port B and D and in the Sbrick app it is A and C. And the strange thing is, I have 2 Sbricks, an old version and a new one, one has A and C and one has B and D so that it works, despite the same configuration in the config file.

    Hab jetzt meine Probleme gelöst. Falls die noch jemand hat , hier einige Tipps. Die mosquitto.conf unbedingt mit einem Programm mit Adminrechten bearbeiten (z.b. Notepad++) ich hatte die Befehle allow_anonymous true
    listener 1883 da reingeschrieben aber die werden nur angenommen wenn die Datei mit Adminrechten bearbeitet wurde.
    Dann habe ich die Sbrick App auf dem Handy , die zeigt mit bei 2 Sbricks ganz andere MAC Adressen an (falsche) als im seriellen Monitor bei Arduino (richtig) . Auch die Belegung der Ports hat SBrick wohl anders als Mattze , in der controller config steht Port B und D und in der Sbrick App ist das A und C . Und das ganz merkwürdige ist, ich habe 2 Sbricks, eine alte Version und eine neue, bei einer ist A und C und bei einer B und D belegt damit es funktioniert, trotz gleicher Konfiguration in der config Datei..

    • Diese Antwort wurde geändert vor 2 Jahren, 3 Monaten von volkmar weissvolkmar weiss.
    als Antwort auf: controller_config.json #4961
    volkmar weissvolkmar weiss
    Teilnehmer

    yes, that’s what I thought too and I set mosquitto as allowed on the firewall, the mqtt error is gone now too. Now I just have to figure out why the train isn’t moving. Locomotive is created, track created, vc-1 selected as control center, but nothing moves. MQTT with localhost and port 1883 is set in the Rocrail properties. forget something?

    als Antwort auf: controller_config.json #4947
    volkmar weissvolkmar weiss
    Teilnehmer

    I had done that before, but I think you only have to do that for the Powerfunctions version, because Arduino is used there and VSCode is used for the Bluetooth version

    als Antwort auf: controller_config.json #4942
    volkmar weissvolkmar weiss
    Teilnehmer

    Many thanks for the help and suggestions, it’s in the mosquitto.conf, but not in the VS code. Where else does it have to be?

    als Antwort auf: controller_config.json #4940
    volkmar weissvolkmar weiss
    Teilnehmer

    192.168.0.210 is the laptop where runs MQTT and Rocview
    192.168.0.233 is the ip address that the esp32 gets from the fritzbox.

    in the network_config.json
    server and broker ip : 192.168.0.210

    als Antwort auf: controller_config.json #4938
    volkmar weissvolkmar weiss
    Teilnehmer

    Thanks for the help with the Mac addresses, I think that worked.
    It also connects to the SBrick but then comes the same MQTT error message, no matter if it is started as a service or manually.

Ansicht von 7 Beiträgen - 1 bis 7 (von insgesamt 7)