If that's how it works for you, then that's good.
I have to correct my statement (that neither is possible).
By using different
SimObject Name= even both, user and weather trigger.
My SODE-Test xml code for the Visibility weather and time trigger based or user controled...
XML:
<SODE>
<!-- Data Probe serving its clients -->
<SimObject Name="TE68 - Nuggs Flying M">
<Placement Lat="33.74411691" Lon="-96.65988341" Alt="725" Hdg="0.0"/>
<Model SimTitle="12bPilot_SODE_Environmental_Data_Probe">
<EnvironmentalDataProbe ClientList="Runway_Lights_HIRL"/>
</Model>
</SimObject>
<!-- Triggerable Visibility user induced -->
<SimObject Name="Runway_Lights">
<Placement Lat="33.74411691" Lon="-96.65988341" Alt="0#AGL" Hdg="186.0"/>
<Model SimTitle="12bPilot_SODE_Runway_Lights_HIRL">
<TriggerableVisibility Input="TextMenu" Action="Turn On,Turn Off" VisibleOnLoad="No" IgnoreRadiusFilter="Yes"/>
</Model>
</SimObject>
<!-- Visibility weather and time trigger based-->
<SimObject Name="Runway_Lights_HIRL">
<Placement Lat="33.74411691" Lon="-96.65988341" Alt="0#AGL" Hdg="186.0"/>
<Model SimTitle="12bPilot_SODE_Runway_Lights_HIRL">
<ConditionalVisibility LogicExpression="A|B|C">
<Condition ID="A" Variable="MetVisibility" Value="0-5000"/>
<Condition ID="B" Variable="MetPrecipitation" Value="RAIN;SNOW"/>
<Condition ID="C" Variable="TimeOfDay" Value="DUSK;NIGHT;DAWN"/>
</ConditionalVisibility>
</Model>
</SimObject>
</SODE>
But I would choose the following settings for visibility:
<ConditionalVisibility LogicExpression="A|B|C">
<Condition ID="A" Variable="MetVisibility" Value="0-5000"/>
<Condition ID="B" Variable="MetPrecipitation" Value="RAIN;SNOW"/>
<Condition ID="C" Variable="TimeOfDay" Value="DUSK;NIGHT;DAWN"/>
</ConditionalVisibility>
Your
Variable="MetVisibility" Value="0-20" <---- Your setting means that below 0-20 meters visibility the runway lighting will be switched on. At 20 meters visibility range hardly any pilot will land.
5000 meters visibility would be the limit for visual flight.
Your
Variable="Time" Value="1730-0630LT" <---- Your setting means that the runway lighting is always on from 17:30 to 06:30. With the setting DUSK;NIGHT;DAWN you are more flexible.
Here the lighting is switched on shortly before sunset and switched off shortly after sunrise. No matter if it is summer or winter.
To make the variable
MetVisibility and
MetPrecipitation work, you need the section <EnvironmentalDataProbe> in the SODE xml code.
Look here:
http://sode.12bpilot.ch/?document=the-xml-definition-file/environmentaldataprobe ...