We'd like to create a Datalog for our home networking. Our Unifi controller knows what's happening. Will it share our data with us?
This one endpoint provides lots of info about all network clients. Login to use. api
Ubiquiti Community Wiki has reverse engineered the controller api. page
Here we examine ESP devices.
cat ~/Downloads/unify-sta.json | jq -r \ '.data[]|[.signal,.hostname,.tx_retries,.ip]|@tsv'|\ sort -n | grep ESP
-81 ESP_00C2FF 3858 10.0.1.150 -66 ESP_3C27E2 10 10.0.1.22 -65 ESP_3C23F5 34 10.0.1.21 -39 ESP_6E8994 60 10.0.1.153 -37 ESP_759BDA 8 10.0.1.20
.
On Dec 20, 2019, at 10:23 PM, Pat Cunningham <pat@c2.com> wrote:
> They provide a shell script as reference. Bottom of the release posts page unifi
> Looks like it stores session/auth in a cookie. Need to pass that in the curl request. There are helper libraries for node github
On Dec 20, 2019, at 9:15 PM, Ward Cunningham <ward@c2.com> wrote:
> I can fetch interesting stats from the unifi controller from my browser, but I can’t figure out how to include necessary credentials on a curl command. You have any idea? Thanks.