mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-18 15:25:41 +00:00
29 lines
1.7 KiB
Bash
29 lines
1.7 KiB
Bash
# [Habridge](http://bwssystems.com/#/habridge) emulates Philips Hue API to other
|
|
# home automation gateways such as an Amazon Echo/Dot Gen 1 (gen 2 has issues
|
|
# discovering ha-bridge) or other systems that support Philips Hue. The Bridge
|
|
# handles basic commands such as 'On', 'Off' and 'brightness' commands of the
|
|
# hue protocol. This bridge can control most devices that have a distinct API.
|
|
# In the cases of systems that require authorization and/or have APIs that
|
|
# cannot be handled in the current method, a module may need to be built. The
|
|
# Harmony Hub is such a module and so is the Nest module. The Bridge has helpers
|
|
# to build devices for the gateway for the Logitech Harmony Hub, Vera, Vera Lite
|
|
# or Vera Edge, Nest, Somfy Tahoma, Home Assistant, Domoticz, MQTT, HAL, Fibaro,
|
|
# HomeWizard, LIFX, OpenHAB, FHEM, Broadlink and the ability to proxy all of
|
|
# your real Hue bridges behind this bridge. This bridge was built to help put
|
|
# the Internet of Things together. For more information about how to use this
|
|
# software have a look at their Wiki [https://github.com/bwssytems/ha-
|
|
# bridge/wiki](https://github.com/bwssytems/ha-bridge/wiki)
|
|
|
|
source ./.env
|
|
docker run -d \
|
|
--name=habridge \
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
|
-e SEC_KEY=<Your Key To Encrypt Security Data> `# Key used to secure communication.` \
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
|
|
-p 8080:8080 `# WebUI` \
|
|
-p 50000:50000 `# HABridge communication port.` \
|
|
-v ${BASEDIR:-/volume1/docker}/habridge/config:/config `# Where HABridge stores config files and data.` \
|
|
--restart unless-stopped \
|
|
ghcr.io/linuxserver/habridge
|