Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Welcome to the New c4Forums.com!

We will be enhancing the platform daily now that we are officially online. You can read and discuss the new platform here or for access issues please email c4forums@c4forums.com. Thanks!


Photo

Third party's driver


  • Please log in to reply
23 replies to this topic

#1 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 25 January 2011 - 12:22 AM

I am a potential customer willing to pay for C4 system.

I have never seen the real C4 product only with pictures or something.
Now, I have a kind of basic question about third party's driver.

here is the question.
Where I have to put the .c4i file(driver) after I create third party's driver using DriverWorks?
Controller or something?


thanks for your answer.

#2 DanH

DanH

    Village Idiot

  • c4Forums Member
  • 10,720 posts
  • LocationUtah

Posted 25 January 2011 - 09:12 AM

It gets loaded onto the controller, yes.
Can Control4 really be done completely DIY? http://www.c4diy.com/

Dan - dan@c4diy.com

#3 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 25 January 2011 - 09:58 AM

It gets put into a directory on the computer that is running ComposerPro. ComposerPro loads it into it's driver list, and then you can add the driver to a project that does indeed run on the controller.

RyanE

#4 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 25 January 2011 - 09:58 AM

That said, ComposerPro is only available to Control4 dealers, so it's not common for an end user to be able to add their own drivers (3rd-party or not) to a project.

RyanE

#5 EagleMoon

EagleMoon

    C4 Guru

  • c4Forums Member
  • 528 posts
  • LocationUsually Colorado

Posted 25 January 2011 - 01:42 PM

It gets put into a directory on the computer that is running ComposerPro. ComposerPro loads it into it's driver list, and then you can add the driver to a project that does indeed run on the controller.

RyanE

Once the driver is added to the project, the driver is actually stored on the controller, right? Otherwise how does it work if you have to switch dealers for some reason?

That is, if the first dealer customizes a driver and then you switch dealers, would the second dealer be able to edit the customized driver because it lives on the controller (without getting the copy from the original dealer)? Or do I have to be sure my dealer gives me a copy of anything he has customized so that I can pass it along to any new dealer if necessary?

Edited by EagleMoon, 25 January 2011 - 01:43 PM.


#6 henniae

henniae

    C4 Guru

  • Control4 Dealer
  • 2,300 posts

Posted 25 January 2011 - 01:50 PM

Once the driver is added to the project, the driver is actually stored on the controller, right? Otherwise how does it work if you have to switch dealers for some reason?

That is, if the first dealer customizes a driver and then you switch dealers, would the second dealer be able to edit the customized driver because it lives on the controller (without getting the copy from the original dealer)? Or do I have to be sure my dealer gives me a copy of anything he has customized so that I can pass it along to any new dealer if necessary?

Depends on the driver. It is possible to encrypt a driver so you would not have access to the source. If the driver is unencrypted the new dealer will be able to export it and edit it.

Edited by henniae, 25 January 2011 - 02:09 PM.

Alan

- Unix is user-friendly; it's just picky about its friends.

- All computers wait at the same speed.

#7 EagleMoon

EagleMoon

    C4 Guru

  • c4Forums Member
  • 528 posts
  • LocationUsually Colorado

Posted 25 January 2011 - 02:11 PM

It gets put into a directory on the computer that is running ComposerPro. ComposerPro loads it into it's driver list, and then you can add the driver to a project that does indeed run on the controller.

RyanE

Once the driver is added to the project, the driver is actually stored on the controller, right? Otherwise how does it work if you have to switch dealers for some reason?

That is, if the first dealer customizes a driver and then you switch dealers, would the second dealer be able to edit the customized driver because it lives on the controller (without getting the copy from the original dealer)? Or do I have to be sure my dealer gives me a copy of anything he has customized so that I can pass it along to any new dealer if necessary?

Depends on the driver. It is possible to encrypt a driver so you would not have access to the source.

You mean so the second dealer couldn't modify it? I just wanted to be sure that customized drivers don't "live" only on the ComposerPro computer of the dealer who installed them but are actually uploaded to, and then stored on, the controller and thus are generally available to other dealers. I'm sure that's true, but wanted to clarify what Ryan said. (I realize encrypted drivers are a different animal)

#8 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 25 January 2011 - 03:25 PM

Sure. On the controller, drivers are stored in the /etc/c4i directory.

They live as separate files, but are also exported as part of the project file that a dealer (or you with ComposerHE) can save out as a backup.

Alan is right, if a driver is encrypted (DriverWorks drivers can be encrypted, simple IR drivers can not), you can still get to the driver, but you can't edit it's Lua source code.

RyanE

#9 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 25 January 2011 - 08:22 PM

Thanks for replies.
these are definitely helpful for me :D

And now, I have one more question to understand this sequence well.

How can I get the point of 'Project' running on the controller?
Is this a kind of 'OS' for Controller hardware like 'window' OS for computer?

I LOVE C4 :cool:

Edited by keumisa, 25 January 2011 - 08:39 PM.


#10 EagleMoon

EagleMoon

    C4 Guru

  • c4Forums Member
  • 528 posts
  • LocationUsually Colorado

Posted 25 January 2011 - 08:50 PM

