Author Topic: Sends Tab command to XBMC when bumped  (Read 9482 times)

0 Members and 1 Guest are viewing this topic.

ptchan5

  • $upporter
  • Jr. Member
  • *****
  • Posts: 8
  • Karma: 0
    • View Profile
Sends Tab command to XBMC when bumped
« 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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #1 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?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #2 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.

ptchan5

  • $upporter
  • Jr. Member
  • *****
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #3 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

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #4 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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #5 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

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #6 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
« Last Edit: January 06, 2014, 04:53:15 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #7 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.

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #8 on: January 06, 2014, 05:42:25 PM »
Change made and thanks :)

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #9 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
« Last Edit: January 06, 2014, 06:50:28 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #10 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
« Last Edit: January 06, 2014, 06:53:45 PM by jitterjames »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #11 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
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sends Tab command to XBMC when bumped
« Reply #12 on: January 06, 2014, 07:02:57 PM »
FWIW I have always used the usb monitor and I have never had this problem.

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #13 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

macrho

  • $upporter
  • Contributor
  • *****
  • Posts: 75
  • Karma: 0
    • View Profile
Re: Sends Tab command to XBMC when bumped
« Reply #14 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?