[MAC OSX] XBMC JSON and Control4 Driver
#1
I'm completely stumped and need help...
I'm using the FRODO driver from RecluseAV talking to an XBMC 12.1 install. It was working fine. Then I created a new XBMC profile to hold just the kids video library. When I switched to it, the driver stopped controlling XBMC. When I switched back, the driver still wasn't controlling XBMC. However, the json connections appear fine, and the xbmc logs show the json pings from Control4. But none of the commands are getting to XBMC, or they're getting to XBMC and it's not respnding...

Here's the output of Control4 LUA Consol. This is showing the coummications between Control 4 and XBMC, and its showing all the navigation requests I'm making using the Control4 remote. Basic navigation stull... AND you can even see where I'm in XBMC using my keyboard and selecting the Master User profile which I have password protected. Control4 is getting the response from XBMC!


Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
ReceivedFromProxy [5001] : MENU
ROOM_ID 8

ReceivedFromProxy [5001] : UP
ROOM_ID 8
ReceivedFromProxy [5001] : UP
ROOM_ID 8
ReceivedFromProxy [5001] : UP
ROOM_ID 8
ReceivedFromProxy [5001] : UP
ROOM_ID 8
ReceivedFromProxy [5001] : LEFT
ROOM_ID 8
ReceivedFromProxy [5001] : LEFT
ROOM_ID 8
ReceivedFromProxy [5001] : LEFT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
ReceivedFromProxy [5001] : RIGHT
ROOM_ID 8
Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
Received JSON data : {"jsonrpc":"2.0","method":"Input.OnInputRequested","params":{"data":{"type":"numericpassword","value":""},"sender":"xbmc"}}
Received JSON data : Input.OnInputRequested
Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
Received JSON data : {"jsonrpc":"2.0","method":"Input.OnInputFinished","params":{"data":null,"sender":"xbmc"}}
Received JSON data : Input.OnInputFinished
Received JSON data : {"id":"1","jsonrpc":"2.0","result":"pong"}
Received JSON data : {"jsonrpc":"2.0","method":"Input.OnInputRequested","params":{"data":{"type":"numericpassword","value":""},"sender":"xbmc"}}
Received JSON data : Input.OnInputRequested
Received JSON data : {"jsonrpc":"2.0","method":"Input.OnInputFinished","params":{"data":null,"sender":"xbmc"}}
Received JSON data : Input.OnInputFinished


XBMC ISN'T RESPONDING TO ANY OF THE REMOTE COMMANDS FROM CONTROL4 IN THE ABOVE LOG.

==========================================================

And here is the output from the XBMC log:

