with home automation often we need to trigger events with sunrise and sunset. VC do not generate these events, but flexible enough that we can add them to it.
the idea is to create a timer command that trigger itself once a day ... this command will create timers that trigger based on any complex logic (i.e. Thursdays and Saturdays at 5:30pm, if the weather is clear and I am home)
I am including 2 events as an example sunrise and sunset (you need weather plugin to be enabled and configured).
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.5-->
<command id="992" name="Master Timer" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>12:30 AM</param>
<param>Timer.Master</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>WUnder.GetCustom</cmdType>
<params>
<param>{A.sunrise}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>{LastResult}</param>
<param>Timer.Sunrise</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>WUnder.GetCustom</cmdType>
<params>
<param>{A.sunset}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>{LastResult}</param>
<param>Timer.Sunset</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Timer.Master</event>
</command>