From 448b6a3be5117cc0b8ce96b0339ce96ea90d22dc Mon Sep 17 00:00:00 2001 From: Bo Jeanes Date: Thu, 1 Sep 2022 08:00:17 +1000 Subject: [PATCH] Ignore z2m config It'll keep syncing state.json which is pointless, and my config is basically stock. I have seen Z2M re-write this file to include the authorisation information too, so might as well get ahead of that. --- .gitignore | 1 + config/zigbee2mqtt/configuration.yaml | 39 ------------ config/zigbee2mqtt/state.json | 90 --------------------------- 3 files changed, 1 insertion(+), 129 deletions(-) delete mode 100644 config/zigbee2mqtt/configuration.yaml delete mode 100644 config/zigbee2mqtt/state.json diff --git a/.gitignore b/.gitignore index 9930ba2..fc75d53 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ airsonos.xml config/solcast.sync-conflict* config/solcast.json .ssh +zigbee2mqtt/ diff --git a/config/zigbee2mqtt/configuration.yaml b/config/zigbee2mqtt/configuration.yaml deleted file mode 100644 index c0c56dd..0000000 --- a/config/zigbee2mqtt/configuration.yaml +++ /dev/null @@ -1,39 +0,0 @@ -homeassistant: true -frontend: - port: 8099 -permit_join: false -mqtt: - base_topic: zigbee2mqtt - server: mqtt://core-mosquitto - keepalive: 60 - reject_unauthorized: true - version: 4 -serial: - port: /dev/ttyACM0 - adapter: deconz -devices: - '0x804b50fffe100ed4': - friendly_name: IKEA Remote - '0x00158d0008091c32': - friendly_name: Bo's Office Door - debounce: 1 - filtered_attributes: [] - optimistic: true - '0x00158d00080915bd': - friendly_name: Ri's Office Door - '0x00158d0007e7725b': - friendly_name: Back Door - '0x00158d0008091b58': - friendly_name: Front Door - '0x00158d0007e4c4f2': - friendly_name: Fridge Door - debounce: 1 - optimistic: true - '0x5c0272fffee93bae': - friendly_name: Bo's Office Motion Sensor - '0x00124b002359ed4c': - friendly_name: Ri's Office - '0xa4c138fda4db2c5e': - friendly_name: Bo's Office PIR 2 - '0x84b4dbfffe850fda': - friendly_name: Unused presence sensor diff --git a/config/zigbee2mqtt/state.json b/config/zigbee2mqtt/state.json deleted file mode 100644 index de9c689..0000000 --- a/config/zigbee2mqtt/state.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "0x804b50fffe100ed4": { - "battery": 100, - "update": { - "state": "available" - }, - "update_available": true, - "linkquality": 215 - }, - "0x00158d0008091c32": { - "contact": false, - "voltage": 3005, - "battery": 44, - "temperature": 19, - "linkquality": 255, - "device_temperature": 15, - "power_outage_count": 8 - }, - "0x00158d00080915bd": { - "contact": true, - "voltage": 3005, - "battery": 44, - "temperature": 17, - "linkquality": 255, - "device_temperature": 13, - "power_outage_count": 7 - }, - "0x00158d0007e7725b": { - "contact": true, - "voltage": 2975, - "battery": 36, - "temperature": 18, - "linkquality": 255, - "device_temperature": 15, - "power_outage_count": 8 - }, - "0x00158d0008091b58": { - "contact": true, - "voltage": 3025, - "battery": 50, - "temperature": 12, - "linkquality": 255, - "device_temperature": 12, - "power_outage_count": 13 - }, - "0x00158d0007e4c4f2": { - "contact": true, - "voltage": 2985, - "battery": 39, - "temperature": 21, - "linkquality": 255, - "device_temperature": 18, - "power_outage_count": 41 - }, - "0x5c0272fffee93bae": { - "occupancy": false, - "tamper": false, - "battery_low": false, - "linkquality": 255 - }, - "0x00124b002359ed4c": { - "voltage": 3000, - "battery": 100, - "occupancy": false, - "tamper": false, - "battery_low": false, - "linkquality": 191 - }, - "0xa4c138fda4db2c5e": { - "occupancy": false, - "battery": 50, - "sensitivity": "high", - "keep_time": "120", - "illuminance": 538, - "linkquality": 127 - }, - "0x84b4dbfffe850fda": { - "target_distance": 0, - "presence": false, - "maximum_range": 3, - "radar_sensitivity": 2, - "minimum_range": 0, - "self_test": "check_success", - "detection_delay": 0.1, - "fading_time": 5, - "cli": " ", - "illuminance_lux": 0, - "linkquality": 255 - } -} \ No newline at end of file