Skip to content

Instantly share code, notes, and snippets.

@itsmepetrov
Last active March 10, 2019 16:44
Show Gist options
  • Select an option

  • Save itsmepetrov/59fbff4a975b990fd1b0dcc445ca9542 to your computer and use it in GitHub Desktop.

Select an option

Save itsmepetrov/59fbff4a975b990fd1b0dcc445ca9542 to your computer and use it in GitHub Desktop.

Revisions

  1. Anton Petrov revised this gist Mar 10, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -14,4 +14,4 @@ or beta version from github:
    docker-compose exec homebridge npm i itsmepetrov/homebridge-zigbee
    ```

    Don't forget to specify your own token (YOUR_NGROK_TOKEN) for ngrok to have access to your raspberry from outside.
    Don't forget to specify your own token (`YOUR_NGROK_TOKEN`) for ngrok to have access to your raspberry from outside.
  2. Anton Petrov revised this gist Mar 10, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    ## Installation

    After running the docker compose configuration add `homebridge-zigee` plugin using the following command:
    After running the docker compose configuration add `homebridge-zigbee` plugin using the following command:

    ```bash
    docker-compose exec homebridge npm i homebridge-zigbee
  3. Anton Petrov created this gist Jan 3, 2019.
    17 changes: 17 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Docker compose for Homebridge with ZigBee plugin platform (Raspberry PI)

    ## Installation

    After running the docker compose configuration add `homebridge-zigee` plugin using the following command:

    ```bash
    docker-compose exec homebridge npm i homebridge-zigbee
    ```

    or beta version from github:

    ```bash
    docker-compose exec homebridge npm i itsmepetrov/homebridge-zigbee
    ```

    Don't forget to specify your own token (YOUR_NGROK_TOKEN) for ngrok to have access to your raspberry from outside.
    33 changes: 33 additions & 0 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    version: '2'
    services:
    homebridge:
    image: oznu/homebridge:raspberry-pi
    restart: always
    network_mode: host
    volumes:
    - ./homebridge:/homebridge
    devices:
    - /dev/ttyACM0
    environment:
    - TZ=Europe/Moscow
    - PGID=0
    - PUID=0
    - PACKAGES=linux-headers,udev
    - HOMEBRIDGE_INSECURE=1
    - HOMEBRIDGE_CONFIG_UI=1
    - HOMEBRIDGE_CONFIG_UI_PORT=80
    ngrok:
    image: itsmepetrov/ngrok:armhf
    restart: always
    network_mode: host
    environment:
    CONFIG_STRING: |
    authtoken: YOUR_NGROK_TOKEN
    region: eu
    tunnels:
    web:
    addr: 80
    proto: http
    ssh:
    addr: 22
    proto: tcp