Jump to content
C4 Forums | Control4
  • 0

Cinegration Unifi Network Controller Driver


DLite

Question

I am considering purchase of the Cinegration Unifi network controller driver, and my hope is to track presence of family members, based on whether and when their phones connect to our network. Will this work? We have all Unifi gear — USG router, switches, and access points.

 

Also, I noticed in the driver documentation a comment that this driver uses more than the normal amount of CPU and memory. Is this a potential issue to be concerned about? Our project sits on an EA-5.

 

Thanks!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • 0

I cant seem to get this driver to communicate with Dream Router. says no communication docs does not include compatibility with UDR tho. maybe someone else has it working?

 

Edit: A little more patience and it works. wifi connect/disconnect works but is 30sec-1min delay to trigger

Link to comment
Share on other sites

  • 0
On 9/14/2022 at 3:32 PM, cnicholson said:

Please report back your findings.  I, too, would like to do this.  Lots of possibilities. 

I'm having a hard time with the setup of the driver.  The driver sees my Unifi controller.  I set up a local user in Unifi, and the user successfully logs in from the driver.  However, I keep getting "Communication Error 400" in the driver.  This happened even when I made the local user a "Super Admin," so it can't be a permissions issue.  I do not use the default site, but I entered the Site name into the driver, and it seemed to login properly. (One issue is that my site name has a space in it.  I tried it with the space and without the space, but it didn't work either time.)

I confirmed that it works with the "default" site, but that is not the one we use.  Entering the name of our site produces a "bad credentials" error in the driver log. I've confirmed the local access user has access rights to our site.  Is this driver incompatible with non-default sites?

EDIT:  Finally figured it out. I didn't realize that the "Site ID" is actually different than the Site Name.  Once I put the Site ID in, the driver connected normally. Hope this helps someone else.

 

Link to comment
Share on other sites

  • 0

As an update, I got the presence feature working, along with the ability to switch POE ports on and off, speed tests from C4 navigators, and the ability to switch wifi networks on and off.  For whatever reason, however, the Unifi Network driver webview doesn't work for me.  I get a 404 error on my T4's when I try it.  Annoying, but not a dealbreaker.

Link to comment
Share on other sites

  • 0
3 hours ago, Cinegration said:

Did you click the driver action download latest dashboard?

 

we don’t automatically load the dashboard because many dealers don’t use the dashboard just the driver so we didn’t want to bog down the controller with unneeded files

Aha!  That solved it, and the dashboard is awesome.  Thank you!

At the risk of hijacking my own thread, I also recently purchased the Battery Agent driver, and I have just one problem with it.  One of my SR260's battery level does not persist in the Agent dashboard.  I have 3 SR-260s. Two of them use recharging stations, and they both report accurately in Battery Agent.  The third one, which uses regular batteries, will report accurately in Battery Agent when used, but about 15-30 minutes after its last use, the agent reverts to showing it as having 0% battery.  I confirmed that the remote is properly set up with recharging disabled, and I turned on the 24-hour SR260 check-in property within the driver.  Is there anything else I can try to get it working?  Thanks!

 

Link to comment
Share on other sites

  • 0
On 9/17/2022 at 10:29 AM, DLite said:

Aha!  That solved it, and the dashboard is awesome.  Thank you!

At the risk of hijacking my own thread, I also recently purchased the Battery Agent driver, and I have just one problem with it.  One of my SR260's battery level does not persist in the Agent dashboard.  I have 3 SR-260s. Two of them use recharging stations, and they both report accurately in Battery Agent.  The third one, which uses regular batteries, will report accurately in Battery Agent when used, but about 15-30 minutes after its last use, the agent reverts to showing it as having 0% battery.  I confirmed that the remote is properly set up with recharging disabled, and I turned on the 24-hour SR260 check-in property within the driver.  Is there anything else I can try to get it working?  Thanks!

 

I'll look into this a bit more.  The Battery Agent reads the composer variable BATTERY_LEVEL value at the time of the scan... So if the driver is reporting 0% then this means the SR driver is incorrectly updating variable to 0 when it shouldn't.  I might need to build a validation script to ignore these incorrect levels.  I'll update the other forum post with more info on battery agent updates as we release them.

 

On the UniFi Network driver ;)

I'm glad you got the setup working.    To answer some of the earlier questions:

 

The Site Id is the ID referenced in the URL (see image).  Normally this is the word default and yes, in multi site system it'll be a unique code. 

image.thumb.png.698736c17efef3b76eb8647365e19369.png

 

On geo fencing... Yes, you can use the driver to get alerts when certain phones arrive.  This was actually a critical goal of the driver and I personally use this to know when my kids get home from school.  In addition to this, you can enable/disable alerts for any network client via the T3/T4 dashboard :).  This is really great when you get new phones, you don't need to call your dealer or have them adjust your settings... Just simply click the Notify Online option for that client in the dashboard ;).

 

The Network driver is very cool and feature packed.  The primary reason to develop this driver was to bring Network Systems and Smart Home technology together in a way that homeowners (and dealers) could use easily create powerful smart home solutions. 

https://drivercentral.io/platforms/control4-drivers/utility/unifi-network-controller/

Happy programming :)

Link to comment
Share on other sites

  • 0
20 minutes ago, Cinegration said:

I'll look into this a bit more.  The Battery Agent reads the composer variable BATTERY_LEVEL value at the time of the scan... So if the driver is reporting 0% then this means the SR driver is incorrectly updating variable to 0 when it shouldn't.  I might need to build a validation script to ignore these incorrect levels.  I'll update the other forum post with more info on battery agent updates as we release them.

 

On the UniFi Network driver ;)

I'm glad you got the setup working.    To answer some of the earlier questions:

 

The Site Id is the ID referenced in the URL (see image).  Normally this is the word default and yes, in multi site system it'll be a unique code. 

image.thumb.png.698736c17efef3b76eb8647365e19369.png

 

On geo fencing... Yes, you can use the driver to get alerts when certain phones arrive.  This was actually a critical goal of the driver and I personally use this to know when my kids get home from school.  In addition to this, you can enable/disable alerts for any network client via the T3/T4 dashboard :).  This is really great when you get new phones, you don't need to call your dealer or have them adjust your settings... Just simply click the Notify Online option for that client in the dashboard ;).

 

The Network driver is very cool and feature packed.  The primary reason to develop this driver was to bring Network Systems and Smart Home technology together in a way that homeowners (and dealers) could use easily create powerful smart home solutions. 

https://drivercentral.io/platforms/control4-drivers/utility/unifi-network-controller/

Happy programming :)

Thanks for looking into the battery issue. I apologize for cross-posting the issue and will monitor the other thread for updates!

On the Unifi driver, yes, I am also now using the driver for that purpose -- telling me when our kids get home from school, not to mention when our aquarium guy is there to service the tank, when our gardener is there, etc.  It is so much more reliable (and much easier to set up) than Alexa geofencing or other methods I have tried.  I find it is also handy for power cycling POE-connected equipment.  If I'm not around, my family can easily power cycle a device from a C4 touch screen instead of tracking me down to do it through the Unifi app.  I am looking forward to playing around more, because this only scratches the surface of what the driver does, as you note.  Thanks again for building it.

 

Link to comment
Share on other sites

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
Answer this question...

×   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.