UniFi-API-client
UBNT-EdgeRouter-Example-Configs
Our great sponsors
UniFi-API-client | UBNT-EdgeRouter-Example-Configs | |
---|---|---|
18 | 5 | |
1,059 | 195 | |
1.7% | - | |
7.1 | 0.0 | |
about 2 months ago | almost 3 years ago | |
PHP | Erlang | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
UniFi-API-client
-
Created a docker app to notify on new device connections
UniFiClientAlerts is a Dockerized application that monitors UniFi networks for new device connections and sends alerts via Telegram. It leverages PHP code from the Art-of-WiFi/UniFi-API-client for interfacing with UniFi Controllers.
-
Automatically rebooting a G3 Pro camera
Take a look at the API Client here, https://github.com/Art-of-WiFi/UniFi-API-client. You can use the client to create a cron job or scheduled task to run a script to cycle the port.
- Documenting Unifi Wireless Network Passwords
-
Connecting to UDM SE API ?!?!
I'm using a UDM SE (runs Unifi OS) and have cloud management up and running via a fixed external IP, and an external captive portal using port 443. SSL certificate installed and up to date. I'm trying to connect to using the API as 'documented' at https://ubntwiki.com/products/software/unifi-controller/api. I haven't been a dev for a long, long time, and although I think I could probably mug my way through using the stuff at https://github.com/Art-of-WiFi/UniFi-API-client, I'm first trying simply to connect to the API using curl. I'm falling at the first hurdle: I just can't connect to the API at all.
- Executing a power-cycle command for a POE port
- UDMP SSH Commands for Traffic Management
-
Wifi captive portal login using G Suite (nonprofit) oauth
Personally, I have scraped together a custom portal before using the PHP API client - https://github.com/Art-of-WiFi/UniFi-API-client - UniFi passes the MAC address of the device as a GET parameter called 'id'
-
Showcase: Ubiquiti UniFi MagicDash and Asset oneway sync
We try to avoid external classes and dependencies to reduce the potential for trouble. Especially with something rather simple like a REST API. But based on the UniFi API situation, we decided to make an exception and go with the fantastic UniFi-API-client class for PHP by Art-of-WiFi that can be found over on Github https://github.com/Art-of-WiFi/UniFi-API-client. It’s actively maintained and offers the benefit of people reporting broken stuff so it’s a community thing to make the UniFi API usable even if Ubiquiti decides to change or remove stuff.
-
Management of Ubiquiti Flex XG
There is a well-documented and maintained (though unofficial) PHP API for managing/talking to the controller. We use it for automating mundane tasks like loading lots of Mac-to-vlan bindings. It is quite feature complete. https://github.com/Art-of-WiFi/UniFi-API-client
-
Is there any API access to Unifi Controller or AP's?
PHP API library: https://github.com/Art-of-WiFi/UniFi-API-client
UBNT-EdgeRouter-Example-Configs
-
Using Ubiquiti routers with various ISP's
This is a little old and targeted at Edgerouters, but you can browse the JSON configs for Google Fiber, Spectrum, and Xfinity: https://github.com/stevejenkins/UBNT-EdgeRouter-Example-Configs
-
Help: EdgeRouter 5 POE Suddenly stopped working with Google Fiber
I've been running an EdgeRouter 5 POE with Google Fiber for about 3 years without a single hiccup. I've been using nearly this identical configuration. I've also confirmed over the last 3 years this exact config does work for me.
-
Reconfiguring Ubiquiti EdgeRouter to remove VLAN and QoS settings
This isn't something I've personally done as I moved out of the location I lived in that had Google Fiber before they offered BYOR, but his GitHub repo with the config files is still up: https://github.com/stevejenkins/UBNT-EdgeRouter-Example-Configs
-
So uhmmm T-Mobile 5G is pretty fast in our city.
However, the above is not for the faint of heart and you need some tech knowhow with linux - https://github.com/stevejenkins/UBNT-EdgeRouter-Example-Configs
- Issues with residential spectrum IPv6
What are some alternatives?
UniFi-API-browser - Tool to browse data exposed by Ubiquiti's UniFi Controller API
telegraf-edgeos - A lightweight Telegraf distribution customized for Ubiquiti's EdgeOS.
Postman-for-AlwaysOn-Cisco-SD-WAN - Postman for AlwaysOn Cisco SD-WAN
php-azure-face-api-client - PHP client for Microsoft Azure Face API.
dsnet - FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
erste-bank-client-php - Client written in PHP for Erste Bank API
docker-unifi-video - Dockerized Ubiquiti Unifi Video Controller software (v3.10.13). Mainly intended to be ran within MacOS
smudge - Control the Spotify app from within Emacs.
unifi-linux-utils - Helpful Linux / Unix scripts for admins of Ubiquiti (UBNT) UniFi wireless products
PHP-MVC-REST-API - A simple PHP MVC REST API framework with PHP 7.2 With routes and some tools to develop your API.
edgeos-bl-mgmt - Automated updating of EdgeOS firewall network-group to be used as source address blacklist