From bd895b7911bb93a19d8b67421c30e40bc10a7bbc Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 1 Dec 2024 12:44:05 +0100 Subject: [PATCH] Initial setup first first light --- config/coordinator_backup.json | 12 ++++----- config/database.db | 3 ++- config/state.json | 12 ++++++++- config_example/configuration.j2 | 43 +++++++++++++++++++++------------ 4 files changed, 47 insertions(+), 23 deletions(-) diff --git a/config/coordinator_backup.json b/config/coordinator_backup.json index d243eca..c3aac40 100644 --- a/config/coordinator_backup.json +++ b/config/coordinator_backup.json @@ -4,18 +4,18 @@ "version": 1, "source": "zigbee-herdsman@0.19.0", "internal": { - "date": "2024-11-17T11:05:08.950Z", + "date": "2024-12-01T11:42:36.521Z", "ezspVersion": 8 } }, "stack_specific": { "ezsp": { - "hashed_tclk": "7a9c5c23d37de02a5ab566a37fa763bb" + "hashed_tclk": "0ffeca2d2427d7fd06fc544bf6da7bb1" } }, "coordinator_ieee": "e0798dfffebcc36e", - "pan_id": "1a62", - "extended_pan_id": "dddddddddddddddd", + "pan_id": "e011", + "extended_pan_id": "4ac0e1043f05e92a", "nwk_update_id": 0, "security_level": 5, "channel": 25, @@ -38,9 +38,9 @@ 26 ], "network_key": { - "key": "db83767acfbe4e26d00ce8d2dcf2c997", + "key": "ea86a8e1ed12d9db04b2ee2e572e1b2c", "sequence_number": 0, - "frame_counter": 15 + "frame_counter": 8278 }, "devices": [] } \ No newline at end of file diff --git a/config/database.db b/config/database.db index e7a2819..1f4080e 100644 --- a/config/database.db +++ b/config/database.db @@ -1 +1,2 @@ -{"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"} \ No newline at end of file +{"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"} +{"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"} \ No newline at end of file diff --git a/config/state.json b/config/state.json index 9e26dfe..58b014d 100644 --- a/config/state.json +++ b/config/state.json @@ -1 +1,11 @@ -{} \ No newline at end of file +{ + "0x6cfd22fffedf572f": { + "color_mode": "color_temp", + "state": "ON", + "update": { + "state": "idle" + }, + "brightness": 120, + "color_temp": 454 + } +} \ No newline at end of file diff --git a/config_example/configuration.j2 b/config_example/configuration.j2 index a5830f0..f8e5ad0 100644 --- a/config_example/configuration.j2 +++ b/config_example/configuration.j2 @@ -9,22 +9,32 @@ serial: port: /dev/ttyACM0 advanced: network_key: + - 234 + - 134 + - 168 + - 225 + - 237 + - 18 + - 217 - 219 - - 131 - - 118 - - 122 - - 207 - - 190 - - 78 - - 38 - - 208 - - 12 - - 232 - - 210 - - 220 - - 242 - - 201 - - 151 + - 4 + - 178 + - 238 + - 46 + - 87 + - 46 + - 27 + - 44 + pan_id: 57361 + ext_pan_id: + - 74 + - 192 + - 225 + - 4 + - 63 + - 5 + - 233 + - 42 ikea_ota_use_test_url: true legacy_api: false channel: 25 @@ -37,3 +47,6 @@ frontend: url: http://localhost device_options: legacy: false +devices: + '0x6cfd22fffedf572f': + friendly_name: gfe/room3/window_light