Reply
Occasional Visitor
Tenzing
Posts: 5
Registered: ‎04-04-2013
Posts: 5
Kudos: 2
Solutions: 1
Registered: 04-04-2013
Accepted Solution

Alternative UniFi controller?

Is there an alternative to the regular controller for UniFi devices? Something that doesn't need Java/MongoDB would be great to fit in a router (like the EdgeRouter Lite).

Member
koffik
Posts: 306
Registered: ‎04-29-2012
Posts: 306
Kudos: 184
Solutions: 12
Registered: 04-29-2012

Re: Alternative UniFi controller?

Using the official firmware, not really that I know until now.

Other variants exist using cloud-based controllers sold by third parties but this requires flashing non-stock firmware. Supposedly Ubiquiti isn't really liking this and won't provide you support for such a third-party controller + firmware bundle.

http://github.com/unifi-hackers/unifi-api
Regular Member
renaud
Posts: 450
Registered: ‎09-17-2010
Posts: 450
Kudos: 134
Solutions: 18
Registered: 09-17-2010

Re: Alternative UniFi controller?

Besides that, Edgerouter being based on Linux Debian, there are packages available for both openjdk and mongodb on debian mips:

http://packages.debian.org/search?keywords=openjdk&searchon=names&suite=stable&section=all

http://packages.debian.org/search?keywords=mongodb&searchon=names&suite=stable&section=all

 

But you got me interested about a third party controller with official firmwares. That should definitely be doable.

Occasional Visitor
Tenzing
Posts: 5
Registered: ‎04-04-2013
Posts: 5
Kudos: 2
Solutions: 1
Registered: 04-04-2013

Re: Alternative UniFi controller?

Not for mips architecture. There may be a way to port jamvm to mips o32/n32 but that means some development effort that i don't feel like doing.

Now i'm forced to buy and setup another computer just to run the controller, that sucks a bit.

Regular Member
renaud
Posts: 450
Registered: ‎09-17-2010
Posts: 450
Kudos: 134
Solutions: 18
Registered: 09-17-2010

Re: Alternative UniFi controller?


Tenzing wrote:

Not for mips architecture. There may be a way to port jamvm to mips o32/n32 but that means some development effort that i don't feel like doing.

Now i'm forced to buy and setup another computer just to run the controller, that sucks a bit.


Well, it is available for mips:

http://packages.debian.org/search?suite=wheezy&arch=mips&searchon=names&keywords=openjdk

http://packages.debian.org/search?suite=wheezy&arch=mips&searchon=names&keywords=mongodb

Established Member
Uberseehandel
Posts: 765
Registered: ‎03-11-2013
Posts: 765
Kudos: 179
Solutions: 18
Registered: 03-11-2013

Re: Alternative UniFi controller?


Tenzing wrote:

Now i'm forced to buy and setup another computer just to run the controller, that sucks a bit.


Just run it on a virtual machine

 

R+C

Occasional Visitor
Tenzing
Posts: 5
Registered: ‎04-04-2013
Posts: 5
Kudos: 2
Solutions: 1
Registered: 04-04-2013

Re: Alternative UniFi controller?


renaud wrote:

Tenzing wrote:

Not for mips architecture. There may be a way to port jamvm to mips o32/n32 but that means some development effort that i don't feel like doing.

Now i'm forced to buy and setup another computer just to run the controller, that sucks a bit.


Well, it is available for mips:

http://packages.debian.org/search?suite=wheezy&arch=mips&searchon=names&keywords=openjdk

http://packages.debian.org/search?suite=wheezy&arch=mips&searchon=names&keywords=mongodb


Well mongodb-server package isn't:

http://packages.qa.debian.org/m/mongodb.html

Anyway i'm not running debian on the router (custom kernel + initramfs image), and i'm also not trying to run the current UniFi controller on it.

What i would like to see is a stripped down version of the controller that just manages my APs without clogging the CPU. I would very much trade the fancy web interface for a simple daemon that reads its configuration from a simple text file, and provide data via perhaps SNMP for monitoring and alerts.

Established Member
Uberseehandel
Posts: 765
Registered: ‎03-11-2013
Posts: 765
Kudos: 179
Solutions: 18
Registered: 03-11-2013

Re: Alternative UniFi controller?

If you are not running a hotspot, you don't need to run the controller once you have set up the APs. One of my sites has been running for over 18 months without the controller being started.

R+C

Occasional Visitor
Tenzing
Posts: 5
Registered: ‎04-04-2013
Posts: 5
Kudos: 2
Solutions: 1
Registered: 04-04-2013

Re: Alternative UniFi controller?


Uberseehandel wrote:

If you are not running a hotspot, you don't need to run the controller once you have set up the APs. One of my sites has been running for over 18 months without the controller being started.


Oh.. that's cool, that solves most of my issues for now :manhappy:

Cheers!

Member
Ingineer
Posts: 174
Registered: ‎05-01-2009
Posts: 174
Kudos: 71
Solutions: 3
Registered: 05-01-2009

Re: Alternative UniFi controller?

I just set up a Amazon EC2 instance for running UniFi client installs.  I set up a DNS entry along with a proper SSL cert and then re-mapped the ports from 8080 to 80 and 8443 to 443.  Now all I have to do is use the UniFi-Discover app to change the default config server from http://unifi:8080/ to http://unifi.mydomain.com/.

Having the SSL cert now finally makes the admin login (and https portal reidrects) work without big red browser warning screens.  I've now got 2 clients running now on one instance and so far it seems to only cost about $4 per client/month, which will only get cheaper as I add more clients.  No on-site hardware reliabiliy or maintenance concerns, and it's a neat value-added service for clients.  The multi-homed aspect UBNT added in the new version works perfectly and is fully transparent to the clients (each client can only see their own network, so it appears dedicated).  Amazon reliaibliy, and hard to beat when it costs about the same as just the electric bill for even what a low-power server would cost!

If anyone wants an off-site server, I'll be happy to give you access for $5/month which will cover my cost.

-Phil

Reply