Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.09k stars 217 forks source link

Best API command/url to retrieve site power ‘ wattage ‘ usage / information ? #85

Closed nodecentral closed 3 years ago

nodecentral commented 3 years ago

Hi,

I’m working my way through the various apis trying to find one that show me the power consumption of all devices on my network, does anyone know the best one to use ?

many thanks

nodecentral commented 3 years ago

Found it, there are a number of poe fielded reported from .. local device = 'api/s/default/stat/device'

malle-pietje commented 3 years ago

The API Browser tool comes in handy when dealing with questions like these: https://github.com/Art-of-WiFi/UniFi-API-browser