From c9383e3560c6d653388725da3b1c4ca8cd35662c Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 17 Nov 2024 12:07:27 +0100 Subject: [PATCH] Initial real zigbee2mqtt data added --- config/coordinator_backup.json | 46 +++++++++++++++++++++++++++++++++ config/database.db | 1 + config/state.json | 1 + config_example/configuration.j2 | 20 +++++++++++++- 4 files changed, 67 insertions(+), 1 deletion(-) 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..d243eca --- /dev/null +++ b/config/coordinator_backup.json @@ -0,0 +1,46 @@ +{ + "metadata": { + "format": "zigpy/open-coordinator-backup", + "version": 1, + "source": "zigbee-herdsman@0.19.0", + "internal": { + "date": "2024-11-17T11:05:08.950Z", + "ezspVersion": 8 + } + }, + "stack_specific": { + "ezsp": { + "hashed_tclk": "7a9c5c23d37de02a5ab566a37fa763bb" + } + }, + "coordinator_ieee": "e0798dfffebcc36e", + "pan_id": "1a62", + "extended_pan_id": "dddddddddddddddd", + "nwk_update_id": 0, + "security_level": 5, + "channel": 25, + "channel_mask": [ + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ], + "network_key": { + "key": "db83767acfbe4e26d00ce8d2dcf2c997", + "sequence_number": 0, + "frame_counter": 15 + }, + "devices": [] +} \ No newline at end of file diff --git a/config/database.db b/config/database.db new file mode 100644 index 0000000..e7a2819 --- /dev/null +++ b/config/database.db @@ -0,0 +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"} \ No newline at end of file diff --git a/config/state.json b/config/state.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/config/state.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/config_example/configuration.j2 b/config_example/configuration.j2 index e0f6b78..a5830f0 100644 --- a/config_example/configuration.j2 +++ b/config_example/configuration.j2 @@ -8,7 +8,23 @@ mqtt: serial: port: /dev/ttyACM0 advanced: - network_key: GENERATE + network_key: + - 219 + - 131 + - 118 + - 122 + - 207 + - 190 + - 78 + - 38 + - 208 + - 12 + - 232 + - 210 + - 220 + - 242 + - 201 + - 151 ikea_ota_use_test_url: true legacy_api: false channel: 25 @@ -19,3 +35,5 @@ frontend: host: 0.0.0.0 auth_token: {{ smart_sat_zigbee2mqtt_auth_token }} url: http://localhost +device_options: + legacy: false