brutella / hc

hc is a lightweight framework to develop HomeKit accessories in Go.
Apache License 2.0
1.74k stars 189 forks source link

Can't find the camera in HomeKit after reinstalling the HKCam-Image. #152

Closed HKFanBoy closed 4 years ago

HKFanBoy commented 4 years ago

Hi,

I installed the HKCam-Image (0.0.9) to my RPI Zero and it worked. But after removing the camera from Homekit and changing the SD-Card in the RPI (with the same image burnt on) HomeKit won't find the camera anymore. Does anybody have any suggestions what I can do? Unfortunately I have no programming experiences at all, so I can't find the problem by myself.

Thank for your help in advance!

brutella commented 4 years ago

Remove all persistent data related to hkcam.

rm -rf /var/lib/hkcam/data

Then restart the RPi Zero.