elad-bar / ha-shinobi

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

Startup throws this - Failed to load monitor data: {'ok': False, 'msg': 'Not Authorized'}, Error: the JSON object must be str, bytes or bytearray, not NoneType, Line: 464 #59

Closed vw-kombi closed 10 months ago

vw-kombi commented 1 year ago

Get this at every startup - but all seems fine ?

Logger: custom_components.shinobi.managers.rest_api Source: custom_components/shinobi/managers/rest_api.py:476 Integration: Shinobi Video NVR (documentation, issues) First occurred: 11:19:47 (1 occurrences) Last logged: 11:19:47

Failed to load monitor data: {'ok': False, 'msg': 'Not Authorized'}, Error: the JSON object must be str, bytes or bytearray, not NoneType, Line: 464

chemelli74 commented 12 months ago

Hi, please share the full log with DEBUG level on.

elad-bar commented 10 months ago

@vw-kombi is it still relevant?

thanks

vw-kombi commented 10 months ago

I have removed them from ha for now. Used the Foscam plugin to get the same info. I did not have the time to fault find this sorry. Will come back to it in the future.