From eb04a252fb8991484ad8460bf2d6d4f7cacce0dc Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 8 Dec 2024 10:33:59 +0100 Subject: [PATCH] Init configuration --- config/coordinator_backup.json | 46 --------------------------------- config/database.db | 2 -- config/state.json | 11 -------- config_example/configuration.j2 | 43 ++++++------------------------ 4 files changed, 8 insertions(+), 94 deletions(-) delete mode 100644 config/coordinator_backup.json delete mode 100644 config/database.db delete mode 100644 config/state.json diff --git a/config/coordinator_backup.json b/config/coordinator_backup.json deleted file mode 100644 index c3aac40..0000000 --- a/config/coordinator_backup.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "metadata": { - "format": "zigpy/open-coordinator-backup", - "version": 1, - "source": "zigbee-herdsman@0.19.0", - "internal": { - "date": "2024-12-01T11:42:36.521Z", - "ezspVersion": 8 - } - }, - "stack_specific": { - "ezsp": { - "hashed_tclk": "0ffeca2d2427d7fd06fc544bf6da7bb1" - } - }, - "coordinator_ieee": "e0798dfffebcc36e", - "pan_id": "e011", - "extended_pan_id": "4ac0e1043f05e92a", - "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": "ea86a8e1ed12d9db04b2ee2e572e1b2c", - "sequence_number": 0, - "frame_counter": 8278 - }, - "devices": [] -} \ No newline at end of file diff --git a/config/database.db b/config/database.db deleted file mode 100644 index 1f4080e..0000000 --- a/config/database.db +++ /dev/null @@ -1,2 +0,0 @@ -{"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 deleted file mode 100644 index 58b014d..0000000 --- a/config/state.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "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 f8e5ad0..174fd9b 100644 --- a/config_example/configuration.j2 +++ b/config_example/configuration.j2 @@ -7,39 +7,14 @@ mqtt: password: {{ smart_sat_zigbee2mqtt_password }} serial: port: /dev/ttyACM0 -advanced: - network_key: - - 234 - - 134 - - 168 - - 225 - - 237 - - 18 - - 217 - - 219 - - 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 - homeassistant_legacy_entity_attributes: false - legacy_availability_payload: false +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 frontend: port: 8038 host: 0.0.0.0 @@ -47,6 +22,4 @@ frontend: url: http://localhost device_options: legacy: false -devices: - '0x6cfd22fffedf572f': - friendly_name: gfe/room3/window_light +