Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)

Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)

Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)
Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)
a week ago - last edited Tuesday
Tags: #OpenAPI
Model: ER7212PC  
Hardware Version: V1
Firmware Version: 1.4.1

Hi,

I am working with the Omada Open API (v6 controller, ER7212PC) and I am able to authenticate and retrieve data such as sites and devices without issues.


However, I cannot retrieve PoE data for the integrated switch ports on the ER7212PC using the Open API.

I have tested the documented endpoint:


 

GET /openapi/v1/{omadacId}/sites/{siteId}/switches/ports/poe-info?page=1&pageSize=100

This returns:


 

errorCode: 0
data: []

So the endpoint exists, but returns no data.


At the same time, I can clearly see that the controller itself has the PoE data internally.
When accessing the gateway via the cloud/connector API, I receive full port data including:

  • portStats[].poePower

  • portStats[].poe (on/off)

  • total PoE budget (poeRemain)


Example values:

  • LAN5: 3.4 W

  • LAN8: 7.8 W

  • etc.

So the data definitely exists inside the controller.


My question is:

Is there a supported local Open API endpoint that exposes PoE data for the integrated switch ports on gateway devices like ER7212PC?

Or is the /switches/ports/poe-info endpoint only intended for standalone switch devices (e.g. TL-SG series), and not gateway-integrated switches?

If not available, is there any official way to retrieve:

  • per-port PoE power (W)

  • PoE status per port

  • remaining PoE budget

via the local Open API?

I would strongly prefer a local solution over the cloud connector API.

Thanks in advance.
 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)-Solution
a week ago - last edited Tuesday

Hi  @BitJulDK 

You may try to search the related poe information under gateway Advanced config and Recovery gateway poe port.

If there is no such information, please feel free to provide the screenshot for our reference.

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
Recommended Solution
  0  
  0  
#3
Options
2 Reply
Re:Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)
a week ago
I found the data also via: https://<region>-api-omada-cloud-access.tplinkcloud.com/omadac/<cloudDeviceId>/<omadacId>/api/v2/sites/<siteId>/gateways/<gatewayMac> Can i get same data via Open API local or do i have to use local Web API with user, pass and TOTP to get TPOMADA_SESSIONID and Csrf-Token. Please reply if you know how to obtain PoE energy data via the local OpenAPI, as I would prefer not to rely on username + password + TOTP secret + auto-login against the local Web API.
  0  
  0  
#2
Options
Re:Omada Open API – Missing PoE port data for ER7212PC (gateway integrated switch)-Solution
a week ago - last edited Tuesday

Hi  @BitJulDK 

You may try to search the related poe information under gateway Advanced config and Recovery gateway poe port.

If there is no such information, please feel free to provide the screenshot for our reference.

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
Recommended Solution
  0  
  0  
#3
Options