Jump to content
C4 Forums | Control4

Control4 Connect API Driver


Recommended Posts

Have any of you found yourself wanting to integrate Control4 with other home automation systems or custom code, but don't know how to start with driver development?  I have expanded on my HomeKit driver to provide a basic HTTP API for controlling Control4 systems from anywhere, via any system.  With a little software knowledge, you can control an ever expanding list of devices from anywhere you can call a web URL!

For a preview of the driver API, check out this Google Doc: https://docs.google.com/document/d/15csLkkoWDTZ691vxScvGrPdofYB7fSuYdBK6G6m34RM/edit?usp=sharing

The driver is going through some final testing now and I need to finish off the documentation and clean things up a little bit, but it's nearly ready for prime time.  Anybody out there interested?

Link to comment
Share on other sites


very nice! i did the same today aswell, but for multimedia inputs. i used the chowmain tcp driver and set a lot input commands for every key on the remote. now i can trigger the remote keys from an different app. i can change the video and audio sources aswell with that. but its a lot of work to do this with every single input command :)

Link to comment
Share on other sites

56 minutes ago, Joshua Pressnell said:

Have any of you found yourself wanting to integrate Control4 with other home automation systems or custom code, but don't know how to start with driver development?  I have expanded on my HomeKit driver to provide a basic HTTP API for controlling Control4 systems from anywhere, via any system.  With a little software knowledge, you can control an ever expanding list of devices from anywhere you can call a web URL!

For a preview of the driver API, check out this Google Doc: https://docs.google.com/document/d/15csLkkoWDTZ691vxScvGrPdofYB7fSuYdBK6G6m34RM/edit?usp=sharing

The driver is going through some final testing now and I need to finish off the documentation and clean things up a little bit, but it's nearly ready for prime time.  Anybody out there interested?

I’m for sure interested, so this would allows me to control any C4 property from outside, so it’s outwards Control with 2- way feedback, Right? For example I can’t use it to control devices that is unique to the other HA system?

Link to comment
Share on other sites

1 hour ago, Amr said:

I’m for sure interested, so this would allows me to control any C4 property from outside, so it’s outwards Control with 2- way feedback, Right? For example I can’t use it to control devices that is unique to the other HA system?

You'd need to poke a port forward through to your driver port to allow outside control, but since I am including security as part of this interface, it's reasonably safe to do so.  You're correct, it won't be able to control the other HA system, but you will get full control of C4 and can get direct feedback via callback URL.

Link to comment
Share on other sites

  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.