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.


Messages - Soda97

Pages: 1 [2] 3 4 5
16
Sorry, I don't know if this has been discussed before but here's the scenario.

I just figured out that I could send a command to disarm my alarm system.  So I'm gonna set up the Location from IFTTT and send me an email (or event) to trigger this command and maybe turn on light and some other stuff.  Say me and my wifey both set this up, how can I tell VC not to repeat the event or command twice ?  What is the best way to go about this? 

17
General Discussion / Re: TTSMS Speed Question
« on: January 27, 2015, 09:02:21 PM »
For TTS, I went to the windows setting.

My lady speaks a lil too fast in long sentences, I just need to do a -1.  Thank you again.

18
General Discussion / TTSMS Speed Question
« on: January 27, 2015, 06:12:29 PM »
Just a quick question, can you change the voice speed of TTSMS like how you can change with TTS?



19
Off Topic (not related to VC) / Re: Kinect LED Indicator
« on: January 26, 2015, 03:19:23 PM »
Have you check this out?

https://codelaboratories.com/forums/viewthread/416/

With the CL driver, I'm able to move the kinect up and down, and change the led to a different color.  They even have the API posted.

Sorry if this doesn't apply to VC as I do not know much about coding or making a plug-in.  I'm just hoping there's a miracle could happen.


20
Off Topic (not related to VC) / Kinect LED Indicator
« on: January 25, 2015, 12:56:27 PM »
I read that some say you can access the LED indicator state on the Kinect but some say can't?  So is it possible to set the LED as an event?

http://openkinect.org/wiki/Protocol_Documentation

21
Tips and Tricks / Tips for Home Automation + IFTTT Alternative
« on: January 24, 2015, 09:17:43 PM »
If you are into home automation but having different brands or purchasing new toys. They most likely are not compatible with each other.  Either they wont be supporting at all or you have to wait for them to work on the open api, ifttt, etc.

