TrainDatabase
TrainDatabase lets you control your model trains with your PC. Whether you want to run a single train or a whole network, TrainDatabase gives you an easy and intuitive way to do it.
Install / Use
/learn @jaak0b/TrainDatabaseREADME
TrainDatabase
TrainDatabase lets you control your model trains with your PC. Whether you want to run a single train or a whole network, TrainDatabase gives you an easy and intuitive way to do it. With TrainDatabase, you can:
- Control you trains via a modern and elegant user interface
- Run a single train or a whole network with ease and flexibility
- Support double traction for more power and speed
- Measure locomotive speed via an arduino based speed measurment unit for reliable double tractions.
- Import your existing locomotives from the Roco/Fleischmann Z21 smartphone app.
Getting Started
Installing the software
- Make sure that you have a z21/Z21 from Roco/Fleischmann. (No other digital control center is currently supported)
- Go to this link to download the installer.
- Install the software using the provided installer!
- When the app starts for the first time you get the option to import your Z21 layout (from the new Z21 Android/IOS App).
Import existing z21 Layout.
- Open the Roco/Fleischmann Z21 App.
- Go to "Layouts"
- Select the layout you want to export.
- Scroll down and click "Export".
- Select the "Share" option.
- Save the file to your device or send it to yourself via Email.
- In the TrainDatabase go to "Database".
- Click "Neue Datenbank importieren".
- Select the .z21 File.
- Click "Jetzt importieren".
- The Software imports the database, and it will show a "Import erfolgreich" dialog, if the import was successful.
Examples of use
Main window
In the main window you can manage your vehicles and search for them:
Note: In the search bar you can search for any attribute that the vehicle might have. (Like name, railway transport company, epoch, etc)

Vehicle edit window
In the edit window, the vehicle and its functions can be changed.
Note: The shown fields are not yet final.

Vehicle control window
In the control window the speed, direction of travel, and functions of a vehicle can be controlled.

Speeed measurement window
TrainDatabase (with the help of a raspberry pi and two infrared sensors) allows you to measure the speed of your vehicle so that it can be used in trains with multiple locomotives.

Project Status
Feature Name | Status ------------ | ------------- Import Roco/Fleischmann Z21 app data| ✅ Import Rocrail data | ❌ Manage vehicles| ✅ Control vehicle speed / functions manually| ✅ Multi traction support| ❌ Joystick support| ❌ Hotykey support| ❌ Layout control | ❌ Train automation | ❌
Sources
TBD
FAQ
TBD
Technologies
- .Net 5.0 WPF
- EF Core 5.0.0
- OxyPlot.WPF 2.0.0
- SharpDX 4.2.0
Related Skills
feishu-drive
344.4k|
things-mac
344.4kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
344.4kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
postkit
PostgreSQL-native identity, configuration, metering, and job queues. SQL functions that work with any language or driver
