Forum Replies Created

Viewing 25 posts - 201 through 225 (of 283 total)
  • Author
    Posts
  • in reply to: Firmware Configuration Issues #4019
    Matthias RunteMatthias Runte
    Keymaster

    I am not sure what the problem is. My first suggestion is to that if you used the correct versions of the required libraries as stated in the documentation. I know that some newer versions of some libraries do not work, so the versions are important.

    in reply to: Firmware Configuration Issues #4018
    Matthias RunteMatthias Runte
    Keymaster

    Just use the same Loco Id.

    in reply to: MQTT and Mosquitto Issues #3941
    Matthias RunteMatthias Runte
    Keymaster

    Das freut mich und das Team! Viel Erfolg noch weiterhin!

    in reply to: MQTT and Mosquitto Issues #3938
    Matthias RunteMatthias Runte
    Keymaster

    In der MattzoLayoutController.ino findest Du folgenden Abschnitt:

    // Default values for TrixBrix switches (in case servo angles are not transmitted)
    const int SERVO_MIN_ALLOWED = 50; // minimum accepted servo angle from Rocrail. Anything below this value is treated as misconfiguration and is neglected and reset to SERVO_MIN.
    const int SERVO_MIN = 75; // a good first guess for the minimum angle of TrixBrix servos is 70
    const int SERVO_START = 80; // position after boot-up. For TrixBrix servos, this is more or less the middle position
    const int SERVO_MAX = 85; // a good first guess for the maximum angle of TrixBrix servos is 90
    const int SERVO_MAX_ALLOWED = 120; // maximum accepted servo angle from Rocrail. Anything above this value is treated as misconfiguration and is neglected and reset to SERVO_MAX.

    Um kleinere Werte als 50 zu erlauben, ändere bitte den Wert von SERVO_MIN_ALLOWED. Ich habe diese Parameter als Sicherheit eingeführt, damit unsere User nicht zu viele Weichenmotoren versehentlich verheizen. Gut zu wissen, dass es doch Situationen gibt, in denen kleinere Winkel als 50 notwendig sind. Ich passe den Standard-Wert für die Firmware 0.5 mal auf 45 an.

    Ab Firmware 0.5 werden die Servos voraussichtlich nach ein paar Sekunden ohnehin abschalten und keine Stellkraft mehr erzeugen.

    in reply to: MQTT and Mosquitto Issues #3936
    Matthias RunteMatthias Runte
    Keymaster

    Das Problem ist:
    const char* MQTT_BROKER_IP = “localhost”

    Hier musst Du die IP-Adresse eintragen, auf dem der MQTT läuft, z.B.:

    const char* MQTT_BROKER_IP = “192.168.1.100”

    oder wie auch immer die Adrese von Deinem Rechner lautet.

    Gruß,
    Mattze

    in reply to: MQTT and Mosquitto Issues #3912
    Matthias RunteMatthias Runte
    Keymaster

    Deinstallier mal mosquitto 2.0 wieder… 🙂

    Da läuft noch etwas anderes auf dem MQTT Port, vermutlich der mosquitto 2.0 Service.

    in reply to: MQTT and Mosquitto Issues #3909
    Matthias RunteMatthias Runte
    Keymaster

    Beobachte zunächst mal die Status-LED vom Controller. Wie man die anschließt ist in den Schaltplänen zu sehen. Diese muss ein paar mal blinken und dann ausgehen. Eine blinkende Status LED signalisiert kein Wifi bzw. keine Verbindung zum MQTT Server.

    Hilfreich ist der Debug-Mode von mosquitto (mosquitto -c mosquitto-conf -v bzw. einfach mosquitto -v). Wenn dort keine Nachrichten auflaufen, wenn Du in Rocrail etwas tust, hast Du vermutlich keine Verbindung zum MQTT Server in Rocrail – entweder ein Konfigurationsproblem oder Deine Firewall macht Ärger.

    Wenn auf dem MQTT etwas ankommt, würde ich als nächstes die Firmware mit Serial Debug Level “DEBUG” kompilieren, den Controller per USB am Rechner lassen und die Debug-Nachrichten an der Arduino-Konsole ansehen. Dort siehst Du, ob Kommandos von Rocrail eintreffen und wie diese verarbeitet werden.

    in reply to: MattzoLayoutController #3844
    Matthias RunteMatthias Runte
    Keymaster

    Update:
    – I reviewed the reported problems on board manager 3.0.2.
    – First of all I created a fix for the abs() / fabs() problem, which impacts the level crossing implementation. I did not do regression testing on level crossings yet, but I am quite confident that there are no negative side effects. The fix will be included in the upcoming firmware release 0.5.
    – The firmware compiles with board manager 3.0.2 now, and I can confirm the reported WiFi connectivity problem. I didn’t find a solution yet, but Joos is also working on it and we might find a solution soon.
    – For now I have placed a note in the General Section that only board manager version 2.7.4 is supported, and not version 3.0.0 and above.
    – The root cause might have to do with a major WiFi library change introduced with board manager 3.0.0.

    in reply to: MattzoLayoutController #3843
    Matthias RunteMatthias Runte
    Keymaster

    Lucky to hear that. Good luck with your next steps!

    in reply to: Issues combining items #3830
    Matthias RunteMatthias Runte
    Keymaster

    Thanks for sending me your configuration. The problem here is, that you need to start counting at 1 for each different component type in Rocrail. Imagine you have 1 switch, 2 signal LEDs and 2 sensors. The components may be connected to pin D0, D1/D2 and D3/D4 respectively, but this does not play a role for the correct numbering of the Rocrail ports.

    The numbering for the Rocrail ports should look like this:
    Switch (pin D0): Port 1
    Signal 1 (pin D1): Port 1
    Signal 2 (pin D2): Port 2
    Sensor 1 (pin D3): Port 1
    Sensor 2 (pin D4): Port 2

    As you can see, the pin allocation on the microcontroller does not play a role for the numbering of the Rocrail ports.

    A small lookout: with firmware 0.5, configuration is going to get somewhat easier (I hope).

    in reply to: MattzoLayoutController #3829
    Matthias RunteMatthias Runte
    Keymaster

    Hi Joos,
    hmm, good question. The configuration file looks quite good as far as I see it… in my setups, the MattzoLayoutController with the attached MCP23017 was running without problems, even with a lot of sensors.

    I will build and test some more MattzoLayoutControllers in the upcoming future and test it with firmware 0.5, which is to be released soon. Maybe the problem do not show with firmware 0.5. Let me know if you want to help us testing, then I will grant you early access to the firmware.

    Thanks for the heads up regarding the wiring diagram.

    Cheers,
    Mattze

    in reply to: Boards für die Mattzo #3791
    Matthias RunteMatthias Runte
    Keymaster

    Hallo Stephan,
    bei mir stapeln sich derzeit verschiedene Projekte. Die Boards von Kevin sind super und ich probiere sie auf jeden Fall auch noch aus. Derzeit bin ich leider noch nicht dazu gekommen.

    Danke für Deine Geduld.

    Gruß,
    Mattze

    in reply to: MTC4PU for sbrick #3777
    Matthias RunteMatthias Runte
    Keymaster

    Jepp, it will be ESP-32 based. Please send me an e-mail if you want to have early access to the firmware.

    in reply to: MTC4PU for sbrick #3774
    Matthias RunteMatthias Runte
    Keymaster

    Hi Max,
    a good question and some good news for you: we will publish a new controller soon: the “MTC4BT” (MattzoTrainController for Bluetooth). It handles both LEGO Powered Up and SBricks. So the question is: yes, just may put SBricks in your train.

    There is a promotion on the website (www.mattzobricks.com) for MattzoBricks users to purchase SBricks with a discount. Feel free to use the published voucher code.

    Cheers,
    Mattze

    in reply to: Reichweite Reedsensoren #3760
    Matthias RunteMatthias Runte
    Keymaster

    Hallo allerseits,
    wie oben schon geschrieben ist der springende Punkt die Ausrichtung des Magnetfelds. Dann sollte es keine Probleme mit den Reedsensoren geben. Die Richtung des Magnetfelds ist übrigens auch erheblich wichtiger als die Feldstärke des Magneten. Trotzdem kann es nicht schaden, ggf. mehrere Magnet in Reihe zu schalten. Das macht das Feld stärker und auch geometrisch größer, was in Kurven nicht ganz unwichtig ist.

    Gruß,
    Mattze

    in reply to: RFID Sensoren? #3759
    Matthias RunteMatthias Runte
    Keymaster

    Hi gramels,
    thanks for your appreciation of the project.

    Sure, we have considered using RFID, but the use cases are pretty rare and integrating them into Rocrail would require some significant and in-depth changes to the way we are handling Rocrail messages. We might tackle this in the future, but presently we do not have plans to support RFId.

    Cheers,
    Mattze

    in reply to: Controller ESP8266 und ESP32 #3758
    Matthias RunteMatthias Runte
    Keymaster

    Hallo Marcus,
    freut mich! Viel Erfolg noch!

    Gruß,
    Mattze

    in reply to: Unable to connect rocrail to mosquitto. #3757
    Matthias RunteMatthias Runte
    Keymaster

    Something like that. Check https://mattzobricks.com/automation/controllers/general, section “MQTT”.

    Matthias RunteMatthias Runte
    Keymaster

    Hallo Hans-Joachim und alle,
    zunächst einmal großen Dank, dass Du unsere Technologie für Deine Anlagensteuerung adoptierst und sogar mit Deinen eigenen Signalen anreicherst. Typen wie Du sind der Grund, wieso wir das hier machen. Schön, dass Du dabei bist.

    Zu Signalen haben wir einiges in der Pipeline – das nächste Update der MattzoLayoutController Firmware wird auch Formsignale unterstützen, und überdies auch Signalbegriffe, die sich über mehr als eine LED erstrecken (z.B. Langsamfahrt bei einigen DB-Signalen, gelb und grün leuchten gleichzeitig). Das wird mich noch einiges an Arbeit kosten, aber das Ergebnis einschließlich Video wird hoffentlich viele Begeisterte finden. Ein bisschen Geduld müsst Ihr aber noch haben.

    Danke für Euer Engagement.

    Gruß,
    Mattze

    in reply to: Issues combining items #3755
    Matthias RunteMatthias Runte
    Keymaster

    Hi Edwin,
    can you send me your MattzoLayoutController configuration file?

    Besides this, keep up the good work with your layout!

    Cheers,
    Mattze

    in reply to: MattzoLayoutController #3754
    Matthias RunteMatthias Runte
    Keymaster

    Hi folks,
    I have read your comments above. I am pretty busy at the moment, but I have just created a bug report in our internal bug tracking tool. I will check out if I can reproduce the problems with the new ESP-8266 firmware (V3.x.x). I will also have a look at the proposed abs() / fabs() work-around.

    Thanks for your esteem.

    Cheers,
    Mattze

    Matthias RunteMatthias Runte
    Keymaster

    Hi Joos,
    thanks for your comment and your interest in our technology. I am happy to hear that you are going to build a layout with MattzoControllers.

    To your question: the issue is that the MattzoLayoutController has been developed for an ESP-8266, while the MTC4PU is designed for the ESP32 board. It would be possible to integrate both firmwares into one and base it all on an ESP-32, but this is complicated, takes a lot of time and testing. This is why we do not have plans to allocate our time on this matter at the moment.

    So, my recommendation is for buy a couple of ESP-8266s and one or two ESP-32 for a start. It is useful not to centralize the layout control too much. When your layout grows, you should rather allocate a couple of MattzoLayoutControllers on different parts on your layout. Especially switches do not react too well when the cable lengths become too long.

    I wish you good success with your automation. It’s big fun!

    And stay tuned for the latest MattzoController which we are (hopefully) going to release very soon. It will be called MattzoController for Bluetooth (MTC4BT), and controls both LEGO Powered Up devices and SBricks.

    Cheers,
    Mattze

    Matthias RunteMatthias Runte
    Keymaster

    Hi ROb,
    thanks. This part of the wiring is not required at the moment as we are not using the voltage information on A0 of the microcontroller yet. Will will do this in a future release of the MTC4PF. So feel free to just leave that part out for now.

    Cheers,
    Mattze

    in reply to: MTC4PU – MattzoTrainController for Powered Up #3114
    Matthias RunteMatthias Runte
    Keymaster

    Ich meine die Datei “MattzoController_Library.h”. Bitte diese Datei auch aktualisieren falls noch nicht geschehen.

    Der Update-Prozess ist derzeit noch etwas hakelig. Wir arbeiten dran.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #3111
    Matthias RunteMatthias Runte
    Keymaster

    Okay. Und das Library File hattet Ihr aktualisiert, oder?

Viewing 25 posts - 201 through 225 (of 283 total)