Hi Henning.....
We can guide you via DISCORD..... Hopefully you got a Headset. Else it make a lot of work to write all down again.
Also you can use SEARCH..... We still talked about that multiple time.
Stephan already use these stuff ( Meachanic 3D Print design from Helimech) .....
https://www.youtube.com/watch?v=TYZzIZjvonU
********
At last.... Your right.... The KEY is to Build a System that only power the solonoid for the short time window when he have to work.
If you build a "HOLD" system then it´s easy.... Here the Solonoid powerd all the time but it´s OFF the whole flight ( only on if Virtual Switch is in GRD Position) to "HOLD" the Real switch on the Left.... It "RELEASE" when Virtual switch goes to OFF again ...... So without any Precondition or protection this Solonoid is Powered BUT OFF the whole time we not need it.
MOST people build a other system ( Like we do) with a PUSH Solonoid..... Means it "PUSH" the Switch from GRD to OFF...... And here we come into trouble as you expect.....
Without a "Protection Logic" the Solonoid is powerd and ON Always if virtual Switch is in OFF Position ( So also at Ground before engine start and the whole flight from 10.000ft climb to 10.000 ft descent (when you move the switch to CONT) . And thats a bad idea !
Soluition: We simply use the "N2 Rpm" as a Condition and allow the Solonoid to work ONLY if these is in a special Area.
I need to ask Stephan for the correct Value ( B737 PMDG) ..... I not know them at the moment.
The logic is.... N2 is Zero without engines running.... It grow up to 40+ while startup ..... The Switching is somewhere shortly before 50 ..... BUT the IDLE N2 Rpm is above e.g. 54.
So if we say.... Solonoid only wokr between e.g. 40 and 52 .... Then its active in the moment it need to work..... BUT its not active at Ground or when Engines still running !
If you not figure out the Value yourself...: Then Stephan need to check his configs and tell you the correct "area".