Here comes the good news, since all the smart products now will have an app that can send you either notification or email.  All you need to do is to setup growl on your smart phone (http://m.youtube.com/watch?v=AqbYGC5z-4I) and send all the notification to your pc (http://www.growlforwindows.com/gfw/). With Growl + EventGhost + VC, most of the incompatible products can finally talk to each other now.

Here's an example,

Ring is a smart doorbell, okidokeys is smart lock, eyezon alarm doesnt have an app but can be alerted by email.  I could then trigger any action like set light scene, turn on/off music, so on and so forth.

I hope it helps someone that's still waiting for ifttt or their product to get this supported.

Enjoy and have fun!

22
it stopped working before but now working fine with the updated version.

thank you!

[edit]
i guess the lowest you can go is 2 sec.  I tried 1 sec and after awhile, it gave me this (HTTPError: HTTP Error 401: basic auth failed.).   Maybe 'coz checking too much or too quick.

23
nime5ter,

I noticed that if i change the check interval to 2 sec or lower, after awhile python will stop working and the log will say "IndexError: Index was outside the bounds of the array."

is this normal?


24
General Discussion / Re: Vox not working with the wife.....
« on: January 23, 2015, 12:47:47 AM »
I too have the same problem.

I'm testing with all kinds of things.  One of them is making another set of speech commands that's easier for her to say and easier for Vox to pick up those saying.

25
Integration Ideas / Re: Doorbot/Ring or Skybell integration
« on: January 22, 2015, 06:25:56 PM »
I don't know bout android but it probably works the same.

If you have an jailbroken iPhone, download growlnotifier (http://m.youtube.com/watch?v=AqbYGC5z-4I) to send notification to your pc.  Then you use growl on pc (http://www.growlforwindows.com/gfw/) to forward it to your gmail.  After that you can use this Python script (http://voxcommando.com/forum/index.php?topic=1679.0) to trigger event (I just found out there's a plug-in for) EventGhost which would send to VC to trigger event instantly, like it will tell you someone at the front door, mute your system and flash your hue light, etc.

Keep in mind that I set it to check email every 2 sec so it wI'll have 2~3 sec delay before it takes those actions.

It works with any notification from your phone so if you also have a smart lock (Kevo, August, danalock, okidokeys), then you can do the same thing and when you unlock your door it can welcome you (or a specific name whoever unlocks the door), un-arm your security alarm, un-away your thermostat, turn on some light and start playing music, etc.

I think it will be very cool for someone that has quite a few hue lights and wants to throw a surprise party!


Enjoy and Have fun!

26
yes, i got it.  thank you!

27
Integration Ideas / Doorbot/Ring or Skybell integration
« on: January 21, 2015, 05:11:48 PM »
 I have successfully integrated a doorbot/ring by using an old jb iphone with growlnotifier (forward to my email) + gmail notifier from this forum to trigger events like telling me someone is at the door or flash a hue light, etc.

if you have a better solution, please comment below.

I just wanna throw this out here so for people who have a smart doorbell dont have to wait for their open api or their integration to ifttt.  It doesnt sound like they are doing them anytime soon.

28
just curious, can you match with summary instead of subject of the email?

this is the original match subject,

Code: [Select]
                if subject.lower() == "security event: closing by user code 2".lower():
                    vc.triggerEvent("Security.Away",None)


if this is the body of the mail,

Quote
Security Event: Opening By User Code 2

Location: My House

Time: 2015-01-20 22:09:22

Partition:1

but i just want to match,

Quote
Security Event: Opening By User Code 2

Location: My House


is it possible and hard to do?

29
Tutorials / Re: Nest Thermostat and Nest Protect - Command Collection
« on: January 20, 2015, 05:04:13 PM »
thanks, nim5star.

Fahrenheit version.

Get current temperture,

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.6-->
<command id="1237" name="Get current temperature" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="80" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>File.Read</cmdType>
    <params>
      <param>Nest\Nest_dev_status.txt</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.RegEx</cmdType>
    <params>
      <param>shared".*?"{1}".*?"current.temperature".(.*?),</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <params>
      <param>result=round({Match.1}*1.8+32)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>{PF.1} shows a current temperature of {LastResult} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTSMS.Speak</cmdType>
    <params>
      <param>{PF.1} shows a current temperature of {LastResult} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Get current temperature of</phrase>
  <phrase optional="true">the</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Nest\thermoList.xml</payloadFromXML>
</command>

Set temperature.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.6-->
<command id="1262" name="Set temperature of {1} to {2}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="80" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>Setting {PF.1} to {2} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>Setting {PF.1} to {2} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <params>
      <param>result=round(({2}-32)/1.8)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Scrape.Post</cmdType>
    <params>
      <param>{M:Nest.transport_url}/v2/put/shared.{1}</param>
      <param>{"target_change_pending":true,"target_temperature":{LastResult}.0}</param>
      <param />
      <param />
      <param>application/json</param>
      <param>Authorization: Basic {M:Nest.access_token}</param>
      <param>X-nl-protocol-version: 1</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Set</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Nest\thermoList.xml</payloadFromXML>
  <phrase>to</phrase>
  <payloadRange>50,90</payloadRange>
  <phrase optional="true">degrees, degrees Fahrenheit</phrase>
</command>

Set max/min temperature.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.6-->
<command id="1257" name="Set max/min temperature of {2} to {3}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="80" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Speak</cmdType>
    <params>
      <param>Setting {PF.2}'s {1} to {3} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>Setting {PF.2}'s {1} to {3} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <params>
      <param>result=round(({3}-32)/1.8)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Scrape.Post</cmdType>
    <params>
      <param>{M:Nest.transport_url}/v2/put/shared.{2}</param>
      <param>{"target_temperature_{1}":{LastResult}.0}</param>
      <param />
      <param />
      <param>application/json</param>
      <param>Authorization: Basic {M:Nest.access_token}</param>
      <param>X-nl-protocol-version: 1</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Set</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Nest\Nest_therm_max-min.xml</payloadFromXML>
  <phrase optional="true">temp, temperature</phrase>
  <phrase>of</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Nest\thermoList.xml</payloadFromXML>
  <phrase>to</phrase>
  <payloadRange>50,90</payloadRange>
  <phrase optional="true">degrees, degress Fahrenheit</phrase>
</command>

30
Tutorials / Re: Nest Thermostat and Nest Protect - Command Collection
« on: January 20, 2015, 03:28:27 PM »
Thank you so much guys, I hope this is the correct way.

Here's the Fahrenheit for American users.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.3.6-->
<command id="1237" name="Get current temperature" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="80" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>File.Read</cmdType>
    <params>
      <param>Nest\Nest_dev_status.txt</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.RegEx</cmdType>
    <params>
      <param>shared".*?"{1}".*?"current.temperature".(.*?),</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecString</cmdType>
    <params>
      <param>result=int({Match.1}*1.8+32)</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>{PF.1} shows a current temperature of {LastResult} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTSMS.Speak</cmdType>
    <params>
      <param>{PF.1} shows a current temperature of {LastResult} degrees.</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Get current temperature of</phrase>
  <phrase optional="true">the</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">Nest\thermoList.xml</payloadFromXML>
</command>

Pages: 1 [2] 3 4 5