Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Switch Motor Housing #4751
    YevgenYevgen
    Participant

    Hello All!

    Here’s a take on a switch motor for MLC. Housing can be built around to your heart’s content.

    Let me know what you think.
    Thanks!

    in reply to: MattzoSwitchController #2418
    YevgenYevgen
    Participant

    Hi Max,
    Are you holding the servo inside with Lego only? It does not pry itself off the bricks/plates when switching?

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2330
    YevgenYevgen
    Participant

    I think this is by design – a failsafe. Mine goes into the Christmas mode as well until you put main power back on and put the train back in auto mode. Was the train still moving when you shut down Rocrail? I’m rebuilding my layout and probably won’t be able to test for a few days.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2326
    YevgenYevgen
    Participant

    I believe this is the code for blinking lights once the Rocrail power goes off.

    in reply to: Rocrail Issues #2297
    YevgenYevgen
    Participant

    Thanks Piet, I am actually looking for MQTT command reference. I’d like to take a crack at coding a light switch for a building, controlled by Rocrail.

    in reply to: Rocrail Issues #2294
    YevgenYevgen
    Participant

    Hello All! Can anyone point me to Rocrail’s MQTT command reference? I’ve been crawling their site and found bits and pieces of information, but cannot find a comprehensive guide to how Rocrail receives and issues commands via MQTT and what they are. Thanks!

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2060
    YevgenYevgen
    Participant

    Thanks for the update! I suppose it would not matter if I used one controller per one hub.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2023
    YevgenYevgen
    Participant

    Thanks, Thorsten, let me know if I can be of any use.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2017
    YevgenYevgen
    Participant

    Thanks for replying, Nikos. My issue seems to be the sequence. I can get them all connected, but only in the sequence that they are in the configuration file.

    `*** DEBUG-INFO ***
    WiFi + MQTT connection Status: 0
    Loco 0: 60197_1 (1). Target speed: 0, current speed: 0, max speed: 0
    Loco 1: 60198_1 (2). Target speed: 0, current speed: 0, max speed: 0
    Loco 2: 60052_1 (3). Target speed: 0, current speed: 0, max speed: 0
    next hub to initialize (if any): 2
    Hub 0: macAddress=90:84:2b:17:ac:52: isConnecting()=0 isConnected()=1 status=1
    Hub 1: macAddress=90:84:2b:20:ec:fb: isConnecting()=0 isConnected()=1 status=1
    Hub 2: macAddress=90:84:2b:21:d6:b0: isConnecting()=0 isConnected()=1 status=1

    If I don’t power up and connect on esp boot Hub O, I can’t connect the other 2. Once I power up and connect it, I am able to connect the other 2. And once I have them all connected, I can disconnect and reconnect them in that sequence only. If I power up the second or third hub, but not the first, they will not connect.

    Also, once disconnecting, the second and third hubs’ statuses stay at 1, but the first changes to 0

    *** DEBUG-INFO ***
    WiFi + MQTT connection Status: 0
    Loco 0: 60197_1 (1). Target speed: 0, current speed: 0, max speed: 0
    Loco 1: 60198_1 (2). Target speed: 0, current speed: 0, max speed: 0
    Loco 2: 60052_1 (3). Target speed: 0, current speed: 0, max speed: 0
    next hub to initialize (if any): 0
    Hub 0: macAddress=90:84:2b:17:ac:52: isConnecting()=0 isConnected()=0 status=0
    Hub 1: macAddress=90:84:2b:20:ec:fb: isConnecting()=0 isConnected()=0 status=1
    Hub 2: macAddress=90:84:2b:21:d6:b0: isConnecting()=0 isConnected()=0 status=1
    ******************

    But if I power them down in reverse sequence, 3-2-1, then they all get reset to 0.

    *** DEBUG-INFO ***
    WiFi + MQTT connection Status: 0
    Loco 0: 60197_1 (1). Target speed: 0, current speed: 0, max speed: 0
    Loco 1: 60198_1 (2). Target speed: 0, current speed: 0, max speed: 0
    Loco 2: 60052_1 (3). Target speed: 0, current speed: 0, max speed: 0
    next hub to initialize (if any): 0
    Hub 0: macAddress=90:84:2b:17:ac:52: isConnecting()=0 isConnected()=0 status=0
    Hub 1: macAddress=90:84:2b:20:ec:fb: isConnecting()=0 isConnected()=0 status=0
    Hub 2: macAddress=90:84:2b:21:d6:b0: isConnecting()=0 isConnected()=0 status=0

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2013
    YevgenYevgen
    Participant

    Hello Everyone! First of all, hat off to Herr Runte and the crew for sharing the code and getting us to this point of automation without going broke (Lego is doing that part)!!!

    I was wandering if anyone can point me in a right direction with a small issue. I have 3 locos and 3 hubs set up – 60197, 60198, 60052, in that order in the header file. I can connect all three locos to the controller, but only in that order. If I do not power up 60197 first, the other locos will not connect.

    I will check the hub names, as stated in the topic above, but that seems to be a different issue.

    Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)