docker-bits/lsio/habridge/docker-run.sh

29 lines
1.7 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [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-
2021-04-10 10:16:29 +00:00
# bridge/wiki](https://github.com/bwssytems/ha-bridge/wiki)
source ./.env
docker run -d \
--name=habridge \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e SEC_KEY=<Your Key To Encrypt Security Data> `# Key used to secure communication.` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-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