Parcourir la source

2024-12-12

master
Dirk Alders il y a 1 semaine
Parent
révision
f648f55895
4 fichiers modifiés avec 128 ajouts et 8 suppressions
  1. 46
    0
      config/coordinator_backup.json
  2. 4
    0
      config/database.db
  3. 38
    0
      config/state.json
  4. 40
    8
      config_example/configuration.j2

+ 46
- 0
config/coordinator_backup.json Voir le fichier

@@ -0,0 +1,46 @@
1
+{
2
+  "metadata": {
3
+    "format": "zigpy/open-coordinator-backup",
4
+    "version": 1,
5
+    "source": "zigbee-herdsman@2.1.9",
6
+    "internal": {
7
+      "date": "2024-12-11T12:10:20.337Z",
8
+      "ezspVersion": 13
9
+    }
10
+  },
11
+  "stack_specific": {
12
+    "ezsp": {
13
+      "hashed_tclk": "d2d617243f24779522ca95c9efe380bc"
14
+    }
15
+  },
16
+  "coordinator_ieee": "8c65a3fffe54d8ff",
17
+  "pan_id": "9104",
18
+  "extended_pan_id": "68d3bc082c52ab20",
19
+  "nwk_update_id": 0,
20
+  "security_level": 5,
21
+  "channel": 11,
22
+  "channel_mask": [
23
+    11,
24
+    12,
25
+    13,
26
+    14,
27
+    15,
28
+    16,
29
+    17,
30
+    18,
31
+    19,
32
+    20,
33
+    21,
34
+    22,
35
+    23,
36
+    24,
37
+    25,
38
+    26
39
+  ],
40
+  "network_key": {
41
+    "key": "585fb54947b52c5a2248b4e0610e48e5",
42
+    "sequence_number": 0,
43
+    "frame_counter": 27992
44
+  },
45
+  "devices": []
46
+}

+ 4
- 0
config/database.db Voir le fichier

@@ -0,0 +1,4 @@
1
+{"id":1,"type":"Coordinator","ieeeAddr":"0x8c65a3fffe54d8ff","nwkAddr":0,"manufId":4169,"epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":48879,"inClusterList":[0,3,6,10,25,26,768],"outClusterList":[0,3,4,5,6,8,32,768,1024,1026,1029,1030,1280,2817,2819,2820,1794,4096,64513,64514],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":1733851634979}
2
+{"id":2,"type":"Router","ieeeAddr":"0x6cfd22fffedf572f","nwkAddr":1132,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 WS globe 1055lm","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64636],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TRADFRI bulb E27 WS globe 1055lm","manufacturerName":"IKEA of Sweden","powerSource":1,"zclVersion":8,"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8","zclVersion":8,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1733903245989}
3
+{"id":3,"type":"Router","ieeeAddr":"0x6cfd22fffedd6624","nwkAddr":12590,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 WS globe 1055lm","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64636],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TRADFRI bulb E27 WS globe 1055lm","manufacturerName":"IKEA of Sweden","powerSource":1,"zclVersion":8,"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8","zclVersion":8,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1733919015220}
4
+{"id":4,"type":"Router","ieeeAddr":"0x6cfd22fffe2d966d","nwkAddr":21059,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 WS globe 1055lm","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64636],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TRADFRI bulb E27 WS globe 1055lm","manufacturerName":"IKEA of Sweden","powerSource":1,"zclVersion":8,"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":3,"stackVersion":113,"hwVersion":1,"dateCode":"20230621","swBuildId":"3.0.8","zclVersion":8,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1733903998017}

+ 38
- 0
config/state.json Voir le fichier

@@ -0,0 +1,38 @@
1
+{
2
+    "0x6cfd22fffedf572f": {
3
+        "color_mode": "color_temp",
4
+        "update": {
5
+            "state": "available",
6
+            "installed_version": 50331656,
7
+            "latest_version": 50331683
8
+        },
9
+        "state": "OFF",
10
+        "color_temp": 454,
11
+        "brightness": 77,
12
+        "linkquality": 255
13
+    },
14
+    "0x6cfd22fffedd6624": {
15
+        "color_mode": "color_temp",
16
+        "update": {
17
+            "state": "available",
18
+            "installed_version": 50331656,
19
+            "latest_version": 50331683
20
+        },
21
+        "state": "OFF",
22
+        "color_temp": 454,
23
+        "brightness": 77,
24
+        "linkquality": 160
25
+    },
26
+    "0x6cfd22fffe2d966d": {
27
+        "color_mode": "color_temp",
28
+        "state": "OFF",
29
+        "color_temp": 454,
30
+        "update": {
31
+            "state": "available",
32
+            "installed_version": 50331656,
33
+            "latest_version": 50331683
34
+        },
35
+        "brightness": 77,
36
+        "linkquality": 212
37
+    }
38
+}

+ 40
- 8
config_example/configuration.j2 Voir le fichier

@@ -6,15 +6,41 @@ mqtt:
6 6
   user: {{ smart_sat_zigbee2mqtt_username }}
7 7
   password: {{ smart_sat_zigbee2mqtt_password  }}
8 8
 serial:
9
-  port: /dev/ttyACM0
9
+  port: /dev/ttyUSB0
10 10
   channel: 25
11
+  adapter: ezsp
11 12
 advanced:
12
-    # Let Zigbee2MQTT generate a network key on first start
13
-    network_key: GENERATE
14
-    # Let Zigbee2MQTT generate a pan_id on first start
15
-    pan_id: GENERATE
16
-    # Let Zigbee2MQTT generate a ext_pan_id on first start
17
-    ext_pan_id: GENERATE
13
+  network_key:
14
+    - 88
15
+    - 95
16
+    - 181
17
+    - 73
18
+    - 71
19
+    - 181
20
+    - 44
21
+    - 90
22
+    - 34
23
+    - 72
24
+    - 180
25
+    - 224
26
+    - 97
27
+    - 14
28
+    - 72
29
+    - 229
30
+  pan_id: 37124
31
+  ext_pan_id:
32
+    - 104
33
+    - 211
34
+    - 188
35
+    - 8
36
+    - 44
37
+    - 82
38
+    - 171
39
+    - 32
40
+  homeassistant_legacy_entity_attributes: false
41
+  legacy_api: false
42
+  legacy_availability_payload: false
43
+  channel: 25
18 44
 frontend:
19 45
   port: 8038
20 46
   host: 0.0.0.0
@@ -22,4 +48,10 @@ frontend:
22 48
   url: http://localhost
23 49
 device_options:
24 50
   legacy: false
25
-
51
+devices:
52
+  '0x6cfd22fffedf572f':
53
+    friendly_name: gfe/room2/window_light
54
+  '0x6cfd22fffedd6624':
55
+    friendly_name: gfe/room1/window_light
56
+  '0x6cfd22fffe2d966d':
57
+    friendly_name: gfe/room3/window_light

Chargement…
Annuler
Enregistrer