Open Aleksandr-ru opened 2 years ago
External throttle control is only supported via OpenLCB/LCC Traction Protocol which is supported by JMRI and TCS Throttles.
WiThrottle support is tracked via https://github.com/atanisoft/ESP32CommandStation/issues/15 but there is no specific timeline for it yet.
So, maybe you can provide a small how-to guide for beginners to setup JMRI or mobile app like Engine Driver or any?
The steps will depend a bit on how/where JMRI is running. If it is running on Linux (rpi or similar) it is easiest to run a standalone OpenLCB Hub and have both JMRI and the CS connect to it, for Windows / Mac it is a bit more complicated but still doable.
However, the rough steps would be something like:
After you request a locomotive via Engine Driver confirm that it shows up in the OpenLCB Node List as the CS should create an OpenLCB node for it upon first use (it will also create a roster entry for it on the CS).
I can't guarantee the above steps are 100% accurate, but they should be close. I will work out the exact steps required and post them in the docs tree soon.
That's great! But complicated, especially for newbies. Maybe there is a simpler way like DCC++ or similar protocol which requires less setup and less devices in the middle?
But complicated, especially for newbies.
Agreed, it would be simpler if there was a dedicated device that could take care of the translation between WiThrottle/DCC++/etc and OpenLCB. There are similar bridge devices available commercially but not for OpenLCB, one example being the DigiTrax WiThrottle device.
Maybe there is a simpler way like DCC++ or similar protocol which requires less setup and less devices in the middle?
DCC++ (and a few other parts) were dropped from v2.0 due to maintenance concerns and limited resources on the esp32 (mostly TCP sockets which is capped at 16 which includes both listeners and clients). About the only way they may be supported would be with an external dedicated device that can take care of translating to/from OpenLCB to the other protocols and there would be some limitations on what is supported in those use cases.
However, there are some options available now that work with ESP32 CS without needing external devices (though a dedicated Hub outside the CS is strongly recommended). The TCS UWT throttles and a couple mobile apps that are in development use the OpenLCB Traction protocol today.
Is there an option to use external control app or device (like dcc++ protocol or something)? I've found issue https://github.com/atanisoft/ESP32CommandStation/issues/80 about JMRI and DCC++ but there is no documentation about configuration or features ( And next, is there way to use the command station in Rocrail or similar software?