1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.5-->
<command id="62" name="Check snow cast" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>WUnder.GetCustom</cmdType>
<params>
<param>{D0.snow_allday}+{D1.snow_allday}+{D2.snow_allday}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>PY.ExecString</cmdType>
<params>
<param>result = {LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)<(B)</ifType>
<ifParams>0&&{LastResult}</ifParams>
<then>
<action>
<cmdType>WUnder.GetCustom</cmdType>
<params>
<param>{D0.snow_allday} cm of snow expected today, {D1.snow_allday} cm expected tomorrow, and {D2.snow_allday} on {D2.weekday}.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Looks like there's snow in the forecast. </param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>No snow is expected in the next few days.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>Check snow cast</phrase>
</command>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.0-->
<commandGroup open="True" name="Tunefind movie scrape (no API key needed)" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="493" name="store now playing movie info" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="This command should execute automatically when you start watching a movie in Kodi.">
<action>
<cmdType>XJson.Raw</cmdType>
<params>
<param>Player.GetItem</param>
<param>"playerid":1, "properties": ["title","year"]</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>XJson.ParseTokens</cmdType>
<params>
<param>{item.title}-{item.year}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>movieinfo</param>
<param>http://www.tunefind.com/movie/{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param>^(.*?)-\d{4}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>movietitle</param>
<param>{Match.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>0</cmdRepeat>
</action>
<event>XBMC.Player.OnPlay.movie</event>
<event>Kodi.Player.OnPlay.movie</event>
</command>
<command id="84" name="Tell me about this movie soundtrack" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>One moment please</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Scrape</cmdType>
<params>
<param>{var.movieinfo}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Tools.Decode.HTML</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<params>
<param>class="SongTitle.*?>(.*?)</a>.*?href="/artist/.*?">(.*?)</</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>Tunefind lists {#M} songs on the {var.movietitle} soundtrack:</param>
<param>10000</param>
<param>-5</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.AddText</cmdType>
<params>
<param>{i}. "{Match.{i}.1}", by {Match.{i}.2}</param>
</params>
<cmdRepeat>15</cmdRepeat>
</action>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<params>
<param>Tune find lists {#M} songs on this soundtrack</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Would you like to open Tune find?</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.TriggerEvent</cmdType>
<params>
<param>tunefind</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>I'm sorry, I couldn't find soundtrack information for {var.movietitle} on Tune find.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>Attempt to open this page failed.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>Tell me about this movie soundtrack</phrase>
</command>
<command id="485" name="show me the movie soundtrack (in Tunefind)" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>OK. Launching Tune Find</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.OpenURL</cmdType>
<params>
<param>{var.movieinfo}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>show me the movie soundtrack</phrase>
<event>tunefind</event>
</command>
</commandGroup>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.7-->
<commandGroup open="True" name="yandex" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="304" name="++Speak to me Yandex (use an action like this example in any command that requires TTS)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>VC.TriggerEvent</cmdType>
<params>
<param>Yandex.TTS</param>
<param>Greetings, earth being.</param>
<param>en</param>
<param>jane</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>2000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.TriggerEvent</cmdType>
<params>
<param>Yandex.TTS</param>
<param>Я плохо говорю по-русски</param>
<param>ru</param>
<param>zahar</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Speak to me Yandex</phrase>
</command>
<command id="159" name="Yandex TTS" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1} phrase you want spoken (Russian or English only)
{2} --> lang code options are ru-RU, en-GB. Officially, only Russian is supported, but English seems to work.
{3} --> speaker options are: 
female voices: jane or omazh
male voices: zahar or ermil
You will need your own API key to replace {M:API.ydx.speechkit.key}. See: https://tech.yandex.com/speechkit/cloud/doc/dg/concepts/speechkit-dg-tts-docpage/">
<action>
<cmdType>Tools.Encode.URI</cmdType>
<params>
<param>{1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Sound.PlayStream</cmdType>
<params>
<param>https://tts.voicetech.yandex.net/generate?text={LastResult}&format=mp3&lang={2}&speaker={3}&key={M:API.ydx.speechkit.key}&emotion=mixed</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Yandex.TTS</event>
</command>
</commandGroup>
UDPfilepath = 'C:/Users/USERNAMEHERE/udpsender.exe' --REPLACE WITH THE CORRECT FILE PATH ON YOUR COMPUTER
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.4-->
<command id="266" name="announcing all state changes" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Change "Living Room Light" to name of your switch. *case sensitive*!">
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>The device {1} is now:</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.AddText</cmdType>
<params>
<param>{2}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Domoticz.state</event>
</command>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.7-->
<command id="126" name="What's on my agenda {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)<(B)</ifType>
<ifParams>-1&&{1}</ifParams>
<then>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>day</param>
<param>{1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>Tools.WeekdayToOffset</cmdType>
<params>
<param>{1}</param>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>day</param>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<action>
<cmdType>GgCal.GetDay</cmdType>
<params>
<param>{var.day}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{#M}&&0</ifParams>
<then>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>You have no items on your calendar {PF.1}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>On the agenda for {PF.1}:</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>On the agenda for {PF.1}:</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.AddText</cmdType>
<params>
<param>{Match.{i}}</param>
</params>
<cmdRepeat>{#M}</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{Match.{i}}</param>
</params>
<cmdRepeat>{#M}</cmdRepeat>
</action>
</else>
</if>
<phrase>What's on my</phrase>
<phrase>agenda,schedule</phrase>
<phrase optional="true">for,on</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\weekdays.xml</payloadFromXML>
</command>
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.6-->
<command id="303" name="What's the forecast for {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&today</ifParams>
<then>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>day</param>
<param>D0</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&tomorrow</ifParams>
<then>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>day</param>
<param>D1</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<if ifBlockDisabled="False" ifNot="True">
<ifType>(A)Contains(B)</ifType>
<ifParams>tomorrow today&&{1}</ifParams>
<then>
<action>
<cmdType>Tools.WeekdayToOffset</cmdType>
<params>
<param>{1}</param>
<param>True</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.SetVar</cmdType>
<params>
<param>day</param>
<param>D{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<action>
<cmdType>WUnder.GetCustom</cmdType>
<params>
<param>Weather for {1}: {{var.day}.conditions}, with high of {{var.day}.high} degrees Celsius and a low of {{var.day}.low} degrees. There's a {{var.day}.pop}% chance of precipitation, with winds averaging {{var.day}.avewind} km/h.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<params>
<param>{LastResult}</param>
<param>10000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>What's the forecast for</phrase>
<payloadList>today, tomorrow, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday</payloadList>
</command>