pergolafabio / Hikvision-Addons

Home Assistant: Hikvision Doorbell
187 stars 41 forks source link

Container fails at start when some of doorbell is offline #207

Closed alexdan-77 closed 6 months ago

alexdan-77 commented 6 months ago

What happened?

Container fails If some device (dorrbell) is offline (or can't connect to it) while it starts.

изображение

but when some device (doorbell) if offline while container is running - all ok.

Add-on

Hikvision Doorbell

What version of the add-on are you running?

3.0.14

Installation type

Docker container (standalone)

Relevant log output

[2024-05-11 12:58:58.723][INF] Login dev 10.0.4.202:8000.
2024-05-11 12:59:02.227 | ERROR    | __main__:<module>:101 - Error while logging into domophone_panel_02: Failed to connect to the device. The device is off-line, or connection timeout caused by network. Error code:7
[2024-05-11 12:59:02.227][ERR] Private connect 10.0.4.202:8000 sock=135 this=0x5a9b5794 cmd=0x10000 sys_err=110, timeout= 3500
[2024-05-11 12:59:02.227][ERR] [10.0.4.202:8000]LogonDevice Link_CreateLink fail[7].
[2024-05-11 12:59:02.227][ERR] CMemberMgrBase::AllocIndex2, MemberStart Failed, iIndex[1]
[2024-05-11 12:59:02.235][INF] COM_Logout[0][1]
[2024-05-11 12:59:02.241][DBG] CUserMgr::UnRegisterHeartProxy[0]

Relevant configuration

No response

Anything else?

No response

pergolafabio commented 6 months ago

yeah, thats normal behaviour :-)