20:22:53 T:140735212513632 NOTICE: Log level changed to 2
20:22:53 T:140735212513632 NOTICE: Enabled debug logging due to GUI setting. Level 2.
20:22:53 T:140735212513632 DEBUG: ------ Window Init () ------
20:22:53 T:140735212513632 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0
20:22:53 T:140735212513632 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu
20:22:53 T:140735212513632 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
20:22:53 T:140735212513632 DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
20:22:54 T:140735212513632 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new
20:22:54 T:140735212513632 DEBUG: ------ Window Init (Settings.xml) ------
20:22:54 T:140735212513632 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0
20:22:54 T:140735212513632 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu
20:22:54 T:140735212513632 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
20:22:54 T:140735212513632 DEBUG: ------ Window Deinit (Settings.xml) ------
20:22:54 T:140735212513632 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new
20:22:54 T:140735212513632 DEBUG: ------ Window Init (Home.xml) ------
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating ClearProperty(DontRunTVShowScripts,Home)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To ClearProperty(DontRunTVShowScripts,Home)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(BGMove,Control.Move(4324,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(BGMove,Control.Move(4324,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: bgmove
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(WidgetMove,Control.Move(8000,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(WidgetMove,Control.Move(8000,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: widgetmove
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(Widget2Move,Control.Move(7000,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(Widget2Move,Control.Move(7000,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: widget2move
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTileLeft,Control.Move(5001,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTileLeft,Control.Move(5001,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometileleft
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTileRight,Control.Move(5003,1),00:10,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTileRight,Control.Move(5003,1),00:10,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometileright
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTileMid,Control.Move(5002,1),00:15,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTileMid,Control.Move(5002,1),00:15,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometilemid
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTile2Left,Control.Move(6001,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTile2Left,Control.Move(6001,1),00:07,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometile2left
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTile2Right,Control.Move(6003,1),00:10,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTile2Right,Control.Move(6003,1),00:10,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometile2right
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating AlarmClock(HomeTile2Mid,Control.Move(6002,1),00:15,silent,loop)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To AlarmClock(HomeTile2Mid,Control.Move(6002,1),00:15,silent,loop)
20:22:54 T:140735212513632 DEBUG: started alarm with name: hometile2mid
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
20:22:54 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetFocus(9000)
20:22:55 T:140735212513632 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0
20:22:55 T:140735212513632 DEBUG: OnKey: escape (f01b) pressed, action is PreviousMenu
20:22:55 T:140735212513632 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
20:22:55 T:4590555136 DEBUG: JSONRPC: Incoming request: {"id":"1","jsonrpc":"2.0","method":"JSONRPC.Ping"}
20:22:55 T:4590555136 DEBUG: JSONRPC: Calling jsonrpc.ping
20:22:55 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:55 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:56 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:56 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:56 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:56 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:56 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:56 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:56 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:56 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:56 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:56 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:57 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:57 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:58 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:22:58 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:22:59 T:140735212513632 DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
20:22:59 T:140735212513632 DEBUG: OnKey: return (f00d) pressed, action is Select
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetProperty($INFO[Window(home).Property(MenuName)],PicturesHomeItem,home)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetProperty(,PicturesHomeItem,home)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetFocus(9006)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetFocus(9006)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetFocus(9000)
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating $INFO[Container(9000).ListItem.Property(Path)]
20:22:59 T:140735212513632 DEBUG: ExecuteXBMCAction : To LoadProfile(Adult,prompt)
20:22:59 T:140735212513632 DEBUG: ------ Window Init (DialogNumeric.xml) ------
20:22:59 T:140735212513632 DEBUG: CAnnouncementManager - Announcement: OnInputRequested from xbmc
20:22:59 T:140735212513632 DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputRequested
20:23:00 T:140735212513632 DEBUG: Keyboard: scancode: 35, sym: 001b, unicode: 001b, modifier: 0
20:23:00 T:140735212513632 DEBUG: OnKey: escape (f01b) pressed, trying keyboard action 61467
20:23:01 T:140735212513632 DEBUG: ------ Window Deinit (DialogNumeric.xml) ------
20:23:01 T:140735212513632 DEBUG: CAnnouncementManager - Announcement: OnInputFinished from xbmc
20:23:01 T:140735212513632 DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputFinished
20:23:05 T:140735212513632 DEBUG: CCoreAudioAE::Suspend - Suspending AE processing
20:23:05 T:140735212513632 DEBUG: CCoreAudioAE::GarbageCollect - Release CA HAL.
20:23:20 T:4590555136 DEBUG: JSONRPC: Incoming request: {"id":"1","jsonrpc":"2.0","method":"JSONRPC.Ping"}
20:23:20 T:4590555136 DEBUG: JSONRPC: Calling jsonrpc.ping
20:23:34 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:34 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:34 T:140735212513632 DEBUG: CCoreAudioAE::GarbageCollect - Acquire CA HAL.
20:23:35 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:35 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:35 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:35 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:35 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:35 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:36 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:36 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:36 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:36 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:37 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:37 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:38 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:38 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:38 T:140735212513632 DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
20:23:38 T:140735212513632 DEBUG: OnKey: return (f00d) pressed, action is Select
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetProperty($INFO[Window(home).Property(MenuName)],SettingsHomeItem,home)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetProperty(,SettingsHomeItem,home)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetFocus(9006)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetFocus(9006)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : To SetFocus(9000)
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating $INFO[Container(9000).ListItem.Property(Path)]
20:23:38 T:140735212513632 DEBUG: ExecuteXBMCAction : To ActivateWindow(settings)
20:23:38 T:140735212513632 DEBUG: Activating window ID: 10004
20:23:39 T:140735212513632 DEBUG: ------ Window Deinit (Home.xml) ------
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTileLeft,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTileLeft,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTileRight,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTileRight,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTileMid,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTileMid,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTile2Left,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTile2Left,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTile2Right,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTile2Right,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(HomeTile2Mid,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(HomeTile2Mid,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(WidgetMove,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(WidgetMove,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(Widget2Move,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(Widget2Move,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating CancelAlarm(BGMove,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To CancelAlarm(BGMove,true)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating ClearProperty(PanelWidgetInfo,Home)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To ClearProperty(PanelWidgetInfo,Home)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating ClearProperty(PanelWidget2Info,Home)
20:23:39 T:140735212513632 DEBUG: ExecuteXBMCAction : To ClearProperty(PanelWidget2Info,Home)
20:23:39 T:140735212513632 DEBUG: ------ Window Init (Settings.xml) ------
20:23:40 T:140735212513632 DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
20:23:40 T:140735212513632 DEBUG: OnKey: return (f00d) pressed, action is Select
20:23:40 T:140735212513632 DEBUG: ExecuteXBMCAction : Translating ActivateWindow(SystemSettings)
20:23:40 T:140735212513632 DEBUG: ExecuteXBMCAction : To ActivateWindow(SystemSettings)
20:23:40 T:140735212513632 DEBUG: Activating window ID: 10016
20:23:40 T:140735212513632 DEBUG: ------ Window Deinit (Settings.xml) ------
20:23:40 T:140735212513632 DEBUG: ------ Window Init (SettingsCategory.xml) ------
20:23:41 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:41 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:42 T:140735212513632 DEBUG: Keyboard: scancode: 7b, sym: 0114, unicode: f702, modifier: 0
20:23:42 T:140735212513632 DEBUG: OnKey: left (f082) pressed, action is Left
20:23:42 T:140735212513632 DEBUG: Keyboard: scancode: 7d, sym: 0112, unicode: f701, modifier: 0
20:23:42 T:140735212513632 DEBUG: OnKey: down (f081) pressed, action is Down
20:23:42 T:140735212513632 DEBUG: Keyboard: scancode: 7d, sym: 0112, unicode: f701, modifier: 0
20:23:42 T:140735212513632 DEBUG: OnKey: down (f081) pressed, action is Down
20:23:42 T:140735212513632 NOTICE: ES: Starting event server
20:23:43 T:140735212513632 DEBUG: Keyboard: scancode: 7d, sym: 0112, unicode: f701, modifier: 0
20:23:43 T:140735212513632 DEBUG: OnKey: down (f081) pressed, action is Down
20:23:43 T:140735212513632 DEBUG: Keyboard: scancode: 7d, sym: 0112, unicode: f701, modifier: 0
20:23:43 T:140735212513632 DEBUG: OnKey: down (f081) pressed, action is Down
20:23:43 T:140735212513632 DEBUG: Keyboard: scancode: 7d, sym: 0112, unicode: f701, modifier: 0
20:23:43 T:140735212513632 DEBUG: OnKey: down (f081) pressed, action is Down
20:23:43 T:140735212513632 DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
20:23:43 T:140735212513632 DEBUG: OnKey: return (f00d) pressed, action is Select
20:23:44 T:140735212513632 DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
20:23:44 T:140735212513632 DEBUG: OnKey: right (f083) pressed, action is Right
20:23:45 T:140735212513632 DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
20:23:45 T:140735212513632 DEBUG: OnKey: return (f00d) pressed, action is Select
20:23:45 T:140735212513632 NOTICE: Disabled debug logging due to GUI setting. Level 0.
20:23:45 T:140735212513632 NOTICE: Log level changed to 0

I'm so completely stumped! Expert help is needed...

Thank you.
Reply
#2
ISSUE RESOLVED: MODS, you can delete this Topic!

Control4 HC800 Controller required a restart. It was not sending the full JSON command. Restarting the controller solved the problem.
Reply

Logout Mark Read Team Forum Stats Members Help
[MAC OSX] XBMC JSON and Control4 Driver0