News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

Sends Tab command to XBMC when bumped

Started by ptchan5, April 23, 2013, 02:33:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ptchan5

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

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

Quote from: ptchan5 on April 23, 2013, 02:33:59 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

Ok, I'll get screenshots and logs. I know it sounds crazy, but let's see what the logs say. Stay tuned...

Peter

macrho

I'll try and post a log as I've noticed this happening when my amulet is bumped

jitterjames

Noticed what exactly?  Would you mind explaining in your own words what happens? (posting a log as well would be great)  ;D

macrho

#6
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:

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

jitterjames

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


macrho

#9
now while watching a movie in XBMC it showed "go back", didn't bump the remote or anything


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

jitterjames

#10
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

nime5ter

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

FWIW I have always used the usb monitor and I have never had this problem.

macrho

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

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?