zachcheatham / ha-omada

Home Assistant TP-Link Omada Integration
186 stars 26 forks source link

API errors #59

Closed Rickerdo closed 1 year ago

Rickerdo commented 1 year ago

HA: 2023.2.4 Omada Controller: 5.8.4 ha-omada: 0.4.0 Beta 3

The logs are spewing the following:

2023-02-15 07:55:17.874 ERROR (MainThread) [custom_components.omada.controller] Omada API error: Call to https://omada:8043/5706dc28dd8326686849038100fd7672/api/v2/sites/631369a863dc3107184114c2/eaps/B4-B0-24-9D-80-39 received status code -39303

2023-02-15 07:55:18.111 ERROR (MainThread) [custom_components.omada.controller] Omada API error: Call to https://omada:8043/5706dc28dd8326686849038100fd7672/api/v2/sites/631369a863dc3107184114c2/eaps/B4-B0-24-9D-80-39 received status code -39303
2023-02-15 07:57:18.169 ERROR (MainThread) [custom_components.omada.controller] Omada API error: Call to https://omada:8043/5706dc28dd8326686849038100fd7672/api/v2/sites/631369a863dc3107184114c2/eaps/B4-B0-24-9D-80-39 received status code -39303
2023-02-15 07:57:18.206 ERROR (MainThread) [custom_components.omada.controller] Omada API error: Call to https://omada:8043/5706dc28dd8326686849038100fd7672/api/v2/sites/631369a863dc3107184114c2/eaps/B4-B0-24-9D-80-39 received status code -39303

I had to roll back to beta 2 which, as prob expected, reports the following in the logs, but it works fine:

2023-02-15 07:59:59.910 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for omada using this method at custom_components/omada/__init__.py, line 34: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
zachcheatham commented 1 year ago

Is B4-B0-24-9D-80-39 an access point or some other device?

Rickerdo commented 1 year ago

B4-B0-24-9D-80-39 is my TL-SG3428 v2.0 switch at the core of my network.

zachcheatham commented 1 year ago

Let me know if the latest beta resolves this and thanks for helping me work through wired device issues in this beta.

Rickerdo commented 1 year ago

I've upgraded to 0.4.0-beta 4 and upgraded my Omada container to 5.9.9. So far, the errors I mentioned above have stopped. I'll keep an eye on it and post back if anything changes.

Thank you for making the custom component. I migrated from Ubiquiti to TP-Link/Omada and really missed the wi-fi tracking.

Keep up the good work!