-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
93 lines (93 loc) · 4.28 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
permit_join: true # not recommended, but door sensors seemed to need it, otherwise drop out after some days?
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost'
serial:
port: '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0' # SONOFF Zigbee 3.0 USB Dongle Plus (CC2652P CP2102N), firmware: 20221226. Before CC2530 via ch341-uart USB adapter (originally for ESP-01), firmware: CC2530_SOURCE_ROUTING_20201128. Can't use /dev/ttyUSB1 anymore since it might switch with ttyUSB0 on boot. Before CC2531 USB sniffer on /dev/ttyACM0
# disable_led: true # only for CC2531, timeout ledControl after 6s on CC2530
adapter: zstack # https://github.com/Koenkk/zigbee2mqtt/discussions/24364
homeassistant:
enabled: false # [default false] using node-red
availability:
enabled: false # [default false] marks devices online/offline. active devices have to check-in every 10min or will be pinged; passive devices have to check-in every 25h. Reason why Tradfri_Button_Bed depletes a battery in a couple of days?
ota:
# OTA for OSRAM kept crashing since their SSL cert expired, see https://github.com/Koenkk/zigbee2mqtt/issues/8864
disable_automatic_update_check: true
advanced:
# log_level: debug
cache_state: false # home assistant requires all attributes in MQTT messages, disable cache to just get the original zigbee message with only the changed attributes
ikea_ota_use_test_url: true # https://www.zigbee2mqtt.io/guide/usage/ota_updates.html#using-the-ikea-tradfri-test-server
log_symlink_current: true
# channel: 11 # default: 11; requires re-pairing of all devices; Hue bridge on 20; ZLL channels: 11, 15, 20, 25; channels 15, 20, 25 fall between WiFi channels 1, 6, 11; check channel usage with https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#energy-scan
frontend:
enabled: true
port: 8080
groups:
'65289': # workaround to switch scenes with Tradfri_Button_Bed, https://github.com/Koenkk/zigbee2mqtt.io/pull/583/files
friendly_name: Tradfri_Scenes # added scenes (ID color_temp brightness): 1 250 254, 2 370 254, 3 454 132; see https://github.com/Koenkk/zigbee2mqtt/issues/1232#issuecomment-767393536
devices:
- Tradfri_WS_Bed
device_options:
retain: true
# occupancy_timeout: 10
devices:
'0x00158d0002b5306c':
friendly_name: Aqara_Door_Apt
'0x00158d000243567e':
friendly_name: Aqara_Door_Bath
'0x00158d00032b69d1':
friendly_name: Aqara_Door_WC
'0x00158d000312f723':
friendly_name: Aqara_Door_Fridge
'0x00158d0002c5bf49':
friendly_name: Aqara_Door_Living
'0x00158d0002ca364e':
friendly_name: Aqara_Door_Balcony
'0x00158d0002b127f4':
friendly_name: Aqara_Vibration_Chair
vibration_timeout: 10
'0x00158d00027419e4':
friendly_name: Aqara_Temp_Bath
debounce: 1
'0x00158d00023280c7':
friendly_name: Aqara_Temp_Balcony
debounce: 1
'0x00158d00027867a6':
friendly_name: Aqara_Temp_Fridge
debounce: 1
'0x001788010328d8bc':
friendly_name: Hue_Motion_Bath
occupancy_timeout: 10 # most precise, +60s context-dependent timeout in node-red
'0x001788010213554f':
friendly_name: Hue_Motion_Kitchen
occupancy_timeout: 60
'0x0017880103283554':
friendly_name: Hue_Motion_Living
occupancy_timeout: 30
debounce: 1
'0x90fd9ffffede386b':
friendly_name: Tradfri_WS_Bed
'0x90fd9ffffee0c769':
friendly_name: Tradfri_Button_Bedlight
'0x90fd9ffffe534980':
friendly_name: Tradfri_Button_Bed
'0x000d6ffffe1e0f1d':
friendly_name: Tradfri_WS_Kitchen
'0x7cb03eaa00a9e97e':
friendly_name: Osram_Strip_RGBW_Kitchen
'0x7cb03eaa0a0061ef':
friendly_name: Osram_Strip_RGBW_Router_Kitchen
'0x70ac08fffe60e613':
friendly_name: Moes_4xSwitch # Moes ESW-0ZAA-EU: TuYa Wireless switch with 4 buttons (TS0044) - has actions n_{single, double, hold}, CR2430 coin cell, but cheap ones will fail pairing
'0x30fb10fffee1c359':
friendly_name: Jetstrom_WS_Living
# '0x7cb03eaa0a009a9c':
# friendly_name: Osram_Strip_RGBW_Unused
# '0x000b57fffe321252':
# friendly_name: Tradfri_WW_Kitchen
# '0x588e81fffed97f89':
# friendly_name: 'BlitzWolf_BW-SHP13_3D-Printer' # unused for now since it polls power every 10s
# calibration.power: -15 # https://github.com/Koenkk/zigbee2mqtt/issues/5137#issuecomment-1017820742
blocklist:
- '0x84fd27fffecf7008' # some Lidl 3x power chord
version: 4