I installed the TPlink omada integration
oc200 V5.11.10
It found the 3 AP’s and 1 switch.
It shows the 4 PoE ports and proviced a on/off toggle for it
But the firmware update notice keeps on showing “unknown”.
The log shows no data
The debug logs shows ok connection to the switch:
2023-07-30 13:38:40.615 DEBUG (MainThread) [homeassistant.components.tplink_omada.coordinator] Finished fetching Omada API Data - PoE managed switch IoT TP-SG2008P Ports data in 0.262 seconds (success: True)
When using the view a HA dashboard in the debug log it shows:
2023-07-30 14:41:28.302 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140409332656720] Error handling message: Unknown error (unknown_error) eric from (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py”, line 26, in _handle_async_response
await func(hass, connection, msg)
File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 465, in websocket_release_notes
await entity.async_release_notes(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/update/init.py”, line 333, in async_release_notes
return await self.hass.async_add_executor_job(self.release_notes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/tplink_omada/update.py”, line 114, in release_notes
status = self.coordinator.data[self._mac]
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: ‘NoneType’ object is not subscriptable
and repeats this message every 5 min’s.
Same btw in chrome browser of on smartphone the H.A. app
I can not understand why the status keeps shown “unknown” as this looks to me it’s not working. Other integrations like the synoligy of DNS Pihole show “up-to-date” when the sw status is the latest version.
The documentation on H.A. does not reveal something to be added in the config.
The automation scripts available look good, they contain e.g.
Any clue how to get a trustfull status ?