Manolo
Manolo
I'm also on UDM Pro but 1.92 firmware. I noticed that client list and other functions are working like a charm but when it comes to callable commands for instance...
Totally understood. I double checked the version. Firmware for my UDMP is already 1.9.3. Well if you don't think it's related to the headers mentioned above how could I reverse...
Hey if someone might be interested. I was successful. My script can block / unblock clients on a UDM Pro controller based on Mac addresses. You can also scan the...
Hey Linas, thanks for your feedback. Finally I managed to adjust my python script to retrieve a list of clients, filter by Mac address dynamically and to block specific clients....
I tried to post the script here in the comment...but the formatting is driving me nuts :) The code tag doesn't work...how can I post a code snippet?
Finally I got it.... ``` #!/usr/local/bin/python3.8 # -*- coding: utf-8 -*- import sys import base64 import json from requests import Request, Session, packages from requests.packages.urllib3.exceptions import InsecureRequestWarning username = 'user'...
hey @w1tw0lf, did you try my script [here](https://github.com/nickovs/unificontrol/issues/12#issuecomment-835732877). It should work for UDM Pro. I'm using actually.
@w1tw0lf ...hm you only need to send a GET to /proxy/network/api/s/[SITE]/stat/device I got plenty of data for every single device. CPU, harddisk, etc. Is this what you're looking for?
hey @w1tw0lf it shouldn't be that complicated. With my code just add a function like: ``` def listDevices(): global action, site print("LIST DEVICES") print("============") response = callURL('unifi', 'json', 'POST', '/proxy/network/api/s/%s/stat/device'...
...okay thought you're experienced with python. If you need help please gimme a shout. /cheers