Show Posts

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.


Topics - AgileHumor

Pages: [1]
1
Vera Home Automation Controller / MultiSwitch
« on: March 04, 2015, 08:55:41 PM »
Hello,

Could you consider adding support for the MultiSwitch plugin (as 8 separate switches in one)

Actions

When you select one of the MultiSwitch buttons as a scene or PLEG action, the default action will be a toggle of the switch state - on to off, off to on. If you open the scene or PLEG action Advanced tab, you will see that the newStatusN value is -1 which means toggle. To set the switch off, use a value of 0. To set the switch on, use a value of 1.

The following actions are provided for use by scenes and other plugins:

Code: [Select]
urn:dcineco-com:serviceId:MSwitch1 SetStatus1 newStatus1 = <0, 1 or -1>

..

urn:dcineco-com:serviceId:MSwitch1 SetStatus8 newStatus8 = <0, 1 or -1>

Most other apps that support MultiSwich show it as 8 individual On/Off switches in their interface.

Thanks so much if you could make this happen!  I'd gladly ship you a new Vera Edge (with UI7) for your trouble.

2
Version 2 updates / Activating V2 License from V1 Key
« on: March 30, 2014, 02:40:07 AM »
I bought V1 while V2 was being developed on 2/22/14.   

Vaguely, I recall a free upgrade offer, but my current key doesn't seem to work.

What is the upgrade guidance?

Thanks!

3
General Discussion / Star Trek Computer "Personality"
« on: February 27, 2014, 06:40:51 PM »
So this is my attempt at setting up a Start Trek computer personality to mimic the TNG LCARS computer terminal access.  Needs some work, would love to get feedback.

Settings should have:
* This wave file for "recognized" sound: input_ok.wav
* Prefix set to "computer"

PS - Thanks to JitterJames and Kalle for getting me this far.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name="Star Trek TNG Computer Personality" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="92" name="Communicator On" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.SetSpeechInput</cmdType>
      <cmdString>TTS</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Sound.PlayWav</cmdType>
      <cmdString>S:\VOX\wav\commbadge.wav</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Amulet.On</event>
  </command>
  <command id="101" name="Communicator Off" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.SetSpeechInput</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Amulet.Off</event>
  </command>
  <command id="1636" name="Computer Acknowledgement" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Sound.PlayWav</cmdType>
      <cmdString>S:\VOX\wav\computerbeep_29.wav&amp;&amp;false</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Sound.PartialMute</cmdType>
      <cmdString>50</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.OnSingle</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.Off</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>VC.OnSingle</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>VC.Prefix.Start</event>
  </command>
  <command id="128" name="Standby" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Sound.PartialUnMute</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Sound.PlayWav</cmdType>
      <cmdString>S:\VOX\wav\deskviewer1.wav&amp;&amp;false</cmdString>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>VC.Standby</event>
  </command>
  <command id="103" name="Not Recognized" 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>VC.On&amp;&amp;True</ifParams>
      <then>
        <action>
          <cmdType>Sound.PlayWav</cmdType>
          <cmdString>S:\VOX\wav\input_failed.wav&amp;&amp;true</cmdString>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <event>VC.NotRecognized</event>
  </command>
  <command id="106" name="Not Recognized Too Low" 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>VC.On&amp;&amp;true</ifParams>
      <then>
        <action>
          <cmdType>Sound.PlayWav</cmdType>
          <cmdString>S:\VOX\wav\input_failed.wav&amp;&amp;true</cmdString>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <event>VC.Reco.TooLow</event>
  </command>
  <command id="87" name="Startup" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.Standby</cmdType>
      <cmdString />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>VC.Loaded</event>
  </command>
</commandGroup>


4
Vera Home Automation Controller / Errors from Vera Plugin
« on: February 25, 2014, 03:11:13 PM »
I'm having a problem getting sensor events from the Vera plugin and thought maybe it was some of these errors in the log.

Just and FYI, all seems to be working.