How can I get the point of 'Project' running on controller?
Is this a kind of 'OS' for Controller hardware like 'window' OS for computer?

Oooh....let me, as a layman, take a stab at that as a way to test my own understanding. Then the experts can correct me.

The "project" is the definition of your system: the collection of locations and their devices defined in your system, along with any drivers they require, default settings and the specified connections between everything, plus all of your programming (events, conditions and actions, plus related things like variables and agents). "Connections" includes obvious things like what output of what device connects to what input of what other device, plus presumably some less obvious things. Everything in the project is managed by the controller serving as the "director".

Close?

I think the analogy is that the "project" is like a database (almost literally so) that defines everything in your system and this database is used/managed by the Director "application" running on the controller underneath the OS, which is Linux.

#11 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 25 January 2011 - 09:32 PM

Pretty darn good.

Linux is the *system* OS, Director runs on top of it, and is the 'OS of the Home ™'.

Director manages the project, which is a collection of floors, rooms, drivers, relationships between drivers and devices (bindings), and programming.

Navigator is also an application, which runs on controllers and on touchscreens, which presents the UI (User Interface) of the Control4 system. It builds the UI from the project, which it gets from Director.

RyanE

#12 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 25 January 2011 - 10:22 PM

wow, it is pretty cooooool and fascinates me ;)

ok, here is my last question.
What kind of CE(Consumer Electronic) can be added to C4 system?
Anything is possible? like an air conditioner, robot cleaner or something?
there is no restriction to added 3rd party's product?

Thanks :lol:

#13 wingzz

wingzz

    C4 Guru

  • c4Forums Member
  • 944 posts

Posted 25 January 2011 - 10:57 PM

anything you can control with IR or serially can be controlled with the right driver

#14 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 25 January 2011 - 10:59 PM

Pretty much anything that can be controlled via IR, Serial, or IP can be controlled with a Control4 system.

There aren't UI pages to control every possible thing, but with 2.0, Control apps could be written that run on the touchpanels, and would then use a driver to control the devices.

Pretty much any AV gear will have a driver already, but dealers and partners can write their own drivers.

RyanE

#15 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 26 January 2011 - 12:02 AM

Now, I don't want to be a just consumer of C4 system but a kind of dealer.
If I can get a sample driver file, it could empowered me to expand C4 system.

Could you someone attach any sample driver to this bulletin board?
Nevertheless it could be not possible, I would never mind :D

Edited by keumisa, 26 January 2011 - 12:02 AM.


#16 DanH

DanH

    Village Idiot

  • c4Forums Member
  • 10,720 posts
  • LocationUtah

Posted 26 January 2011 - 12:07 AM

You could download any of the dozens that are here in the "File Library" (found at the bottom of the main page).

http://www.c4forums.com/uploads.php
Can Control4 really be done completely DIY? http://www.c4diy.com/

Dan - dan@c4diy.com

#17 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 26 January 2011 - 12:20 AM

Now, I don't want to be a just consumer of C4 system but a kind of dealer.

Unfortunately, it's not very easy (if even possible) to be a 'kind of dealer'.

Control4 only sells through it's actual dealer channel, and becoming a dealer requires pre-qualification (by Control4 area reps/etc.) and a sizeable initial order.

Control4 also doesn't typically release ComposerPro to end users.

Your best bet *may* be to partner up with a dealer who is interested in development resources.

RyanE

#18 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 26 January 2011 - 07:53 PM

You could download any of the dozens that are here in the "File Library" (found at the bottom of the main page).

http://www.c4forums.com/uploads.php

I have reviewed 'c4i file' in the File Library

For example..

.
.
.

<ircodes>
<ircode verified="False" controlrating="0">
<id>1000</id>
<name>GOTO</name>
<transmit>PULSE</transmit>
<repeatcount>1</repeatcount>
<delayafter>0</delayafter>
<pattern>0000 006D 0022 0002 0157 00AC 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0689 0157 0056 0015 0E94
</pattern>
<altpattern />
</ircode>

.
.
.

But I was curious about something.
It seems that above code is not come from 'Lua code' which is for third party to create their driver, right?

Is it an interpreted script by the Lua interpreter exists on the C4 controller?

Edited by keumisa, 26 January 2011 - 07:59 PM.


#19 RyanE

RyanE

    Control4

  • c4Forums Ambassador
  • 5,478 posts

Posted 26 January 2011 - 08:21 PM

There are different types of drivers.

That one is what we call a 'Driver Wizard' driver, which is a one-way serial or IR driver (in your case, an IR driver).

DriverWorks drivers are the ones that have Lua scripting inside of them.

RyanE

#20 keumisa

keumisa

    New Member

  • c4Forums Member
  • 8 posts

Posted 26 January 2011 - 08:34 PM

There are different types of drivers.

That one is what we call a 'Driver Wizard' driver, which is a one-way serial or IR driver (in your case, an IR driver).

DriverWorks drivers are the ones that have Lua scripting inside of them.

RyanE

Always Thanks :)

And then you mean that multi-way serial or IP drivers need to be created by DriverWorks?

and one more,
After creating drivers, maybe I think dealers also have to create 'UI' for User Interface(Touch Screen or etc..) to control their products.
Is it also 3rd party's job with supporting their drivers?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users