VoxCommando

Help and Support (Using VoxCommando) => Amulet Remote => Topic started by: ptchan5 on April 23, 2013, 02:33:59 AM

Title: Sends Tab command to XBMC when bumped
Post by: ptchan5 on April 23, 2013, 02:33:59 AM
James,

Have any idea what the amulet remote would send the Tab command (fullscreen) when it's just jiggled or bumped. It's not in the upright position and the red light isn't on. It activates it's backlight feature and then sends the Tab command to Voxcommando. I don't want to delete the XBMC simple action because the 'Toggle Fullscreen' command gets used frequently. It's really annoying when you are watching a movie and someone kicks the remote on the couch.

How can I fix this?

Thanks,
Peter
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on April 23, 2013, 08:25:06 AM
I don't even know how this is possible.  Can you send a VC log, or a screenshot of the history window when it happens please?
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on April 23, 2013, 08:28:58 AM
James,

...when it's just jiggled or bumped... It's really annoying when you are watching a movie and someone kicks the remote..

Ha. There is a slight difference between jiggled, and kicked, but question is, is it hard enough to make the amulet think it is upright.  A log will help a lot.
Title: Re: Sends Tab command to XBMC when bumped
Post by: ptchan5 on April 23, 2013, 10:35:16 AM
Ok, I'll get screenshots and logs. I know it sounds crazy, but let's see what the logs say. Stay tuned...

Peter
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 06, 2014, 01:15:30 PM
I'll try and post a log as I've noticed this happening when my amulet is bumped
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 06, 2014, 01:17:06 PM
Noticed what exactly?  Would you mind explaining in your own words what happens? (posting a log as well would be great)  ;D
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 06, 2014, 04:23:14 PM
I bump the table that my amulet is on, it's laying down horizontally and I see "tab" display on XBMC. This doesn't happen after every bump though

Here's the log:

Code: [Select]
1/6/2014 3:13:01 PM 507 guessed text:full ?? (XBMC Simple actions)
1/6/2014 3:13:01 PM 507 guessed text:focus ?? (Focus)
1/6/2014 3:13:01 PM 507 guessed text:focus xbmc ?? (Focus)
1/6/2014 3:13:01 PM 507 Rulename: root # Semantics: 2
1/6/2014 3:13:01 PM 507 Group: Focus Speech: focus xbmc
1/6/2014 3:13:01 PM 507 semanticID: 93
1/6/2014 3:13:01 PM 507 kvp: command | 93
1/6/2014 3:13:01 PM 507 kvp: p93d1 | xbmc
1/6/2014 3:13:01 PM 507 semanticID: 93
1/6/2014 3:13:01 PM 507 kvp: command | 93
1/6/2014 3:13:01 PM 507 kvp: p93d1 | xbmc
1/6/2014 3:13:01 PM 507 alternate:focus xbmc
1/6/2014 3:13:01 PM 507 doCommand:focus {1}
1/6/2014 3:13:01 PM 507 action repeat set to: 1
1/6/2014 3:13:01 PM 507 Action:  Window.Focus - xbmc
1/6/2014 3:13:01 PM 507 [action] Window.Focus:xbmc

1/6/2014 3:13:01 PM 507 window#0 handle:262630
1/6/2014 3:13:01 PM 508 handle:262630
1/6/2014 3:13:03 PM 984 focused: XBMC
1/6/2014 3:13:03 PM 984 [vcevent] unFocused.VoxCommando

1/6/2014 3:13:03 PM 984 [vcevent] focused.XBMC

1/6/2014 3:13:03 PM 984 doCommand:connect on focus
1/6/2014 3:13:03 PM 984 action repeat set to: 1
1/6/2014 3:13:03 PM 984 Action:  XJson.Connect -
1/6/2014 3:13:03 PM 984 [action] XJson.Connect:

