version number: 1.0
author: ultimodruido
Control all your Maerklin MyWorld trains from your PC.
Maerklin My World train series is the plastic product line for 3+ kids. It is infrared controlled and battery powered. Build you own IR remote to control every train from a single source.
The official documentation is available on Read the Docs
You need a circuitpython playground express to transmit IR signals to the trains.
Copy the content of playground_firmware/transmitter_routine.py
in a file named code.py
on the circuit playground,
and the firmware will load automatically.
A copy of adafruit library adafruit_irremote.py
can be found in the directory playground_firmware/lib
.
For a more recent version refer to the official
adafruit circuitpython website.
The latest working Windows executable file for the server is available in ./dist
If the executable is not an option, follow these steps to run the server from the command line:
clone the repository
git clone https://github.com/ultimodruido/myworld_remote.git
cd myworld_remote
create and activate a python environment
python.exe -m venv venv
venv\Scripts\activate.bat (on Windows)
source venv/bin/activate (on Linux or MacOS)
install the requirements
python.exe -m pip install -r requirements.txt
now you are good to start
python myworld.py -p 8000
Default port is 5000, with the -p
parameter a different port can be set.
Example of a starting configuration file can be found in ./src/myworld.conf_example
Rename the file in myworld.conf
and place it in the same folder as the executable.
It is not a mandatory step, the program will create its own configuration file.
Refer to the official documentation on read the doc for further details
Only frequencies G and H are usable with the system, because I have no train with other frequencies to decode.
If you want to help, scan your remote and open an issue with your data in. I will try to decode and include it into the software. Follow the instructions in the official roadmap to see how do I need the input.
This project contains only the server and the board firmware. A simple web interface is available in the myworld_webui repository.
Alternatively, you can also build your own ;)