New FREE Control4 Driver Available (JSON)

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
brandonj Offline
Junior Member
Posts: 37
Joined: Sep 2007
Reputation: 0
Post: #91
(2013-06-01 23:25)NoiZe Wrote:  any idea on how I can narrow down what the problem is?

First, I would suggest trying to telnet to your XBMC IP address on port 9090, and see if it actually connects. If not, there's a problem in XBMC. Check the configuration and make sure port 9090 is the one being used.
Next, in composer choose "log and print" in the XBMC driver, then go to the lua tab and look at the output. Every 10 seconds or so, you should get output similar to the following:

On Timer Expired
XBMC: polltimer test
On Timer Expired
Emit: {"id":1,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
SendToNetwork:{"id":1,"jsonrpc":"2.0","method":"Player.GetActivePlayers"}
Received From Network
XBMC: Received something from network on binding 6001
{"id":1,"jsonrpc":"2.0","result":[]}
Resetting checkin counter


If there is no ouput at all (make sure log and print is enabled and set!), then there was most likely a problem loading the driver. Composer doesn't tell you if there's a problem, it just doesn't do anything (so helpful).
Other have had problems downloading drivers from github, and my suggestion has always been to download the ZIP file ( https://github.com/RDX/Drivers/archive/master.zip ) and then use the c4i file from that.

To make sure any old driver isn't getting in the way, delete any instances of the driver that is already in the project, then go to the driver menu, then Manage drivers. Delete the driver from there, close the dialog, then add the driver in again.

Also, what version of Composer are you using?

-Brandon
(This post was last modified: 2013-06-02 06:20 by brandonj.)
find quote
NoiZe Offline
Junior Member
Posts: 37
Joined: Feb 2007
Reputation: 0
Location: Switzerland
Post: #92
Thank you for the quick answer!

I had already tried to get the driver from the zip file but without differences.


my pc can connect with telnet and I can see the different actions like screensaver on/off.. and when I play a movie I see all the informations, so the xbmc part is working on the right port.

No output in composer even from the proxy when I press the buttons, nothing at all so the driver load problem seems the right direction.

Then I tried to remove some test driver that I don't really need, Ip cameras, wake on lan, dreambox... Every couple of drivers removed I rebooted the director, the I added your driver and retried.. nothing.

Ok, let's start a new C4 project from scratch... A simple project with just the director (identified) and the xbmc frodo driver.... no answer in the log even in this case.

...mh... my composer version is 2.4.0... the director version is 2.4.0.227470-res.... there are bugs in this versions that I haven't heard about?


Now I'll go back to the old project with eden driver that works, I go out (it's one of the few days of sun), and when I have some time I'll try to check the driver by section (removing some parts).

Thanks

Bye

Noize
find quote
brandonj Offline
Junior Member
Posts: 37
Joined: Sep 2007
Reputation: 0
Post: #93
You shouldn't have to remove any other drivers from the c4 system, unless they you know they might interfere with the XBMC driver (other XBMC drivers, for example).

I moved over to the same c4 version you are on, and verified that the driver does indeed work with it.

Just to be sure, did you first delete my XBMC driver from the system using the method I described (Driver|Manage Drivers menu)?
After doing so, reload the driver from the zip file using the Driver|Add Driver menu, then add the new driver to the project.

I should also note that you won't see any output on the driver logs until you assign it an IP address from the Network tab in the Connections section of composer.

-Brandon
find quote
NoiZe Offline
Junior Member
Posts: 37
Joined: Feb 2007
Reputation: 0
Location: Switzerland
Post: #94
The drivers where removed the right way and the ip was assigned correctly but without results..

Today I updated to 2.5 and I tried again, but nothing... so I reset the director (factory reset), reloaded the project, updated to 2.5, reinserted the driver, and... voilĂ .. the driver now it's working!!! Wink

AMAZING!! (I have no idea on what was wrong... but... whatever... now it works)

Finally I can try it!!

Thank you for your support
find quote
Post Reply