1/6/2014 3:13:03 PM 984 [plugin] prepare socket for notifications
1/6/2014 3:13:03 PM 984 [plugin] socket appears to be open already
1/6/2014 3:13:03 PM 984 [plugin] socket sending: {"jsonrpc": "2.0", "method": "JSONRPC.SetConfiguration","params":{ "notifications": {"Playlist":false,"gui":true}},"id": "0"}
1/6/2014 3:13:03 PM 984 [plugin] socket sending: {"jsonrpc": "2.0", "method": "jsonrpc.GetConfiguration","id": "0"}
1/6/2014 3:16:35 PM 305 guessed text:Who ?? (XBMC Get Now Playing Info)
1/6/2014 3:16:35 PM 305 guessed text:new ?? (XBMC TV)
1/6/2014 3:16:35 PM 305 guessed text:Back ?? (XBMC Simple actions)
1/6/2014 3:16:35 PM 305 Rulename: root # Semantics: 1
1/6/2014 3:16:35 PM 305 Group: XBMC New Misc Speech: tab
1/6/2014 3:16:35 PM 305 semanticID: 1623
1/6/2014 3:16:35 PM 305 kvp: command | 1623
1/6/2014 3:16:35 PM 305 semanticID: 1623
1/6/2014 3:16:35 PM 305 kvp: command | 1623
1/6/2014 3:16:35 PM 305 alternate:tab
1/6/2014 3:16:35 PM 305 doCommand:Tab key
1/6/2014 3:16:35 PM 305 action repeat set to: 1
1/6/2014 3:16:35 PM 305 Action:  XJson.Btn.KB - tab
1/6/2014 3:16:35 PM 305 [action] XJson.Btn.KB:tab

1/6/2014 3:16:45 PM 982 focused: VoxCommando
1/6/2014 3:16:45 PM 982 [vcevent] unFocused.XBMC

1/6/2014 3:16:45 PM 982 [vcevent] focused.VoxCommando

1/6/2014 3:16:48 PM 976 focused: explorer
1/6/2014 3:16:48 PM 977 [vcevent] unFocused.VoxCommando

1/6/2014 3:16:48 PM 977 [vcevent] focused.explorer
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 06, 2014, 05:00:59 PM
Thanks.  Should be easy enough to fix this by deleting that command.

- click edit
- open the group: XBMC New Misc
- right-click the command "Tab Key" and choose "Delete"

save and close.

I'm not really sure why that command is in there since we have the "toggle fullscreen" command which does the same thing.
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 06, 2014, 05:42:25 PM
Change made and thanks :)
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 06, 2014, 06:08:56 PM
now while watching a movie in XBMC it showed "go back", didn't bump the remote or anything


Code: [Select]
1/6/2014 5:04:00 PM 753 guessed text:Who ?? (XBMC Get Now Playing Info)
1/6/2014 5:04:00 PM 753 guessed text:Back ?? (XBMC Simple actions)
1/6/2014 5:04:00 PM 753 Rulename: root # Semantics: 1
1/6/2014 5:04:00 PM 753 Group: XBMC Simple actions Speech: Go Back
1/6/2014 5:04:00 PM 753 semanticID: 77
1/6/2014 5:04:00 PM 753 kvp: command | 77
1/6/2014 5:04:00 PM 753 semanticID: 77
1/6/2014 5:04:00 PM 753 kvp: command | 77
1/6/2014 5:04:00 PM 753 alternate:Go Back
1/6/2014 5:04:00 PM 753 doCommand:Go Back/ Backspace
1/6/2014 5:04:00 PM 753 action repeat set to: 1
1/6/2014 5:04:00 PM 753 Action:  XJson.Btn.KB - Backspace
1/6/2014 5:04:00 PM 753 [action] XJson.Btn.KB:Backspace

1/6/2014 5:04:20 PM 603 [plugin] {
  "jsonrpc": "2.0",
  "method": "Player.OnPause",
  "params": {
    "data": {
      "item": {
        "id": 137,
        "type": "movie"
      },
      "player": {
        "playerid": 1,
        "speed": 0
      }
    },
    "sender": "xbmc"
  }
}
1/6/2014 5:04:20 PM 603 [vcevent] XBMC.Player.OnPause.movie

1/6/2014 5:04:29 PM 168 focused: VoxCommando
1/6/2014 5:04:29 PM 168 [vcevent] unFocused.XBMC

1/6/2014 5:04:29 PM 168 [vcevent] focused.VoxCommando

1/6/2014 5:04:32 PM 164 focused: explorer
1/6/2014 5:04:32 PM 164 [vcevent] unFocused.VoxCommando

