Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Homebridge Guide

curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -

sudo apt-get install -y nodejs

sudo apt install -y libavahi-compat-libdnssd-dev

sudo npm install -g --unsafe-perm homebridge

https://gist.github.com/johannrichard/0ad0de1feb6adb9eb61a/

Download the two files and place homebridge under /etc/default and homebridge.service under /etc/systemd/system on your Raspberry Pi.

sudo ln $(which homebridge) /usr/local/bin/homebridge

sudo useradd -M --system homebridge

sudo mkdir /var/lib/homebridge

sudo chown -R homebridge:homebridge /var/lib/homebridge sudo chmod 777 -R /var/lib/homebridge

systemctl daemon-reload systemctl enable homebridge systemctl start homebridge

sudo killall ffmpeg; sudo systemctl restart homebridge; sudo journalctl -f -u homebridge

cat /etc/systemd/system/homebridge.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.