Two days ago, I posted a message here: HomeKit update, non-commercial version - SRP
I got an off-line reaction suggesting me to start a new thread as it will help more people of this community struggling with the same issues…
There we are:
Now that my dozen Particles around the new home are maturing in their tasks and working together as a band, I am turning to find appropriate tools and platforms to monitor and control them in an elegant and practical way.
I’d like to compare two candidates: Apple Homekit and OpenHAB.
Right now, as I’m an “Apple boy”, I believe “Homebridge”, as a bridge to Apple Homekit looks like a promising road.
I’m not a programmer and not experienced with Linux/Unix …
So, I took took a deep breath and ordered the brandnew “Pi3 B+”…
In one long day, I have …
- assembled my brandnew Pi with a SmartiPi touchscreen,
- set-up the Pi from scratch,
- learned to “speak” Linux ssh and VNC my Pi from my Mac and
- managed to set it’s resolution to such an incredibly small size (try “pixel doubling” on a touchscreen!) that I could’nt configure it anymore… and I
- escaped finally! (With a little help from great Linux minds!)
- set-up Particle Pi where I
- managed the little green “D7” led using my iPhone App. Then I
- started installing Homebridge by following the original Github instructions by nfarina which Jordy (@Moors7 ) mentioned in the previous post.
I am very happy I managed to install Homebridge that far already without any help, but now I’m afraid to be STUCK!
It would be great if someone, experienced with Homebridge, could give me a few tips how I could proceed?
I 'd really like to make it work!
These are the last steps I took a few minutes ago:
All went well with trial & error…
Fnally I also managed to create a required “homebridge” folder and ditto system user using “sudo” as my authorization wasn’t right…
However, I couldn’t check if this user can write to that directory.
All seemed to go well until I did this (From NFARINA 's Github procedure):
* Then Enable and run the service (first time) with the following commands:
systemctl daemon-reload systemctl enable homebridge systemctl start homebridge
What happened on the Pi’s terminal screen?
pi@raspberrypi:/var/lib/homebridge $ systemctl daemon-reload
=> OK, seems fine…
pi@raspberrypi:/var/lib/homebridge $ systemctl enable homebridge Failed to enable unit: File homebridge.service: No such file or directory
=> ERROR! ???
When I check the homebridge directory and “config.json” file, they both exist:
pi@raspberrypi:/var/lib/homebridge $ ls config.json
Checking the homebridge status:
pi@raspberrypi:/var/lib/homebridge $ systemctl status homebridge Unit homebridge.service could not be found.