Code: [Select]
2/25/2014 10:48:17 AM VoxLog created:
2/25/2014 10:48:17 AM 990 [plugin] http://192.168.0.3:3480/data_request?id=lu_sdata&loadtime=1393335110&dataversion=335142764&timeout=600&minimumdelay=1500
2/25/2014 10:48:19 AM 494 [plugin] {
  "full": 0,
  "loadtime": 1393335110,
  "dataversion": 335142783,
  "state": -1,
  "comment": "",
  "devices": [
    {
      "altid": "79",
      "id": "387",
      "subcategory": "3",
      "room": "4",
      "parent": "1",
      "armed": "0",
      "batterylevel": "100",
      "tripped": "1",
      "lasttrip": "1393350373",
      "state": "-1",
      "comment": ""
    },
    {
      "altid": "50",
      "id": "335",
      "subcategory": "3",
      "room": "4",
      "parent": "1",
      "batterylevel": "100",
      "status": "0",
      "temperature": "77",
      "armed": "1",
      "tripped": "0",
      "lasttrip": "1393351429",
      "light": "21",
      "state": "-1",
      "comment": ""
    }
  ]
}
2/25/2014 10:48:21 AM 995 [plugin] http://192.168.0.3:3480/data_request?id=lu_sdata&loadtime=1393335110&dataversion=335142783&timeout=600&minimumdelay=1500
2/25/2014 10:48:29 AM 646 [plugin] {
  "full": 0,
  "loadtime": 1393335110,
  "dataversion": 335142785
}
2/25/2014 10:48:32 AM 146 [plugin] http://192.168.0.3:3480/data_request?id=lu_sdata&loadtime=1393335110&dataversion=335142785&timeout=600&minimumdelay=1500
2/25/2014 10:48:33 AM 654 [plugin] {
  "full": 0,
  "loadtime": 1393335110,
  "dataversion": 335142810,
  "scenes": [
    {
      "id": "62",
      "room": "3",
      "active": "0"
    },
    {
      "id": "61",
      "room": "3",
      "active": "1"
    }
  ],
  "devices": [
    {
      "altid": "22",
      "id": "219",
      "subcategory": "0",
      "room": "3",
      "parent": "202",
      "status": "1",
      "level": "40"
    },
    {
      "altid": "54",
      "id": "341",
      "subcategory": "3",
      "room": "3",
      "parent": "1",
      "batterylevel": "100",
      "status": "0",
      "temperature": "77",
      "armed": "1",
      "light": "22",
      "state": "-1",
      "comment": "",
      "tripped": "1",
      "lasttrip": "1393354147"
    },
    {
      "altid": "e3",
      "id": "343",
      "subcategory": "0",
      "room": "3",
      "parent": "341",
      "armed": "0",
      "light": "22",
      "tripped": "1",
      "lasttrip": "1393354147"
    },
    {
      "altid": "e1",
      "id": "342",
      "subcategory": "0",
      "room": "3",
      "parent": "341",
      "armed": "0",
      "temperature": "77",
      "tripped": "1",
      "lasttrip": "1393354147"
    },
    {
      "altid": "e3",
      "id": "346",
      "subcategory": "0",
      "room": "12",
      "parent": "344",
      "armed": "0",
      "light": "35",
      "tripped": "1",
      "lasttrip": "1393354150"
    },
    {
      "altid": "55",
      "id": "344",
      "subcategory": "3",
      "room": "12",
      "parent": "1",
      "batterylevel": "100",
      "status": "0",
      "temperature": "75",
      "armed": "1",
      "light": "35",
      "state": "-1",
      "comment": "",
      "tripped": "1",
      "lasttrip": "1393354150"
    },
    {
      "altid": "e1",
      "id": "345",
      "subcategory": "0",
      "room": "12",
      "parent": "344",
      "armed": "0",
      "temperature": "75",
      "tripped": "1",
      "lasttrip": "1393354150"
    },
    {
      "altid": "",
      "id": "302",
      "subcategory": "-1",
      "room": "12",
      "parent": "0",
      "watch": "6",
      "status": "1",
      "label": "6/6"
    }
  ]
}
2/25/2014 10:48:33 AM 654 [vcevent] Vera.Device.219.On

