After months of planning and putting together parts and trying to figure out what I wanted to do I finally came up with something that works and yes after putting it together and powering up it worked.
Figure 1 is the control panel that consists of MTH TIU, AIU, Wifi and iPad then Lionel Legacy with Wifi. The old iPhone can run the Lionel iCab and that gives me another control device. I did my best to control all the wires in cable raceway. The installation was straight forward for me and I had no real problems.
Figure 2 is the DCC side, I have two DC power supplies there the DCS Commander and 10 amp Bridge supply for running dc trains on the layout too. I use NCE command base and a MRC 10 amp booster, for the O scale or ON30. I have two other levels an HO and N and that is interesting. The switches above control the power distribution to the tracks and I have two computer power directors so I can control the power to all the devices.
Figure 3 is a view of the Lionel Legacy controls and the operating iPad.
Both systems have their strong points and weak points I like them both.
What is up next:
1. Installing controls for all the switches which are NCE DCC controls and I can piggyback the open controls switches off the AIU and control them that way or use the JMIR Wifi to control them that way.
2. JMIR will be controlled by a Raspberry small computer.
After I completed the work today I put power to it and it all worked as designed. As a retired field engineer, electrician, and Navy ETC I did not expect anything less for my work. I procrastinated enough about this and must have went thru a ream of paper. After wiring the San Diego 3 railers layout I got a lot of insight to what I was doing.