Closed brendanlim1995 closed 6 years ago
Use one of the solution described here in order to autostart homebridge.
@brendanlim1995, any news?
@ilcato Thanks, quite busy for the last few days. Juz follow the step you gave, it works perfectly. Thanks again!
Sorry to say that, the homebridge which autostart successfully yesterday is having a problem again.
After I delete the paired homebridge on my iPhone and reboot the RPi, I can find the homebridge in my home kit (in iPhone), but it can't be paired again.
What happened to my homebridge again, can someone help me? By the way, the config.json file didn't change at all.
The config.json file looks like below.
The error comes in my iPhone as below.
Thanks!
delete the accessories folder and the persist folder. change a number in the username field in the bridge section. restart
@ilcato Why will this happen? Does it need to redo the same steps every time after I deleted the homebridge in my iPhone?
By the way, thanks!
@brendanlim1995, not necessarily, I never reset the platform in more than 12 month even while using it as a test environment. Sometimes homebridge and or plugins corrupt something internally. Does it work now?
@ilcato Yes, it works perfectly right now. I can control my accessories on Fibaro with my iPhone again. Thanks!
Hi, @ilcato the problems came back again, the same problem but I have tried the solution that you gave me about a week ago. I had changed the Username in homebridge and the port. But it just looked the same.
Any help?
ENETUNREACH means that you are not able to reach the destination address. Does the error happen on startup?
Yup, just happened when I using startup.
So that means that homebridge starts before the networking subsystem is ready. Try another autostart option that you find in the wiki.
Okay, I will try it later. Thanks a lot
@ilcato I have successfully autostarted the homebridge by using systemctl's pause. Thanks!
Error message when autostart the Homebridge program as below.
I am using
crontab -e
to Autostart the home bridge program, as the .sh doc as belowAs in the py script:
But I can successfully run the
homebridge
from the terminal. As thewpa_supplicant
file looks like:For the
/etc/network/interface
, with AP openedWhy did the Error happened, it sometimes will appear the
ENETUNREACH
error message. Is there any way to fix this problems? Thanks Guys.