1/6/2014 5:04:32 PM 164 [vcevent] focused.explorer
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 06, 2014, 06:49:42 PM
If it is lying on its back and the light is off, then it should be off.  I don't know what to tell you, unless it is not really on its back or you have another microphone that is listening or your accelerometer is broken.  If your accelerometer were broken though, I think you would be able to see that the amulet light is turning red to show that the microphone is on.

You could always use the amulet usb monitor and use it to switch VC on and off.  It is much less likely to be able to turn on fast enough to react to a little jiggle, but if your remote thinks it is on when it is horizontal and not being touched then who knows.

http://voxcommando.com/forum/index.php?topic=324.msg5350#msg5350
Title: Re: Sends Tab command to XBMC when bumped
Post by: nime5ter on January 06, 2014, 07:01:12 PM
For a brief description of what's in the VoxCommando Extras download, see: http://voxcommando.com/mediawiki/index.php?title=Installation#VoxCommando_Extras
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 06, 2014, 07:02:57 PM
FWIW I have always used the usb monitor and I have never had this problem.
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 06, 2014, 07:08:43 PM
I'll keep monitoring it. It has happened once in the last hour and I've been putting VC through its paces with XBMC. A variety of TV shows, Movies and lots of different songs..

I'll work on collecting more data but of note I have not seen the red light go on when phantom commands are sent
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 07, 2014, 07:02:55 PM
I installed the USB Monitor but it appears that I have to wait longer than I'm used to give a command?
How long after the Amulet is vertical do you speak your command?
Title: Re: Sends Tab command to XBMC when bumped
Post by: nime5ter on January 07, 2014, 07:28:24 PM
How long after the Amulet is vertical do you speak your command?

We wait about a second, I'd say, before speaking a command.
Title: Re: Sends Tab command to XBMC when bumped
Post by: Kalle on January 07, 2014, 07:40:15 PM
@macroh
did you use also this command group, it is recommend

http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443 (http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443)
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 07, 2014, 07:48:37 PM
@macroh
did you use also this command group, it is recommend

http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443 (http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443)

Thanks, Kalle - I did not [little problem with reading comprehension ;)] -- will report back if any issues
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 07, 2014, 08:30:02 PM
I installed the USB Monitor but it appears that I have to wait longer than I'm used to give a command?
How long after the Amulet is vertical do you speak your command?
From the time that the amulet light actually comes on, I usually only need to wait about 0.1 seconds before I can start talking.  I'm not sure that you have an actual delay being introduced or if you were just talking to the Amulet (before) when it wasn't actually on.

In any case, if you don't like the additional delay I guess you'll have to go back to the way you had it before.
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 07, 2014, 09:10:32 PM
If for some reason your PC takes a little while to switch from Off to On mode, you could instead try to have the Amulet switch to Standby Mode instead of switching to Off mode, when the Amulet is off.
Title: Re: Sends Tab command to XBMC when bumped
Post by: nime5ter on January 07, 2014, 09:35:52 PM
How long after the Amulet is vertical do you speak your command?

Actually, you can see for yourself how long it takes for James in his "Coming Home from Work" video: http://youtu.be/ewCRJZKFW34?t=2m20s  :)
Title: Re: Sends Tab command to XBMC when bumped
Post by: macrho on January 08, 2014, 11:34:11 AM
@macroh
did you use also this command group, it is recommend

http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443 (http://voxcommando.com/forum/index.php?topic=803.msg6443#msg6443)

What's the proper way to add the xml? I opened the command builder and then tried to paste the XML and I get "You can't that here. Paste it to a command or a child of a command."

I then create a new command and attempt to paste the XML into that and it creates something unexpected.

<?xml version="1.0" encoding="utf-16"?>
<VoiceCommands>Sound.PartialMute601VC.On1Amulet.OnVC.Off1Sound.PartialUnMute1Amulet.Off</VoiceCommands>
Title: Re: Sends Tab command to XBMC when bumped
Post by: jitterjames on January 08, 2014, 11:40:05 AM
In the case of an xml file, you must drag the actual file onto your tree.

1 - save file to desktop
2 - open VC and click edit
3 - drag the file from desktop to your tree