Every time I turn off and turn on my raspberry pi I have to repeat the homekit pairing as it shows Device Unavailable.Is there any method to retain my homekit pairing?Can you explain the solution for this problem in step by step.
thank you in advance.
Homekit Pairing
Ijaz
#1
zbot473
#2
- Uninstall the homekit extension
- Delete /var/lib/openhab2/jsondb/homekit.json
- Run
sudo touch /var/lib/openhab/jsondb/homekit.json
- Run
sudo chmod a-w /var/lib/openhab2/jsondb/homekit.json
- Reinstall homekit extension, and repeat the pairing process
Ijaz
#3
Thanks for the reply .
I don’t know how to delete file or which command should I use to delete that file.can u please help me out.
Ijaz
#5
touch: cannot touch ‘/var/lib/openhab/jsondb/homekit.json’: No such file or directory
chmod: cannot access ‘/var/lib/openhab2/jsondb/homekit.json’: No such file or directory
I get these errors when run those command.
i ran those command after deleting step
Ijaz
#6
rm: cannot remove ‘/var/lib/openhab2/jsondb/homekit.json’: No such file or directory
i get this error