brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
920 stars 141 forks source link

Need to restart min. 1x per day to get a connection #108

Closed micheld93 closed 2 years ago

micheld93 commented 3 years ago

Hi,

installation and so on worked very well and smooth but I do need to restart my Zero W once a day at least.

2021-01-21_07:53:08.31560 Exiting normally, received signal 2. 2021-01-21_07:53:33.56277 DEBUG 2021/01/21 08:53:33 characteristics.go:43: 192.$ 2021-01-21_07:54:38.58890 DEBUG 2021/01/21 08:54:38 characteristics.go:43: 192.$ 2021-01-21_07:55:43.32445 DEBUG 2021/01/21 08:55:43 characteristics.go:43: 192.$ 2021-01-21_07:56:51.90712 DEBUG 2021/01/21 08:56:51 characteristics.go:43: 192.$ 2021-01-21_07:57:53.66863 DEBUG 2021/01/21 08:57:53 characteristics.go:43: 192.$ 2021-01-21_07:58:58.69561 DEBUG 2021/01/21 08:58:58 characteristics.go:43: 192.$ 2021-01-21_08:00:03.72437 DEBUG 2021/01/21 09:00:03 characteristics.go:43: 192.$ 2021-01-21_08:00:50.45644 DEBUG 2021/01/21 09:00:50 resource.go:43: 192.168.178$ 2021-01-21_08:00:50.45830 DEBUG 2021/01/21 09:00:50 loopback.go:37: Starting lo$ 2021-01-21_08:00:50.46096 DEBUG 2021/01/21 09:00:50 loopback.go:66: &{/usr/bin/$ 2021-01-21_08:00:52.35165

What can I do to avoid it?

Wishes

Loremwriter commented 2 years ago

I wrote an cronjob to restart the Pi every hour. Better done than perfect;)

brutella commented 2 years ago

I've just released version 0.1.0, which should run much more reliable than previous versions.