docker run \
--net=host \
--name=homebridge \
-e HOMEBRIDGE_DEBUG=1 \
-e HOMEBRIDGE_CONFIG_UI=1 \
-e HOMEBRIDGE_CONFIG_UI_PORT=8888 \
-e PUID=1000 -e PGID=1000 \
-e TZ=Pacific/Auckland \
-e PACKAGES=ffmpeg,openssh \
-v /homebridge:/homebridge \
kenhuang/docker-homebridge:latest
docker run \
--net=host \
--name=homebridge \
-e HOMEBRIDGE_DEBUG=1 \
-e HOMEBRIDGE_CONFIG_UI=1 \
-e HOMEBRIDGE_CONFIG_UI_PORT=8888 \
-e PUID=1000 -e PGID=1000 \
-e TZ=Pacific/Auckland \
-e PACKAGES=ffmpeg,openssh \
-v /homebridge:/homebridge \
kenhuang/docker-homebridge:raspberry-pi
update /homebridge/config.json, sample-config.json
restart container
add HomeBridge to iOS home app, check container logs get the QR code then add it as accessory in iOS home app
docker run \
--net=host \
--name=homebridge \
-e PUID=<UID> -e PGID=<GID> \
-e TZ=<timezone> \
-v </path/to/config>:/homebridge \
kenhuang/docker-homebridge
Example:
docker run \
--net=host \
--name=homebridge \
-e PUID=1000 -e PGID=1000 \
-e TZ=Pacific/Auckland \
-v /homebridge:/homebridge \
kenhuang/docker-homebridge
docker logs -f homebridge
docker exec -it homebridge sh
Say "Alexa discovery devices" after start up the container, it should expose all the lights as Alexa supported devices
curl -X POST -d 'ding=dong&dong=ding' http://HOME_BRIDGE_IP:5005
for ChuangmiIRPlatform, you will need to find out the following information
MIIO_TOKEN
execute the following command inside the container to find out miio token
docker exec -it homebridge sh
miio --discover
MI_LEARNED_CODE
trigger MiLean switch on iOS then watch the container log to find out the IR command
Check tested camera configuration here: https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/Tested-Configuration