Skip to content

Instantly share code, notes, and snippets.

@kai-zer-ru
Created February 21, 2024 04:50
Show Gist options
  • Save kai-zer-ru/5d2e0e7a9fdf3e01b1e2514ee315519c to your computer and use it in GitHub Desktop.
Save kai-zer-ru/5d2e0e7a9fdf3e01b1e2514ee315519c to your computer and use it in GitHub Desktop.
Zigbee2mqtt configuration
frontend:
port: 9442
homeassistant:
legacy_entity_attributes: true
legacy_triggers: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://192.168.1.14:1883 # IP адрес контейнера с MQTT-брокером
user: user # user, которого указывали при настройке MATT
password: password # password, которого указывали при настройке MATT
keepalive: 60
reject_unauthorized: true
version: 4
include_device_information: true
serial:
port: >-
/dev/ttyUSB0
advanced:
cache_state: true
cache_state_persistent: true
cache_state_send_on_startup: true
report: true
legacy_api: true
output: json
pan_id: 6754
ext_pan_id:
- 221
- 221
- 221
- 221
- 221
- 221
- 221
- 221
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
log_syslog:
app_name: Zigbee2MQTT
eol: /n
host: localhost
localhost: localhost
path: /dev/log
pid: process.pid
port: 514
protocol: udp4
type: '5424'
last_seen: ISO_8601_local
log_level: info
zigbee_herdsman_debug: true
vailability: true
data_path: /opt/zigbee2mqtt/data
socat:
enabled: true
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: '-d -d'
log: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment