Github GitHub - imperian-systems/unifi-controller: Open source Unifi controller
source link: https://github.com/imperian-systems/unifi-controller
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
imperian-systems/unifi-controller
Note: This package is backend only, no user interface is included
Install snappy PHP extension
Setup Unifi controller
- Clone the repo
git clone https://github.com/imperian-systems/unifi-controller.git
-
Create a new Laravel install
-
Add repo path to composer.json
"repositories": [
{
"type": "path",
"url": "path/to/repo/unifi-controller"
}
],
- Install unifi-controller
composer require imperian-systems/unifi-controller
-
Configure database in .env
-
Setup database tables for Unifi controller
php artisan migrate
- Install configuration file
php artisan vendor:publish --provider="ImperianSystems\UnifiController\UnifiControllerProvider" --tag="config"
-
If you do not intend to setup user logins for this site, you'll need to edit
config/unifi-controller.php
and comment outauth:api
-
Run web server
php artisan serve --host=[::]
- SSH into Unifi device and point to controller
set-inform http://1.2.3.4:8000/inform
-
View stored data in JSON format
-
View errors in storage/log/laravel.log
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK