From f648f55895279dae55f58904cee134b4b32ec079 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Thu, 12 Dec 2024 19:50:16 +0100 Subject: [PATCH] 2024-12-12 --- config/coordinator_backup.json | 46 +++++++++++++++++++++++++++++++ config/database.db | 4 +++ config/state.json | 38 ++++++++++++++++++++++++++ config_example/configuration.j2 | 48 +++++++++++++++++++++++++++------ 4 files changed, 128 insertions(+), 8 deletions(-) create mode 100644 config/coordinator_backup.json create mode 100644 config/database.db create mode 100644 config/state.json diff --git a/config/coordinator_backup.json b/config/coordinator_backup.json new file mode 100644 index 0000000..3538fcd --- /dev/null +++ b/config/coordinator_backup.json @@ -0,0 +1,46 @@ +{ + "metadata": { + "format": "zigpy/open-coordinator-backup", + "version": 1, + "source": "zigbee-herdsman@2.1.9", + "internal": { + "date": "2024-12-11T12:10:20.337Z", + "ezspVersion": 13 + } + }, + "stack_specific": { + "ezsp": { + "hashed_tclk": "d2d617243f24779522ca95c9efe380bc" + } + }, + "coordinator_ieee": "8c65a3fffe54d8ff", + "pan_id": "9104", + "extended_pan_id": "68d3bc082c52ab20", + "nwk_update_id": 0, + "security_level": 5, + "channel": 11, + "channel_mask": [ + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ], + "network_key": { + "key": "585fb54947b52c5a2248b4e0610e48e5", + "sequence_number": 0, + "frame_counter": 27992 + }, + "devices": [] +} \ No newline at end of file diff --git a/config/database.db b/config/database.db new file mode 100644 index 0000000..8113f43 --- /dev/null +++ b/config/database.db @@ -0,0 +1,4 @@ +{"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} +{"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} +{"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} +{"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} \ No newline at end of file diff --git a/config/state.json b/config/state.json new file mode 100644 index 0000000..3611262 --- /dev/null +++ b/config/state.json @@ -0,0 +1,38 @@ +{ + "0x6cfd22fffedf572f": { + "color_mode": "color_temp", + "update": { + "state": "available", + "installed_version": 50331656, + "latest_version": 50331683 + }, + "state": "OFF", + "color_temp": 454, + "brightness": 77, + "linkquality": 255 + }, + "0x6cfd22fffedd6624": { + "color_mode": "color_temp", + "update": { + "state": "available", + "installed_version": 50331656, + "latest_version": 50331683 + }, + "state": "OFF", + "color_temp": 454, + "brightness": 77, + "linkquality": 160 + }, + "0x6cfd22fffe2d966d": { + "color_mode": "color_temp", + "state": "OFF", + "color_temp": 454, + "update": { + "state": "available", + "installed_version": 50331656, + "latest_version": 50331683 + }, + "brightness": 77, + "linkquality": 212 + } +} \ No newline at end of file diff --git a/config_example/configuration.j2 b/config_example/configuration.j2 index 174fd9b..98b1ee0 100644 --- a/config_example/configuration.j2 +++ b/config_example/configuration.j2 @@ -6,15 +6,41 @@ mqtt: user: {{ smart_sat_zigbee2mqtt_username }} password: {{ smart_sat_zigbee2mqtt_password }} serial: - port: /dev/ttyACM0 + port: /dev/ttyUSB0 channel: 25 + adapter: ezsp advanced: - # Let Zigbee2MQTT generate a network key on first start - network_key: GENERATE - # Let Zigbee2MQTT generate a pan_id on first start - pan_id: GENERATE - # Let Zigbee2MQTT generate a ext_pan_id on first start - ext_pan_id: GENERATE + network_key: + - 88 + - 95 + - 181 + - 73 + - 71 + - 181 + - 44 + - 90 + - 34 + - 72 + - 180 + - 224 + - 97 + - 14 + - 72 + - 229 + pan_id: 37124 + ext_pan_id: + - 104 + - 211 + - 188 + - 8 + - 44 + - 82 + - 171 + - 32 + homeassistant_legacy_entity_attributes: false + legacy_api: false + legacy_availability_payload: false + channel: 25 frontend: port: 8038 host: 0.0.0.0 @@ -22,4 +48,10 @@ frontend: url: http://localhost device_options: legacy: false - +devices: + '0x6cfd22fffedf572f': + friendly_name: gfe/room2/window_light + '0x6cfd22fffedd6624': + friendly_name: gfe/room1/window_light + '0x6cfd22fffe2d966d': + friendly_name: gfe/room3/window_light