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 - SeanCRS1

Pages: [1]
1
XML Exchange / Google Now Commands
« on: March 08, 2014, 06:10:26 PM »
I have tinkered with the RoboBrowser actions and gotten some simple integration into the Google Now services.  Google Now is one of googles less known services but has great potential and possibility.  The Google Now service is integrated into every android 4+ device, most of you probably see it as the little mic icon on your home screen, and it is often joked as the Siri replacement.  What is not well known is that Google Now is lightly supported through desktop Google searches, for example go to google and search "Remind me to walk the dog in 30 minutes" and it will come up with the handy reminder option... ok so what, VC can obviously create reminders, and the work GREAT... as long as I am home when it goes off.  With Google Now your reminder syncs to your smart phone so you are reminded when ever you are and where ever you are; the service is also location intelligent so you can tell it to "Remind me when I get to work to Release VC Version 2" and when you arrive at your work address it will notify you.  There is a ton more Google Now is capable of, including calendar events, flight info, Sports Scores, etc...
Here is a list of some commands http://trendblog.net/list-of-google-now-voice-commands-infographic/
That being said here is my XML for the Google Now Reminder, be gentle this is my first stab with RoboB actions and still tinkering.  I will continue to add and share additional commands as I figure out each ones results id tag.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="399" name="Google Now" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.Select</cmdType>
    <cmdString>GoogleNow</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Navigate</cmdType>
    <cmdString>https://www.google.com/#q=Remind&amp;Me&amp;To&amp;{1}&amp;safe=off</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <cmdString>3000</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.GetHTML</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.ElementByID</cmdType>
    <cmdString>act-rmd-send</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Click</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Google remind me to</phrase>
  <payloadDictation>payloadDictation: Regular</payloadDictation>
</command>


2
Integration Ideas / Wearables Prototypes (Ring)
« on: March 07, 2014, 03:25:02 PM »
OK I know VC is totally a Voice Control app, but this is way too cool to overlook... because honestly there are just times I don't feel like speaking.

https://www.kickstarter.com/projects/1761670738/ring-shortcut-everything

Yes I have backed the project and hope to see my device by July.  Hoping with the TCP pluggin I will be able to integrate Ring to activate commands by gesture.. not expecting it to replace voice control but a few basics like spinning finger clockwise for volume up or counterclockwise for volume down, swipe left or right to scroll through media, etc.  I feel the future of the media center and smart home will not be voice control alone but a culmination of voice, wear-ables, and telepathy (ok last one is a wish).

3
Command Builder Reference / TTS {LastResult} vs OSD {LastResult}
« on: February 18, 2014, 12:12:54 PM »
So I have my command to turn lights on, off, dim, bright etc. and have the OSD set to use {LastResult} so that I can get confirmation of my command but when I add TTS.Speak for {LastResult} I get the last media file played or other last result rather than the lighting command I just issued.  Does the TTS.Speak interpret LastResult differently than OSD?

I realize there are probably a dozen ways I could work around this, just curious to get to the bottom of it.  Should I use a different option than {LastResult} or set it to a Var first then have TTS read the Var back?  Have already tried a VC.Pause in case it was all just happening too quickly.  XML is attached here, any input would be appreciated, and I did rummage the forum first but if I missed a similar post please point me to it.

Thanks!

Sean

4
Off Topic (not related to VC) / RFID/NFC Room Detection
« on: January 24, 2014, 03:18:03 PM »
Group,
So I have been considering ways to do room and personal level detection in order to have VC commands "auto switch" upon movement between rooms.  Simple enough if I walk one room to another and say "Turn On Lights" the system can know what room I am in and what lights to enable.  I understand that I could use voice commands to announce my room, or even motion sensors to detect movement but each has their flaws ( yes I refer to my dogs motion as a flaw).
What I am considering is setting up internal geo-fencing with RFID Tags spread throughout the house and actually tying these tags to the NCF on my Galaxy 3 smartphone to detect where I am in the house by the last registered tag reading.  So in theory I enter a room through doorway and one of several RFID Tags will be read by my phone and the Tasker app in phone could then issue a TCP command to VOX that that tag was just read.  As I move room to room the tags could change the zone I am in and run macros changing the default audio output for VC, the Lighting Commands, and others.  As well by using phones the commands could be unique so profiles could be detected allowing preferred lighting levels to be set or used.

I have not done anything with RFID in the past but do understand the basics of the technology.  Couple of questions I have for the group would be
1.  If anyone has done something like this in the past please share your experience
2.  Active RFID tags seem to put out too large of range to be effective (could pick me up from wrong room)  and passive tags of course need to be within a few inches from what I understand.  Does anyone know of a golden zone RFID tag with about 1 meter range?
3.  Assuming I the guinea pig on this concept, anyone have a RFID Tag vendor they recommend over another?

Please forgive if this is a duplicate post, I dug through the forums and while I see RFID using the reader tied to the PC to detect general arrival I didn't see anything reversing the model to have a cell as the reader and the tags for location.  Same on Googles and Youtubes but if I missed something please point me to that =)

As always thanks for reading my crazy ideas.

Sean

5
So I am a Google Glass Explorer and the Glasses are amazing but certainly "light" on useful glassware apps at this point.  I currently use PocketAudio on my Galaxy S3 to control VC and it works well, but want to take it a step further and turn my Google Glass into the remote Mic.  I know I can sideload the PocketAudio app into the glasses, but would like to push the boundries by creating event triggers such as connect to wifi and VC does a greeting, presents options of common voice commands like "play music, turn on lights, turn on television, etc" on the glass display.

Question is a simple one, has anyone on here already tested Glass with VC?  If the mic is too low quality or something I would rather know before I look for and hire an android developer.

Thanks in advance and best holidays to everyone!

Sean

Pages: [1]