News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

Main Menu

apple watch integration with voxcommando

Started by JoshK, May 14, 2015, 11:38:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JoshK

Have recently been using an app called "home remote" on ios to enable common vc actions to be triggered from the "today" widget screen.

there's also a matching apple watch app that can be used to trigger any url command as well.

I've spoken with the developer and he's agreed to add functionality that allows the apple watch voice dictation to trigger URL commands.

This should enable voice activation of vc commands from your apple watch via VC's API

feature should be ready in the next week or so :)

jitterjames


Haddood

#2
Coooooollllll

By the way I use launcher toward the same end :) (on iPhone and iPad)

I looked for "home remote" on App Store, could've find it ... Is it JBware?
When Voice command gets tough, use hand gestures

JoshK

Quote from: Haddood on May 15, 2015, 02:33:13 AM
Coooooollllll

By the way I use launcher toward the same end :) (on iPhone and iPad)

I looked for "home remote" on App Store, could've find it ... Is it JBware?

Yeah, i'd used launcher as well in the same way, but switched to home remote because of the apple watch app.

here's the app - https://itunes.apple.com/au/app/home-remote-home-automation/id926193671?mt=8

the update to the watch app has been submitted to apple for approval so I should receive an invite to test the beta in the next week.

Gary_BBGames

Thanks Josh,

I just wanted to introduce myself, I've the dev of Home Remote and have put in a very basic implementation of the functionality for Josh to test. When it's approved by Apple for beta testing and I know it work, I'll make it a little nicer, add a couple of unrelated features I want to add and then put a build up for app store review.

The app supports Today Screen widgets, Beacons, Apple Watch and Pebble. The beacons are useful for triggering actions as you enter or leave rooms.

If you want to be on the beta when it's approved, leave your emails or email me at support@bouncingball.mobi and I'll add you.

That will give you a 30 day free trial of the app essentially too.

jitterjames

Hi Gary,

Looks like a nice app you've got there.  I only have an old ipod touch so I can't test it personally, but hopefully you'll find a few new customers through integration with VoxCommando.

If you are able to send "any" recognized text similar to what Android can do that would have a lot of potential.  There is an action in our API that can accept a series of phrases and goes through them one at a time until a match with an existing voice command is found.  If it would be possible to implement this in your app that would be great.

The format of the action is as follows (can be sent by http GET, TCP, or UDP)

android.phrases&&RECOGNIZEDTEXT1&&RECOGNIZEDTEXT2&&RECOGNIZEDTEXT2&&RECOGNIZEDTEXT2

Where RECOGNIZEDTEXT1 is the text with the highest confidence (best guess).

Gary_BBGames

Thanks.

The way it will work is you specify the base URL in the settings, eg: http://192.168.0.30/whatever.xxx?

When you use voice recognition and press "done" it would append all that was recognised, URL encoded, to the base URL. (Functionality for this is Apple Watch only)

You can launch the app directly from the Apple Watchwith a glance, going directly to voice recognition. You can see a video of the normal functionality here: http://youtu.be/poValYfohLg

jitterjames

OK, So it sounds like getting backup (alternate) recognized phrases won't be supported.  Too bad, but not the end of the world.  :)

Gary_BBGames

The voice recognition on the Apple Watch is very good. I'm working on a meter read submission app for an energy company that allows you to dictate the meter readings and it hasn't messed up once, even in a very noisy office.

JoshK

I've been testing the last few days, and it works really well.

It obviously requires a bit of optimisation of your commands based on what words the watch picks up. for example i have a command "show weather" however spoken to the watch this is always interpreted as "show whether". I also have commands for lighting dimming like "dim living room lights to 20%" the watch's dictation regularly interprets the word "dim" as "diem" (probably due to my aussie accent). But after a couple of days of updating my voxcommando command's to allow for this it's working really nicely!!

I set the base url as http://myadress.com:port#/api/vc.tellvox&& and the app then appends the dictated text to the end.

I'll try and find time to post a video demo soon.

Gary_BBGames

Thanks for the update and the feedback. I am still adding the native Belkin WeMo functionality to the app but will hopefully be submitting to Apple by the ned of the week.


vulcanjedi

Thanks JoshK; would be very curious to see a video demo on this one.

Quote from: JoshK on May 24, 2015, 01:08:57 AM
I've been testing the last few days, and it works really well.

It obviously requires a bit of optimisation of your commands based on what words the watch picks up. for example i have a command "show weather" however spoken to the watch this is always interpreted as "show whether". I also have commands for lighting dimming like "dim living room lights to 20%" the watch's dictation regularly interprets the word "dim" as "diem" (probably due to my aussie accent). But after a couple of days of updating my voxcommando command's to allow for this it's working really nicely!!

I set the base url as http://myadress.com:port#/api/vc.tellvox&& and the app then appends the dictated text to the end.

I'll try and find time to post a video demo soon.

Gary_BBGames

vulcanjedi, do you have an Apple Watch? I can add you to the beta team if you'd like to try it yourself?

vulcanjedi

Hi Gary, I dont personally yet, but being able to use VC would certainly help sway me. My sister has one and I could use hers to demo

vulcanjedi

I went ahead and got the Home Remote app for my phone.
So glad I got introduced to this API, thanks Josh!
From my web browser I can get
http://IP:PORT#/api/onkyo.setvoldecimal&&40 to work  and from the app.
However the below http://IP:PORT#/api/VC.TellVox&&onkyo set volume 40 or http://IP:PORT#/api/VC.TellVox&&onkyo set volume&&40 get url encoded and xml results say it worked but....it doesn't?, the Result tag says 'sending' when it truly works, even though 'success' says True on both
http://IP:PORT#/api/VC.TellVox&&onkyo%20set%20volume%2040
The wiki doesnt mention the url encoding if that is the issue and not sure if the Home Remote app is doing that as well?

<action>
  <actionString>VC.TellVox&&onkyo set volume 40</actionString>
  <Success>True</Success>
  <Result></Result>
</action>