2/25/2014 10:48:33 AM 654 [vcevent] Vera.Device.341.On

2/25/2014 10:48:33 AM 654 [plugin] Vera: System.NullReferenceException: Object reference not set to an instance of an object.
   at vcPlugin.Vera.pollingLoop()
2/25/2014 10:48:33 AM 654 [plugin] Vera: System.NullReferenceException: Object reference not set to an instance of an object.
   at vcPlugin.Vera.pollingLoop()
2/25/2014 10:48:33 AM 654 [plugin] Vera: System.NullReferenceException: Object reference not set to an instance of an object.
   at vcPlugin.Vera.pollingLoop()
2/25/2014 10:48:33 AM 654 [vcevent] Vera.Device.344.On

2/25/2014 10:48:33 AM 654 [plugin] Vera: System.NullReferenceException: Object reference not set to an instance of an object.
   at vcPlugin.Vera.pollingLoop()
2/25/2014 10:48:33 AM 654 [vcevent] Vera.Scene.62.Inactive

2/25/2014 10:48:33 AM 654 [vcevent] Vera.Scene.61.Active


5
Vera Home Automation Controller / Sample Vera HA Logic Threads
« on: February 24, 2014, 10:16:17 PM »
Samples:
* Dim 'Downstairs Hallway Light' to '15' percent (Sample Video #1)
* Turn 'Living Room Lamp' 'On'  (Sample Video #1)
* Run Scene 'Goodnight'
* 'Raise' 'Dining Room' Window  (Sample Video #2)
* Turn 'On' 'Downstairs Hallway Light'

X = Device
Y = Action/Level

Note - Most Star Trek wave files downloaded from here: http://www.stdimension.org/MediaLib/technologye.htm

Dim X to Y (i.e Dim 'Downstairs Hallway Light' to '15' percent) - Based off youtube demo by Jitterjames
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="115" name="Dim X to Y" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Dim</cmdType>
    <cmdString>{1}&amp;&amp;{2}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Sound.PlayWav</cmdType>
    <cmdString>{Path.PFx86}\VOX\Wav\tricscan1.wav&amp;&amp;false</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Dim, Adjust Light</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Vera\dimmable.xml</payloadFromXML>
  <phrase>to</phrase>
  <payloadRange>0,100</payloadRange>
  <phrase optional="true">percent</phrase>
</command>

Turn X Y   (i.e Turn 'Downstairs Hallway Light' 'On')
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="88" name="Turn X Y" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.SetState</cmdType>
    <cmdString>{1}&amp;&amp;{2}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Sound.PlayWav</cmdType>
    <cmdString>{Path.PFx86}\VOX\Wav\tricscan1.wav&amp;&amp;false</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Turn, Switch</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Vera\switches.xml</payloadFromXML>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\OnOff.xml</payloadFromXML>
</command>

Run Scene X (i.e. Run Scene 'Goodnight')
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="98" name="Run Scene X" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Scene</cmdType>
    <cmdString>{1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Sound.PlayWav</cmdType>
    <cmdString>{Path.PFx86}\VOX\Wav\tricscan1.wav&amp;&amp;false</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Run Scene, Automate, Execute Scene</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Vera\scenes.xml</payloadFromXML>
</command>

Y X Window - (i.e. 'Raise' 'Dining Room' Window)
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="140" name="Raise or Lower X Window Blind" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Raw</cmdType>
    <cmdString>data_request?id=action&amp;output_format=xml&amp;DeviceNum={2}&amp;serviceId=urn:upnp-org:serviceId:WindowCovering1&amp;action={1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Sound.PlayWav</cmdType>
    <cmdString>C:\Program Files (x86)\VOX\wav\beam1a.wav&amp;&amp;false</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Vera.Raw</cmdType>
    <cmdString>data_request?id=action&amp;output_format=xml&amp;DeviceNum={2}&amp;serviceId=urn:upnp-org:serviceId:WindowCovering1&amp;action={1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\RaiseLower.xml</payloadFromXML>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Vera\blinds.xml</payloadFromXML>
  <phrase>Window</phrase>
  <phrase optional="true">Blinds</phrase>
</command>

6
Tips and Tricks / Using only payloads variables for vocabulary
« on: February 24, 2014, 09:50:36 PM »
I created a action to raise and lower my blinds using Vera.

Basically, it failed using this logic:
Payload 1 = Phrase of Location of Window -> Vera Device ID
Payload 2 = Phrase Convert Raise, Lower, Stop -> Vera Blind Action of Up, Down, Stop
I had the location of windows as "Downstairs Bedroom Window" or "Dining Room Window" making the expression:
(Raise or Lower) + (Dining Room Window or Downstairs Bedroom Window)

To make it work, I had to find a common static phrase, in my case window.  I also removed the location in the payload XML to only have the location be "Dining Room" (no "Window" at the end)
Payload 1 = Phrase of Location of Window -> Vera Device ID
Payload 2 = Phrase Convert Raise, Lower, Stop -> Vera Blind Action of Up, Down, Stop
Phrase = Window

(Raise or Lower) + (Dining Room or Downstairs Bedroom) + Window (static phrase)

While I got it working using a static phrase in the middle, I was wondering if there was a way to only use payload variables only for the vocabulary logic.

Thanks!

7
I have the following Vera specific items working in VoxCommando and am loving it:

X = Device/Scene name in generated payload XML from plugin

* Dim X to Y percent (i.e. Dim Downstairs Hallway Light to 30 percent)
* Turn X On/Off  (i.e. Turn Downstairs Hallway Light On)
* Run Scene X (i.e. Run Scene Downstairs Hallway On)
* Shields Up/Down (this runs Scene to Lock or Unlock all my doors.
* Fire Phasers -  Fire that Vera Scene that Turns on backyard sprinklers for 30 seconds, typically for preventing raccoons from digging up my lawn.
* What is Temperature - Speaks the internal temperature from Nest thermostat and outside temperature (using WUnderground plugin for VC).

Is there any other ideas on what you can do with VoxCpmmando with Vera?


Also, I was was wondering if anyone how I could do some advanced things like:
* Query HVAC High/Low temp set points.
* Set HVAC High/Low temp set points.
* Have both 'Turn Downstairs Hallway Light On' or 'Turn On Downstairs Hallway Light' ('On' variable is near beginning or end) works the same way
* List of items in a room or house that are On.  i.e. :
   ** What doors are open in the home (i.e. sensor tripped)?  
   ** Is anything still on? (include all rooms except bedroom) to list all lights or devices not off

8
Vera Home Automation Controller / Vera Plugin to push TTS (vs poll)
« on: February 23, 2014, 07:12:27 PM »
I was wondering if your would ever consider adding a Vera based Luup plugin to push audio notifications (TTS) and OSD messages from Vera.  

The reason is using the polling has a 4-6 second delay if i fire from events on VoxCommando, which I'd like to avoid for entry or alarm messages.

Your Vera Luup plugin would then allow vera to use VoxCommando as TTS engine over the network in scenes.

I'm currently using a small custom TTS engine that is no longer being developed (but working) for those looking for a workaround:
http://forum.micasaverde.com/index.php?topic=5493.0 


9
WMC / Confirmation of Actions Message Box in WMC
« on: February 23, 2014, 07:06:04 PM »
Hello, I just purchased VOXCommando and love it.

I did have an issue with requiring confirmations for specific actions don't pop in WMC.   I have the WMC Pop Up Commands enabled in settings...and it works for alternates, though I have that disabled.

If this doesn't exist, and your open to adding it, it would be swell if the MsgBox has a title of "CONFIRM" and the message box the text of the command (don't list all the options to say like your OSD since there is limited space in WMC).

Running Windows Media Center on Windows 8 x64.

Pages: [1]