commit 6e8b41af7b
Author: Robert Kaussow <mail@geeklabor.de> Date: Sun Nov 29 23:13:28 2020 +0100 fix molecule requirements
This commit is contained in:
parent
d09c23dd25
commit
18b29ad883
246
index.md
246
index.md
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: zigbee2mqtt
|
title: zigbee2mqtt_docker
|
||||||
type: docs
|
type: docs
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -8,20 +8,28 @@ type: docs
|
|||||||
Setup [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt). Zigbee2mqtt allows you to use your Zigbee devices without the vendors bridge or gateway. It bridges events and allows you to control your Zigbee devices via MQTT.
|
Setup [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt). Zigbee2mqtt allows you to use your Zigbee devices without the vendors bridge or gateway. It bridges events and allows you to control your Zigbee devices via MQTT.
|
||||||
|
|
||||||
* [Default Variables](#default-variables)
|
* [Default Variables](#default-variables)
|
||||||
* [zigbee2mqtt_base_dir](#zigbee2mqtt_base_dir)
|
|
||||||
* [zigbee2mqtt_cache_state](#zigbee2mqtt_cache_state)
|
* [zigbee2mqtt_cache_state](#zigbee2mqtt_cache_state)
|
||||||
|
* [zigbee2mqtt_cap_add](#zigbee2mqtt_cap_add)
|
||||||
|
* [zigbee2mqtt_cap_drop](#zigbee2mqtt_cap_drop)
|
||||||
* [zigbee2mqtt_channel](#zigbee2mqtt_channel)
|
* [zigbee2mqtt_channel](#zigbee2mqtt_channel)
|
||||||
|
* [zigbee2mqtt_container_name](#zigbee2mqtt_container_name)
|
||||||
|
* [zigbee2mqtt_cpu_shares](#zigbee2mqtt_cpu_shares)
|
||||||
|
* [zigbee2mqtt_data_volume](#zigbee2mqtt_data_volume)
|
||||||
|
* [zigbee2mqtt_devices](#zigbee2mqtt_devices)
|
||||||
* [zigbee2mqtt_devices_ban](#zigbee2mqtt_devices_ban)
|
* [zigbee2mqtt_devices_ban](#zigbee2mqtt_devices_ban)
|
||||||
* [zigbee2mqtt_devices_whitelist](#zigbee2mqtt_devices_whitelist)
|
* [zigbee2mqtt_devices_whitelist](#zigbee2mqtt_devices_whitelist)
|
||||||
* [zigbee2mqtt_elapsed](#zigbee2mqtt_elapsed)
|
* [zigbee2mqtt_elapsed](#zigbee2mqtt_elapsed)
|
||||||
|
* [zigbee2mqtt_exposed_ports](#zigbee2mqtt_exposed_ports)
|
||||||
* [zigbee2mqtt_ext_pan_id](#zigbee2mqtt_ext_pan_id)
|
* [zigbee2mqtt_ext_pan_id](#zigbee2mqtt_ext_pan_id)
|
||||||
* [zigbee2mqtt_group](#zigbee2mqtt_group)
|
* [zigbee2mqtt_extra_hosts](#zigbee2mqtt_extra_hosts)
|
||||||
* [zigbee2mqtt_homeassistant_discovery_topic](#zigbee2mqtt_homeassistant_discovery_topic)
|
* [zigbee2mqtt_homeassistant_discovery_topic](#zigbee2mqtt_homeassistant_discovery_topic)
|
||||||
* [zigbee2mqtt_homeassistant_enabled](#zigbee2mqtt_homeassistant_enabled)
|
* [zigbee2mqtt_homeassistant_enabled](#zigbee2mqtt_homeassistant_enabled)
|
||||||
* [zigbee2mqtt_homeassistant_status_topic](#zigbee2mqtt_homeassistant_status_topic)
|
* [zigbee2mqtt_homeassistant_status_topic](#zigbee2mqtt_homeassistant_status_topic)
|
||||||
|
* [zigbee2mqtt_image](#zigbee2mqtt_image)
|
||||||
* [zigbee2mqtt_last_seen](#zigbee2mqtt_last_seen)
|
* [zigbee2mqtt_last_seen](#zigbee2mqtt_last_seen)
|
||||||
* [zigbee2mqtt_log_dir](#zigbee2mqtt_log_dir)
|
|
||||||
* [zigbee2mqtt_log_level](#zigbee2mqtt_log_level)
|
* [zigbee2mqtt_log_level](#zigbee2mqtt_log_level)
|
||||||
|
* [zigbee2mqtt_memory_limit](#zigbee2mqtt_memory_limit)
|
||||||
|
* [zigbee2mqtt_memory_reservation](#zigbee2mqtt_memory_reservation)
|
||||||
* [zigbee2mqtt_mqtt_base_topic](#zigbee2mqtt_mqtt_base_topic)
|
* [zigbee2mqtt_mqtt_base_topic](#zigbee2mqtt_mqtt_base_topic)
|
||||||
* [zigbee2mqtt_mqtt_client_id](#zigbee2mqtt_mqtt_client_id)
|
* [zigbee2mqtt_mqtt_client_id](#zigbee2mqtt_mqtt_client_id)
|
||||||
* [zigbee2mqtt_mqtt_include_device_information](#zigbee2mqtt_mqtt_include_device_information)
|
* [zigbee2mqtt_mqtt_include_device_information](#zigbee2mqtt_mqtt_include_device_information)
|
||||||
@ -30,30 +38,27 @@ Setup [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt). Zigbee2mqtt allows y
|
|||||||
* [zigbee2mqtt_mqtt_server](#zigbee2mqtt_mqtt_server)
|
* [zigbee2mqtt_mqtt_server](#zigbee2mqtt_mqtt_server)
|
||||||
* [zigbee2mqtt_mqtt_user](#zigbee2mqtt_mqtt_user)
|
* [zigbee2mqtt_mqtt_user](#zigbee2mqtt_mqtt_user)
|
||||||
* [zigbee2mqtt_network_key](#zigbee2mqtt_network_key)
|
* [zigbee2mqtt_network_key](#zigbee2mqtt_network_key)
|
||||||
|
* [zigbee2mqtt_networks](#zigbee2mqtt_networks)
|
||||||
|
* [zigbee2mqtt_networks_applied](#zigbee2mqtt_networks_applied)
|
||||||
* [zigbee2mqtt_pan_id](#zigbee2mqtt_pan_id)
|
* [zigbee2mqtt_pan_id](#zigbee2mqtt_pan_id)
|
||||||
* [zigbee2mqtt_permit_join](#zigbee2mqtt_permit_join)
|
* [zigbee2mqtt_permit_join](#zigbee2mqtt_permit_join)
|
||||||
|
* [zigbee2mqtt_pids_limit](#zigbee2mqtt_pids_limit)
|
||||||
* [zigbee2mqtt_report_enabled](#zigbee2mqtt_report_enabled)
|
* [zigbee2mqtt_report_enabled](#zigbee2mqtt_report_enabled)
|
||||||
* [zigbee2mqtt_secondary_groups](#zigbee2mqtt_secondary_groups)
|
* [zigbee2mqtt_restart_policy](#zigbee2mqtt_restart_policy)
|
||||||
|
* [zigbee2mqtt_security_opt](#zigbee2mqtt_security_opt)
|
||||||
* [zigbee2mqtt_serial_disable_led](#zigbee2mqtt_serial_disable_led)
|
* [zigbee2mqtt_serial_disable_led](#zigbee2mqtt_serial_disable_led)
|
||||||
* [zigbee2mqtt_serial_port](#zigbee2mqtt_serial_port)
|
* [zigbee2mqtt_serial_port](#zigbee2mqtt_serial_port)
|
||||||
* [zigbee2mqtt_service_restart_state](#zigbee2mqtt_service_restart_state)
|
* [zigbee2mqtt_service_directory](#zigbee2mqtt_service_directory)
|
||||||
* [zigbee2mqtt_service_state](#zigbee2mqtt_service_state)
|
* [zigbee2mqtt_service_stopped](#zigbee2mqtt_service_stopped)
|
||||||
* [zigbee2mqtt_user](#zigbee2mqtt_user)
|
* [zigbee2mqtt_timezone](#zigbee2mqtt_timezone)
|
||||||
* [zigbee2mqtt_version](#zigbee2mqtt_version)
|
* [zigbee2mqtt_version](#zigbee2mqtt_version)
|
||||||
|
* [zigbee2mqtt_volumes](#zigbee2mqtt_volumes)
|
||||||
* [Dependencies](#dependencies)
|
* [Dependencies](#dependencies)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Default Variables
|
## Default Variables
|
||||||
|
|
||||||
### zigbee2mqtt_base_dir
|
|
||||||
|
|
||||||
#### Default value
|
|
||||||
|
|
||||||
```YAML
|
|
||||||
zigbee2mqtt_base_dir: /opt/zigbee2mqtt
|
|
||||||
```
|
|
||||||
|
|
||||||
### zigbee2mqtt_cache_state
|
### zigbee2mqtt_cache_state
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -62,6 +67,22 @@ zigbee2mqtt_base_dir: /opt/zigbee2mqtt
|
|||||||
zigbee2mqtt_cache_state: true
|
zigbee2mqtt_cache_state: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_cap_add
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_cap_add: []
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_cap_drop
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_cap_drop: []
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_channel
|
### zigbee2mqtt_channel
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -70,6 +91,49 @@ zigbee2mqtt_cache_state: true
|
|||||||
zigbee2mqtt_channel: 11
|
zigbee2mqtt_channel: 11
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_container_name
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_container_name: zigbee2mqtt
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_cpu_shares
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_cpu_shares: _unset_
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_cpu_shares: '1024'
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_data_volume
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_data_volume: /opt/zigbee2mqtt/data
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_devices
|
||||||
|
|
||||||
|
Define required devices e.g. `/dev/ttyACM0`.
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_devices:
|
||||||
|
- src: "{{ zigbee2mqtt_serial_port }}"
|
||||||
|
dest: "{{ zigbee2mqtt_serial_port }}"
|
||||||
|
opt: z
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_devices_ban
|
### zigbee2mqtt_devices_ban
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -94,6 +158,14 @@ zigbee2mqtt_devices_whitelist: []
|
|||||||
zigbee2mqtt_elapsed: false
|
zigbee2mqtt_elapsed: false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_exposed_ports
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_exposed_ports: []
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_ext_pan_id
|
### zigbee2mqtt_ext_pan_id
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -102,12 +174,12 @@ zigbee2mqtt_elapsed: false
|
|||||||
zigbee2mqtt_ext_pan_id: '[0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD]'
|
zigbee2mqtt_ext_pan_id: '[0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD]'
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_group
|
### zigbee2mqtt_extra_hosts
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_group: zigbee2mqtt
|
zigbee2mqtt_extra_hosts: []
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_homeassistant_discovery_topic
|
### zigbee2mqtt_homeassistant_discovery_topic
|
||||||
@ -134,6 +206,14 @@ zigbee2mqtt_homeassistant_enabled: false
|
|||||||
zigbee2mqtt_homeassistant_status_topic: hass/status
|
zigbee2mqtt_homeassistant_status_topic: hass/status
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_image
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_image: koenkk/zigbee2mqtt:{{ zigbee2mqtt_version }}
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_last_seen
|
### zigbee2mqtt_last_seen
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -142,14 +222,6 @@ zigbee2mqtt_homeassistant_status_topic: hass/status
|
|||||||
zigbee2mqtt_last_seen: disable
|
zigbee2mqtt_last_seen: disable
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_log_dir
|
|
||||||
|
|
||||||
#### Default value
|
|
||||||
|
|
||||||
```YAML
|
|
||||||
zigbee2mqtt_log_dir: '{{ zigbee2mqtt_base_dir }}/log'
|
|
||||||
```
|
|
||||||
|
|
||||||
### zigbee2mqtt_log_level
|
### zigbee2mqtt_log_level
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -158,6 +230,34 @@ zigbee2mqtt_log_dir: '{{ zigbee2mqtt_base_dir }}/log'
|
|||||||
zigbee2mqtt_log_level: info
|
zigbee2mqtt_log_level: info
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_memory_limit
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_memory_limit: _unset_
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_memory_limit: 512m
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_memory_reservation
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_memory_reservation: _unset_
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_memory_reservation: 256m
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_mqtt_base_topic
|
### zigbee2mqtt_mqtt_base_topic
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -228,6 +328,33 @@ zigbee2mqtt_network_key: _unset_
|
|||||||
zigbee2mqtt_network_key: '[1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]'
|
zigbee2mqtt_network_key: '[1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_networks
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_networks:
|
||||||
|
- name: default
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_networks:
|
||||||
|
- name: default
|
||||||
|
# optional network driver, defaults to 'bride'
|
||||||
|
driver: host
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_networks_applied
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_networks_applied:
|
||||||
|
- default
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_pan_id
|
### zigbee2mqtt_pan_id
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -244,6 +371,14 @@ zigbee2mqtt_pan_id: '0x1a62'
|
|||||||
zigbee2mqtt_permit_join: true
|
zigbee2mqtt_permit_join: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_pids_limit
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_pids_limit: _unset_
|
||||||
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_report_enabled
|
### zigbee2mqtt_report_enabled
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
@ -252,14 +387,20 @@ zigbee2mqtt_permit_join: true
|
|||||||
zigbee2mqtt_report_enabled: false
|
zigbee2mqtt_report_enabled: false
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_secondary_groups
|
### zigbee2mqtt_restart_policy
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_secondary_groups:
|
zigbee2mqtt_restart_policy: always
|
||||||
- tty
|
```
|
||||||
- dialout
|
|
||||||
|
### zigbee2mqtt_security_opt
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_security_opt: []
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_serial_disable_led
|
### zigbee2mqtt_serial_disable_led
|
||||||
@ -281,31 +422,31 @@ zigbee2mqtt_serial_port: _unset_
|
|||||||
#### Example usage
|
#### Example usage
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_serial_port: /dev/ttyACM0
|
zigbee2mqtt_serial_port: ''
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_service_restart_state
|
### zigbee2mqtt_service_directory
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_service_restart_state: restarted
|
zigbee2mqtt_service_directory: /var/lib/docker/services/zigbee2mqtt
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_service_state
|
### zigbee2mqtt_service_stopped
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_service_state: started
|
zigbee2mqtt_service_stopped: false
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_user
|
### zigbee2mqtt_timezone
|
||||||
|
|
||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_user: zigbee2mqtt
|
zigbee2mqtt_timezone: Europe/Berlin
|
||||||
```
|
```
|
||||||
|
|
||||||
### zigbee2mqtt_version
|
### zigbee2mqtt_version
|
||||||
@ -313,7 +454,36 @@ zigbee2mqtt_user: zigbee2mqtt
|
|||||||
#### Default value
|
#### Default value
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
zigbee2mqtt_version: 1.5.1
|
zigbee2mqtt_version: latest
|
||||||
|
```
|
||||||
|
|
||||||
|
### zigbee2mqtt_volumes
|
||||||
|
|
||||||
|
Define required docker volumes.
|
||||||
|
|
||||||
|
#### Default value
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_volumes:
|
||||||
|
- name: '{{ zigbee2mqtt_data_volume }}'
|
||||||
|
dest: /app/data
|
||||||
|
bind: true
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Example usage
|
||||||
|
|
||||||
|
```YAML
|
||||||
|
zigbee2mqtt_volumes:
|
||||||
|
# Instead of the name you could specify a path on the container host system,
|
||||||
|
# but you also have to enable bind mount for this volume
|
||||||
|
- name: data
|
||||||
|
# target location inside the container
|
||||||
|
dest: /var/www/app/data
|
||||||
|
# enable bind mount, if false volume will be configured as named volume
|
||||||
|
# keep in mind you MUST set bind in any case
|
||||||
|
bind: True
|
||||||
|
# Options for bind mounts
|
||||||
|
bind_opt: "ro,z"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user