HubobelsPython/Unifi.py
2019-11-25 20:28:26 +01:00

5 lines
165 B
Python

from unifi.controller import Controller
c = Controller('10.0.1.59', 'hubobel', 'polier2003','8443', 'v3')
for ap in c.get_aps():
print (ap.get('name'), ap['mac'])