Public Repository

Last pushed: 6 months ago
Short Description
Homebridge is a lightweight NodeJS server that emulates the iOS HomeKit API.
Full Description

Homebridge

// Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports Plugins, which are community-contributed modules that provide a basic bridge from HomeKit to various 3rd-party APIs provided by manufacturers of "smart home" devices. //
https://github.com/nfarina/homebridge


docker run

mkdir /home/pi/homebridge
docker run -d --name hb --net=host -p 5353:5353 -p 51826:51826 -v /home/pi/homebridge:/config niveksys/rpi-homebridge-hass


Dockerfile

FROM niveksys/rpi-node
MAINTAINER Niveksys niveksys@gmail.com

RUN apt-get update && apt-get install -y \
avahi-daemon \
avahi-discover \
build-essential \
dbus \
libnss-mdns \
libavahi-compat-libdnssd-dev \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN npm install -g --unsafe-perm homebridge homebridge-homeassistant

RUN mkdir -p /var/run/dbus
RUN sed -i.bak 's/^#enable-dbus/enable-dbus/' /etc/avahi/avahi-daemon.conf

VOLUME /config
EXPOSE 5353 51826

COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]


entrypoint.sh

#!/bin/bash

dbus-daemon --system
avahi-daemon -D
homebridge -U /config

Docker Pull Command
Owner
niveksys