{"id":7917,"date":"2024-12-16T17:07:12","date_gmt":"2024-12-16T16:07:12","guid":{"rendered":"https:\/\/mattzobricks.com\/?page_id=7917"},"modified":"2026-03-23T08:13:02","modified_gmt":"2026-03-23T07:13:02","slug":"mtc4bt-with-trains","status":"publish","type":"page","link":"https:\/\/mattzobricks.com\/de\/automation\/train-automation\/mtc4bt\/mtc4bt-with-trains","title":{"rendered":"MTC4BT as MattzoTrainController"},"content":{"rendered":"\n<p>The MattzoTrainController for Bluetooth (MTC4BT) has two main use cases:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Act as MattzoTrainController, i.e. making locomotives on the layout go and stop.<\/li>\n\n\n\n<li>Act as <a href=\"https:\/\/mattzobricks.com\/automation\/train-automation\/mtc4bt\/mtc4bt-with-remote-controls\" data-type=\"page\" data-id=\"7918\">MattzoRemoteController<\/a>, i.e. integrate LEGO Powered Up remote controls into the MattzoBricks Train Automation System 2.0.<\/li>\n<\/ul>\n\n\n\n<p>On this page, the <strong>MattzoTrainController <\/strong>functionality of the controler is described.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Supported devices<\/h1>\n\n\n\n<p>MTC4BT supports the following BLE devices to control trains:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>LEGO Powered Up (PU) hub<\/li>\n\n\n\n<li><a href=\"https:\/\/sbrick.com\/?ref=7992\" data-type=\"URL\" target=\"_blank\" rel=\"noreferrer noopener\">SBrick by Sengit<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/buwizz.com?ref=240\">Buwizz 2.0<\/a><\/li>\n<\/ul>\n\n\n\n<p>Up to nine BLE devices can be connected to the MTC4BT at the same time. BLE devices can be combined. This means that you can control a mix of up to nine BLE devices using just one single ESP-32 controller. You can even combine different types of BLE devices in one locomotive if needed.<\/p>\n\n\n\n<p>Please note that the different BLE hubs have different number of ports, to which train motors or lights can be connected:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>LEGO Powered Up hubs have two channels.<\/li>\n\n\n\n<li><a href=\"https:\/\/sbrick.com\/?ref=7992\">SBricks<\/a> and <a href=\"https:\/\/mattzobricks.com\/more\/promotions\" data-type=\"page\" data-id=\"4417\">BuWizz2<\/a> units have 4 channels.<\/li>\n<\/ul>\n\n\n\n<p>But wait, there is more! We use the ESP-32 controller and it already has all those pins at our disposal. MTC4BT enables you to use those pins to attach stuff to them. For now it&#8217;s limited to lights (LED&#8217;s), but support for other peripherals can be added in the future. Think of all the possibilities this could give you, if you&#8217;d put an ESP-32 inside your train.<\/p>\n\n\n\n<p>These extras of MTC4BT open up many new possibilities for your locomotives and trains in general. We can&#8217;t wait to see what you&#8217;ll do with it!<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"functional\">Functional Description<\/h1>\n\n\n\n<p id=\"block-ed0a32b3-c95f-4f98-b311-cb18d1f99234\">When Rocrail wants to make a train go into a certain direction, it communicates this as a &#8220;loco&#8221; command via the MQTT broker.<\/p>\n\n\n\n<p id=\"block-c313497f-3a76-4e50-8bbe-e71bab1806b6\">MTC4BT receives this command and evaluates it, to see if the command is relevant for one of the BLE hubs that is connected to the controller. It checks if its own MattzoControllerID corresponds with the &#8220;address&#8221; attribute that is configured for the train in Rocrail (see below). If this is the case, MTC4BT converts the desired speed and direction into a command for one or more connected BLE hubs, which then regulate the power supply for the attached motors and lights.<\/p>\n\n\n\n<p id=\"block-dbb308ab-2a26-4371-9a97-8f3a19c3a7aa\">All BLE hubs and attached motors \/ lights must be configured. You can also configure the sense of rotation for all motors individually. This flexibility enables an enourmous variety of deployment scenarios for your trains, e.g.:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A single loco with one BLE hub and just one motor.<\/li>\n\n\n\n<li>A powerful loco with one BLE hub and two motors.<\/li>\n\n\n\n<li>A commuter train (ICE, Eurostar, TGV, Regio Express etc.) with two locos, one in the front, and one in the back. Each loco has one BLE hub and one motor.<\/li>\n\n\n\n<li>Multiple locos pulling a giant freight train.<\/li>\n\n\n\n<li>A long train with additional motors hidden in some cars in the middle of the train.<\/li>\n<\/ul>\n\n\n\n<p id=\"block-eefb1ebe-7eac-4b1d-b711-f2b0129b0d76\">Many other scenarios are possible.<\/p>\n\n\n\n<p id=\"block-c910354a-16b7-4f7a-9055-7848a6545529\">The implementation of the MTCBT adds full support of Rocrail&#8217;s capability of up to 32 functions. Each function can be connected to either a hub channel or a pin on the ESP-32. It is possible to connect cheap standard LEDs to the MTC4BT, which will enable various independent lighting options for the train, which you can control from Rocrail. <\/p>\n\n\n\n<p id=\"block-c910354a-16b7-4f7a-9055-7848a6545529\">In the future we hope to include things like direction-dependend automatic white\/red head and tail lights, a flashing disco light for a special wagon using multi-color LEDs, flashing lights in any color for special trains, etcetera. We also plan to adapt the motor power to the decreasing voltage of the battery in future versions of the firmware.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Controller Configuration<\/h1>\n\n\n\n<p>Make sure you know the MAC address(es) of your hub(s). The MAC address of your hub is required to start configuring your first locomotive.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"firstloco\">Configuring your first locomotive<\/h2>\n\n\n\n<p>Let&#8217;s assume you have a locomotive you want to control using Rocrail. It has a PU Hub in it, with a motor attached to channel A and lights to channel B. In that case your <strong>controller_config.json<\/strong> could look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"locos\": [\n    {\n      \"address\": 1,\n      \"name\": \"Your first loco\",\n      \"bleHubs\": [\n        {\n          \"type\": \"PU\",\n          \"address\": \"00:07:80:d0:47:43\",\n          \"channels\": [\n            {\n              \"channel\": \"A\",\n              \"attachedDevice\": \"motor\"\n            },\n            {\n              \"channel\": \"B\",\n              \"attachedDevice\": \"light\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}<\/pre>\n\n\n\n<p>If you&#8217;re familiar with <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/JSON\" data-type=\"URL\" data-id=\"https:\/\/en.wikipedia.org\/wiki\/JSON\" target=\"_blank\">JSON files<\/a> you can probably understand this structure. The root of this config file has a subnode <strong>locos<\/strong>, which contains an array of locomotives.  For each locomotive you need to specify a few basic properties:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>address: The Rocrail address of the locomotive<\/li>\n\n\n\n<li>name: A name for your locomotive<\/li>\n\n\n\n<li>enabled: Indicates if the loco is enabled (&#8220;true&#8221;, default) or not (&#8220;false&#8221;). Can be used to temporarily remove a loco from the controller without removing the configuration itself.<\/li>\n\n\n\n<li>bleHubs: This contains an array of BLE Hubs within this locomotive<\/li>\n<\/ul>\n\n\n\n<p>For each BLE Hub that&#8217;s in your locomotive you also need to configure some properties:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>type: The type of BLE Hub (either <strong>PU<\/strong> or <strong><a href=\"https:\/\/sbrick.com\/?ref=7992\">SBrick<\/a><\/strong>)<\/li>\n\n\n\n<li>address: The MAC address of the BLE Hub (see above on how to discover this)<\/li>\n\n\n\n<li>powerlevel: For BuWizz2 hubs, you can specify a powerlevel. Allowed values are: &#8220;slow&#8221;, &#8220;normal&#8221; (default), &#8220;fast&#8221; and &#8220;ldcrs&#8221;. Please be careful with any powerlevel beyond &#8220;normal&#8221;, as your appliances may be damaged due to overvoltage.<\/li>\n\n\n\n<li>channels: This contains an array of BLE Hub channels<\/li>\n<\/ul>\n\n\n\n<p>For each channel of the BLE Hub you need to configure a few parameters as well:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>channel:  \n<ul class=\"wp-block-list\">\n<li>for LEGO PU Hub:\n<ul class=\"wp-block-list\">\n<li><strong>A<\/strong>, <strong>B<\/strong> or <strong>LED<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>for SBrick:\n<ul class=\"wp-block-list\">\n<li><strong>A<\/strong>, <strong>B<\/strong>, <strong>C<\/strong> or <strong>D<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>for BuWizz2:\n<ul class=\"wp-block-list\">\n<li><strong>1<\/strong>, <strong>2<\/strong>, <strong>3<\/strong> or <strong>4<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>attachedDevice: The type of device connected to the channel (either <strong>motor<\/strong> or <strong>light<\/strong>)<\/li>\n<\/ul>\n\n\n\n<p>Assuming you have Rocrail setup correctly and made no errors in your configuration files, this should allow you to run your first train using Rocrail, controlled by the MTC4BT.<\/p>\n\n\n\n<p>Please note these are only the basics and there are many other properties on all levels that you can use to tweak your locomotives. We&#8217;ll go into more detail in the next sections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-controller-settings\">Advanced configurations<\/h2>\n\n\n\n<p>Even though a controller can run with an empty <strong>controller_config.json<\/strong> file, for fun you need to at least add one locomotive configuration to it. But there&#8217;s a lot more you can configure related to the controller itself. Please find a complete list of settings below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{<br>  \"name\": \"MTC4BT1\",<br>  \"pwrIncStep\": 10,<br>  \"pwrDecStep\": 10,<br>  \"espPins\": [<br>    {<br>      \"pin\": 17,<br>      \"attachedDevice\": \"light\"<br>    },<br>    {<br>      \"pin\": 18,<br>      \"attachedDevice\": \"status\"<br>    }<br>  ],<br>  \"locos\": [<br>    {<br>      \"address\": 1,<br>      \"name\": \"Your first loco\",<br>      \"bleHubs\": [<br>        {<br>          \"type\": \"PU\",<br>          \"address\": \"00:07:80:d0:47:43\",<br>          \"channels\": [<br>            {<br>              \"channel\": \"A\",<br>              \"attachedDevice\": \"motor\"<br>            },<br>            {<br>              \"channel\": \"B\",<br>              \"attachedDevice\": \"light\"<br>            }<br>          ]<br>        }<br>      ]<br>    }<br>  ],<br>  \"locoConfigs\": [<br>    \"\/loco_BC60052.json\",<br>    \"\/loco_CR10277.json\"<br>  ]<br>}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>name: Name for your controller (default: MTC4BT)<\/li>\n\n\n\n<li>pwrIncStep: The default power increment step to be used for all locomotives (default: 10)<\/li>\n\n\n\n<li>pwrDecStep: The default power decrement step to be used for all locomotives (default: 10)<\/li>\n\n\n\n<li>espPins: This contains an array of pins of the ESP-32 microcontroller to use\n<ul class=\"wp-block-list\">\n<li>pin: pin number<\/li>\n\n\n\n<li>attachedDevice: <strong>light <\/strong>(use as a regular LED) or <strong>status<\/strong> (use as a status LED)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>locos: This contains an array of locomotive configurations<\/li>\n\n\n\n<li>locoConfigs: This contains an array of separate locomotive configuration files to load during startup (to be placed in the same directory as the <strong>network_config.json<\/strong> and <strong>controller_config.json<\/strong> files)<\/li>\n<\/ul>\n\n\n\n<p>Both nodes &#8220;locos&#8221; and &#8220;locoConfigs&#8221; can be used in the same <strong>controller_config.json<\/strong> file.  Read more on all settings of a locomotive in the next paragraph.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-loco-settings\">A locomotive with events, triggers and actions<\/h2>\n\n\n\n<p>Locomotives are what makes our world go round, so there are loads of settings to configure them just like you want them to behave on your layout. Below you find a complete set of all options for locomotives. The same structure can be used in the &#8220;nodes&#8221; section of the <strong>controller_config.json<\/strong> file as well as the content of separate locomotive configuration files. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{<br>  \"address\": 6,<br>  \"name\": \"CR10277\",<br>  \"pwrIncStep\": 10,<br>  \"pwrDecStep\": 10,<br>  \"stopImmediately\": false,<br>  \"bleHubs\": [<br>    {<br>      \"type\": \"PU\",<br>      \"address\": \"90:84:2b:0a:e3:73\",<br>      \"channels\": [<br>        {<br>          \"channel\": \"LED\"<br>        },<br>        {<br>          \"channel\": \"A\",<br>          \"attachedDevice\": \"motor\",<br>          \"direction\": \"backward\"<br>        },<br>        {<br>          \"channel\": \"B\",<br>          \"attachedDevice\": \"light\"<br>        }<br>      ]<br>    }<br>  ],<br>  \"events\": [<br>    {<br>      \"triggers\": [<br>        {<br>          \"source\": \"rr\",<br>          \"eventType\": \"fnchanged\",<br>          \"identifier\": \"f1\",<br>          \"value\": \"on\"<br>        },<br>        {<br>          \"source\": \"loco\",<br>          \"eventType\": \"dirchanged\",<br>          \"value\": \"forward\"<br>        },<br>        {<br>          \"source\": \"loco\",<br>          \"eventType\": \"dirchanged\",<br>          \"value\": \"backward\"<br>        }<br>      ],<br>      \"actions\": [<br>        {<br>          \"channel\": \"LED\",<br>          \"color\": \"white\"<br>        },<br>        {<br>          \"channel\": \"B\",<br>          \"pwrPerc\": 80<br>        }<br>      ]<br>    },<br>    {<br>      \"triggers\": [<br>        {<br>          \"source\": \"rr\",<br>          \"eventType\": \"fnchanged\",<br>          \"identifier\": \"f1\",<br>          \"value\": \"off\"<br>        },<br>        {<br>          \"source\": \"loco\",<br>          \"eventType\": \"dirchanged\",<br>          \"value\": \"stopped\"<br>        }<br>      ],<br>      \"actions\": [<br>        {<br>          \"channel\": \"LED\",<br>          \"color\": \"off\"<br>        },<br>        {<br>          \"channel\": \"B\",<br>          \"pwrPerc\": 0<br>        }<br>      ]<br>    }<br>  ]<br>}<\/pre>\n\n\n\n<p>We already established most of these basic settings for a locomotive:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>address: The Rocrail address of the locomotive<\/li>\n\n\n\n<li>name: A name for your locomotive<\/li>\n\n\n\n<li>pwrIncStep: Can be used to override the &#8220;pwrIncStep&#8221; configured at controller level <\/li>\n\n\n\n<li>pwrDecStep: Can be used to override the &#8220;pwrDecStep&#8221; configured at controller level <\/li>\n\n\n\n<li>stopImmediately: the a loco stops immediately when the desired speed is set to zero. This behaviour is usually perfect for locos with standard train motors, because it allows to stop the train precisely. For L- or XL-motors, this stopping behaviour can be to abrupt, though. To enable a more gentle stop, set this parameter to &#8220;false&#8221;.<\/li>\n\n\n\n<li>bleHubs: This contains an array of BLE Hubs within this locomotive<\/li>\n<\/ul>\n\n\n\n<p>For each BLE Hub that&#8217;s in your locomotive you also need to configure some properties:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>type: The type of BLE Hub (&#8220;PU&#8221;, &#8220;SBrick&#8221; or &#8220;BuWizz2&#8221;; all case sensitive)<\/li>\n\n\n\n<li>address: The MAC address of the BLE Hub, e.g. &#8220;84:2e:14:51:7f:c5&#8221; (see above on how to discover this)<\/li>\n\n\n\n<li>channels: This contains an array of BLE Hub channels<\/li>\n<\/ul>\n\n\n\n<p>For each channel of the BLE Hub you need to configure a few parameters as well:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>channel:  \n<ul class=\"wp-block-list\">\n<li>for PU Hub:\n<ul class=\"wp-block-list\">\n<li><strong>A<\/strong>, <strong>B<\/strong> or <strong>LED<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>for SBrick:\n<ul class=\"wp-block-list\">\n<li><strong>A<\/strong>, <strong>B<\/strong>, <strong>C<\/strong> or <strong>D<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>for BuWizz2:\n<ul class=\"wp-block-list\">\n<li><strong>1<\/strong>, <strong>2<\/strong>, <strong>3<\/strong> or <strong>4<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>attachedDevice: The type of device connected to the channel, either <strong>motor<\/strong>, <strong>light<\/strong> or <strong>nothing<\/strong> (default: nothing)<\/li>\n\n\n\n<li>direction: <strong>forward<\/strong> or <strong>backward<\/strong>, can be used to reverse a motor (default: forward).\n<ul class=\"wp-block-list\">\n<li>Attention: up to firmware version V1.0.2, please use the keyword <strong>reverse<\/strong> instead of backward. In more recent versions of the firmware, the keyword <strong>reverse<\/strong> also still works.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>A PU Hub has an onboard LED. By default it flashes after you turn it on or the hub looses its connection. It turns white after establishing a connection with the controller. By explicitly specifying the &#8220;LED&#8221; channel in a PU Hub&#8217;s configuration, you basically get full control over it. It can now be references by event actions, which we get more into later. Did you know the onboard LED can display colors? B.t.w. there is no need to explicitly configure the &#8220;attachedDevice&#8221; for an &#8220;LED&#8221; channel. We enforce &#8220;light&#8221; as the attached device, no matter what you might configure here.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>events:  This contains an array of events\n<ul class=\"wp-block-list\">\n<li>triggers: This contains an array of triggers<\/li>\n\n\n\n<li>actions: This contains an array of actions<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Events can be used to automate behavior. They can be triggered by Rocrail functions, by the locomotive or both. Each event can have multiple possible triggers and can execute multiple actions. Any trigger defined in an event executes all actions defined for that event.<\/p>\n\n\n\n<p>You can configure a <strong>Rocrail trigger<\/strong> like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"source\": \"rr\",\n  \"eventType\": \"fnchanged\",\n  \"identifier\": \"f1\",\n  \"value\": \"on\"\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>source: <strong>rr<\/strong> = rocrail (default: loco)<\/li>\n\n\n\n<li>eventType: <strong>fnchanged<\/strong><\/li>\n\n\n\n<li>identifier: Name of the Rocrail function that triggers the event (f0-f32)<\/li>\n\n\n\n<li>value: The value that triggers the event: <strong>on <\/strong>or <strong>off<\/strong><\/li>\n<\/ul>\n\n\n\n<p>A <strong>locomotive trigger <\/strong>is configured like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"source\": \"loco\",\n  \"eventType\": \"dirchanged\",\n  \"value\": \"forward\"\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>source: <strong>loco<\/strong> (default: loco)<\/li>\n\n\n\n<li>eventType: <strong>dirchanged<\/strong> (raised when the locomotive changes direction or stops)<\/li>\n\n\n\n<li>value: The value that triggers the event: <strong>forward<\/strong>, <strong>backward<\/strong> or <strong>stopped<\/strong><\/li>\n<\/ul>\n\n\n\n<p>With <strong>actions <\/strong>you can configure what should happen if a trigger for an event is fired. Actions reference a channel of a specific device.<\/p>\n\n\n\n<p>An <strong>action <\/strong>turning on an LED attached to a pin of the microcontroller can be configured like so:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"device\": \"espPin\",\n  \"pin\": 17,\n  \"pwrPerc\": 50\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>device: <strong>espPin <\/strong>or <strong>bleHub <\/strong>(default: bleHub)<\/li>\n\n\n\n<li>pin: ESP-32 pin number (note the pin must be configured at controller level!)<\/li>\n\n\n\n<li>pwrPerc: Percentage of power to apply to the channel (can be negative for backward direction)<\/li>\n<\/ul>\n\n\n\n<p>An <strong>action <\/strong>turning on an LED attached to a channel of a BLE Hub can be configured like so:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"device\": \"bleHub\",\n  \"address\": \"90:84:2b:0a:e3:73\",\n  \"channel\": \"B\",\n  \"pwrPerc\": 50\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>device: <strong>espPin <\/strong>or <strong>bleHub <\/strong>(default: bleHub)<\/li>\n\n\n\n<li>address: BLE Hub address (not required if only one hub configured, else it must match the address of a configured BLE Hub)<\/li>\n\n\n\n<li>channel: BLE Hub channel (must match a configured BLE Hub channel)<\/li>\n\n\n\n<li>pwrPerc: Percentage of power to apply to the channel (can be negative for backward direction)<\/li>\n<\/ul>\n\n\n\n<p>An <strong>action <\/strong>changing the state of the <strong>onboard LED of a PU Hub<\/strong> can be configured like so:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#eeeeee\">{\n  \"device\": \"bleHub\",\n  \"address\": \"90:84:2b:0a:e3:73\",\n  \"channel\": \"led\",\n  \"color\": \"red\"\n}<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>device: <strong>espPin <\/strong>or <strong>bleHub <\/strong>(default: bleHub)<\/li>\n\n\n\n<li>address: PU Hub address (not required if only one BLE Hub configured, else it must match the address of a configured PU Hub)<\/li>\n\n\n\n<li>channel: <strong>led<\/strong><\/li>\n\n\n\n<li>color: <strong>none<\/strong>, <strong>off<\/strong>\/<strong>black<\/strong>, <strong>pink<\/strong>, <strong>purple<\/strong>, <strong>blue<\/strong>, <strong>lightblue<\/strong>, <strong>cyan<\/strong>, <strong>green<\/strong>, <strong>yellow<\/strong>, <strong>orange<\/strong>, <strong>red <\/strong>or <strong>white<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">More configuratione examples<\/h2>\n\n\n\n<p>You&#8217;ll find a lot more example loco files in the directory <strong>&#8216;data_example\/loco_examples&#8217;<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The MattzoTrainController for Bluetooth (MTC4BT) has two main use cases: On this page, the MattzoTrainController functionality of the controler is described. Supported devices MTC4BT supports the following BLE devices to control trains: Up to nine BLE devices can be connected to the MTC4BT at the same time. BLE devices can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3723,"menu_order":100,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-7917","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"de","enabled_languages":["en","de"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"de":{"title":false,"content":false,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/pages\/7917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/comments?post=7917"}],"version-history":[{"count":16,"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/pages\/7917\/revisions"}],"predecessor-version":[{"id":8963,"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/pages\/7917\/revisions\/8963"}],"up":[{"embeddable":true,"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/pages\/3723"}],"wp:attachment":[{"href":"https:\/\/mattzobricks.com\/de\/wp-json\/wp\/v2\/media?parent=7917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}