First of all: I don’t know if the topic of Baichuan host timeout times has already been discussed here. Unfortunately, I couldn’t find anything about it when searching.
I am using a Reolink Wi-Fi doorbell here, and because of this error message…
Logger: reolink_aio.baichuan.baichuan
Quelle: runner.py:280
Erstmals aufgetreten: 02:00:01 (1 Vorkommnis)
Zuletzt protokolliert: 02:00:01
Baichuan host 192.168.1.191: lost event subscription after 25.12 s and failed to reestablished connection
it seems there is a hard-coded timeout period that triggers this kind of connection error. In this specific instance, it occurred when the Reolink performed its weekly “maintenance reboot.”
Since I have also integrated the Reolink doorbell with my Dahua NVR, I can see in its logs that the doorbell disconnected around 2:00 AM (Note: In this case, the time on the NVR and HA is not 100% synchronized.) ![]()
with a user logout occurring - and then, about 60 seconds later, a user login took place once the camera became available again after rebooting.
01:55:29 = Disconnected
01:55:30 = User logout
01:56:33 = User login
In other words, rebooting the Reolink Doorbell Wi-Fi (in my case) takes about ~ 60 seconds. I’m wondering if that timeout period - which currently seems to be set to something under 30 seconds - could or should be increased to, say, 60 seconds plus a margin, so that these error messages don’t pop up “immediately” during brief connection drops, such as this maintenance reboot.
Yes, of course it makes sense for the Reolink integration to detect and report a loss of connection; the only question is how much time must - or should - elapse before such a notification is issued.
BTW: I am not a software developer, so I don’t know what the specific requirements are for HA; however, if increasing the timeout duration isn’t an option, perhaps that timeout message should be logged as a warning rather than an error.
Otherwise, I would/should also include them there as “critical” instead of “error” ![]()
logger:
default: info
logs:
pychromecast.socket_client: critical
homeassistant.components.camera: critical
homeassistant.components.onvif: critical
reolink_aio.baichuan.baichuan: critical
…assuming that works with reolink_aio.baichuan.baichuan.
While there are notes in the documentation
the timeout issue isn’t addressed there in any further detail.
Presumably, @starkillerOG can speak directly to this, but - in case the topic has already been raised here - any other user could, of course, do so as well.


