Quellcode durchsuchen

Initial setup first first light

master
Dirk Alders vor 3 Wochen
Ursprung
Commit
bd895b7911
4 geänderte Dateien mit 47 neuen und 23 gelöschten Zeilen
  1. 6
    6
      config/coordinator_backup.json
  2. 2
    1
      config/database.db
  3. 11
    1
      config/state.json
  4. 28
    15
      config_example/configuration.j2

+ 6
- 6
config/coordinator_backup.json Datei anzeigen

@@ -4,18 +4,18 @@
4 4
     "version": 1,
5 5
     "source": "zigbee-herdsman@0.19.0",
6 6
     "internal": {
7
-      "date": "2024-11-17T11:05:08.950Z",
7
+      "date": "2024-12-01T11:42:36.521Z",
8 8
       "ezspVersion": 8
9 9
     }
10 10
   },
11 11
   "stack_specific": {
12 12
     "ezsp": {
13
-      "hashed_tclk": "7a9c5c23d37de02a5ab566a37fa763bb"
13
+      "hashed_tclk": "0ffeca2d2427d7fd06fc544bf6da7bb1"
14 14
     }
15 15
   },
16 16
   "coordinator_ieee": "e0798dfffebcc36e",
17
-  "pan_id": "1a62",
18
-  "extended_pan_id": "dddddddddddddddd",
17
+  "pan_id": "e011",
18
+  "extended_pan_id": "4ac0e1043f05e92a",
19 19
   "nwk_update_id": 0,
20 20
   "security_level": 5,
21 21
   "channel": 25,
@@ -38,9 +38,9 @@
38 38
     26
39 39
   ],
40 40
   "network_key": {
41
-    "key": "db83767acfbe4e26d00ce8d2dcf2c997",
41
+    "key": "ea86a8e1ed12d9db04b2ee2e572e1b2c",
42 42
     "sequence_number": 0,
43
-    "frame_counter": 15
43
+    "frame_counter": 8278
44 44
   },
45 45
   "devices": []
46 46
 }

+ 2
- 1
config/database.db Datei anzeigen

@@ -1 +1,2 @@
1
-{"id":1,"type":"Coordinator","ieeeAddr":"0xe0798dfffebcc36e","nwkAddr":0,"manufId":0,"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":null,"defaultSendRequestWhen":"immediate"}
1
+{"id":1,"type":"Coordinator","ieeeAddr":"0xe0798dfffebcc36e","nwkAddr":0,"manufId":0,"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":1733051950266,"defaultSendRequestWhen":"immediate"}
2
+{"id":2,"type":"Router","ieeeAddr":"0x6cfd22fffedf572f","nwkAddr":57487,"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":88764544},"lastSeen":1733053335828,"defaultSendRequestWhen":"immediate"}

+ 11
- 1
config/state.json Datei anzeigen

@@ -1 +1,11 @@
1
-{}
1
+{
2
+    "0x6cfd22fffedf572f": {
3
+        "color_mode": "color_temp",
4
+        "state": "ON",
5
+        "update": {
6
+            "state": "idle"
7
+        },
8
+        "brightness": 120,
9
+        "color_temp": 454
10
+    }
11
+}

+ 28
- 15
config_example/configuration.j2 Datei anzeigen

@@ -9,22 +9,32 @@ serial:
9 9
   port: /dev/ttyACM0
10 10
 advanced:
11 11
   network_key:
12
+    - 234
13
+    - 134
14
+    - 168
15
+    - 225
16
+    - 237
17
+    - 18
18
+    - 217
12 19
     - 219
13
-    - 131
14
-    - 118
15
-    - 122
16
-    - 207
17
-    - 190
18
-    - 78
19
-    - 38
20
-    - 208
21
-    - 12
22
-    - 232
23
-    - 210
24
-    - 220
25
-    - 242
26
-    - 201
27
-    - 151
20
+    - 4
21
+    - 178
22
+    - 238
23
+    - 46
24
+    - 87
25
+    - 46
26
+    - 27
27
+    - 44
28
+  pan_id: 57361
29
+  ext_pan_id:
30
+    - 74
31
+    - 192
32
+    - 225
33
+    - 4
34
+    - 63
35
+    - 5
36
+    - 233
37
+    - 42
28 38
   ikea_ota_use_test_url: true
29 39
   legacy_api: false
30 40
   channel: 25
@@ -37,3 +47,6 @@ frontend:
37 47
   url: http://localhost
38 48
 device_options:
39 49
   legacy: false
50
+devices:
51
+  '0x6cfd22fffedf572f':
52
+    friendly_name: gfe/room3/window_light

Laden…
Abbrechen
Speichern