During twilight, wyze cam pan (firmware version 188.8.131.52) constantly cycles between night and day modes making clicking sound every few seconds. Adding some hysteresis where toggle points are not the same should most likely fix the problem
Sadly, this is old news. It’s well known to Wyze developers and is apparently by design. It afflicts both PanCam and V2 models. For more info, see this thread that started in November 2018.
this has come up quite a bit. but it has been hard for the devs to recreate because its such a narrow environment that triggers it. make sure when it happens to send logs in through the app for the devs.