elad-bar / ha-edgeos

Integration with EdgeOS (Ubiquiti)
133 stars 24 forks source link

Data not being processed in HA #80

Closed poonab closed 1 year ago

poonab commented 1 year ago

Starting a new issue as requested in #70

Experienced my issue again this morning when I noticed CPU had stopped recording again

image

Looking at my sensors that are created by the component they all stopped around that time.

HA log shows around that time:

Logger: custom_components.edgeos.component.api.websocket
Source: custom_components/edgeos/component/api/websocket.py:133
Integration: Ubiquiti EdgeOS Routers (documentation, issues)
First occurred: 17 October 2022 at 08:12:37 (2 occurrences)
Last logged: 05:38:36

Failed to store partial message for later processing
Failed to connect WS, Error: 503, message='Invalid response status', url=URL('wss://192.168.0.1/ws/stats'), Line: 109
Logger: custom_components.edgeos.core.managers.home_assistant
Source: custom_components/edgeos/core/managers/home_assistant.py:245
Integration: Ubiquiti EdgeOS Routers ([documentation](https://github.com/elad-bar/ha-edgeos), [issues](https://github.com/elad-bar/ha-edgeos/issues))
First occurred: 16 October 2022 at 23:40:01 (21 occurrences)
Last logged: 05:03:15

Update in progress, will skip the request

I have debug enabled and can see debug.api and debug.ha are constantly updating, debug.ws stopped at 05:38.

elad-bar commented 1 year ago

dup #79