ARCHLINUX HOMEBRIDGE
[alarm@alarmpi01 ~]$ sudo pacman -S nss-mdns avahi dbus pygtk python-dbus python2-dbus
[alarm@alarmpi01 ~]$ sudo npm install -g --unsafe-perm homebridge
[alarm@alarmpi01 ~]$ systemctl start dbus.service
[alarm@alarmpi01 ~]$ systemctl start avahi-daemon.service
[alarm@alarmpi01 ~]$ sudo systemctl start homeassistant
[alarm@alarmpi01 ~]$ sudo systemctl start homebridge
[alarm@alarmpi01 ~]$ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
[10/16/2017, 11:30:57 PM] No plugins found. See the README for information on installing plugins.
[10/16/2017, 11:30:57 PM] config.json (/home/alarm/.homebridge/config.json) not found.
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[10/16/2017, 11:30:57 PM] Homebridge is running on port 37495.
sudo nano /etc/systemd/system/homebridge.service
[Unit]
Description=homebridge Nodejs HomeKit Server
After=network.target
[Service]
User=homebridge
Group=homebridge
Type=simple
ExecStart=/usr/bin/homebridge -U /var/lib/home-bridge
[Install]
WantedBy=multi-user.target
sudo nano /etc/systemd/system/homeassistant.service
[Unit]
Description=Home Assistant
After=network.target
[Service]
User=hass
Group=hass
Type=simple
ExecStart=/usr/bin/hass --config /var/lib/home-assistant
[Install]
WantedBy=multi-user.target