elad-bar / ha-shinobi

Shinobi Video custom component for HA
53 stars 5 forks source link

Seeing major performance issue with Hassio 2022.10.x #34

Closed rlsgit closed 2 years ago

rlsgit commented 2 years ago

Latest Shinobi integration. With integration enabled, load on HA goes 1.5+. When off back to <.01.

Integration is working though...

See these log entries...will keep digging: 2022-10-07 17:31:17.723 WARNING (MainThread) [custom_components.shinobi.component.api.websocket] Failed to connect Shinobi Video WS, Error: maximum recursion depth exceeded while getting the str of an object 2022-10-07 17:31:17.727 ERROR (MainThread) [custom_components.shinobi.component.api.api] Failed to access API, Error: maximum recursion depth exceeded while calling a Python object, Line: 319

elad-bar commented 2 years ago

Which version of HA shinobi ate you using? Can you please provide debug log level logs?

elad-bar commented 2 years ago

should be fixed in v2.0.5 - Set API and WS initial status to connecting once initializing

elad-bar commented 2 years ago

thanks

rlsgit commented 2 years ago

ok, LMK if you still want version info.

UPDATE: 2.0.5 looks better so far...will update if still a problem.

thanks!!!

elad-bar commented 2 years ago

No need, if it happens again please reopen the issue and post logs

Thanks for the update