]> git.giorgioravera.it Git - zigbee2mqtt.git/commitdiff
Updated configuration
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 12 Jan 2022 13:46:38 +0000 (14:46 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 12 Jan 2022 13:46:38 +0000 (14:46 +0100)
.gitignore
configuration.yaml
configuration_default.yaml
database.db [deleted file]
devices.yaml
groups.yaml [new file with mode: 0644]

index e30530eb5c1a1fb22c1e755c3873ee1f68ddfb45..f99bbba4220bf29cbac0744fa58cf0ba42588e8a 100644 (file)
@@ -1,4 +1,5 @@
 log
+database.db
 secret.yaml
 state.json
-*backup
+*backup*
index cb2a4b18447cf31151e43d6dee651f5d3629985d..3defb904e1d1e45211d782953f051638f1455c34 100644 (file)
@@ -1,10 +1,19 @@
-# Required: Home Assistant integration (MQTT discovery) (default: false)
+# Optional: Home Assistant integration (MQTT discovery) (default: false)
 homeassistant: true
 
-# Required: allow new devices to join.
-# WARNING: Disable this after all devices have been paired! (default: false)
+# Optional: allow new devices to join.
 permit_join: false
 
+# Required: serial settings
+serial:
+  # Required: location of the adapter (e.g. CC2531).
+  # To autodetect the port, set 'port: null'.
+  port: /dev/ttyACM0
+  # Optional: disable LED of the adapter if supported (default: false)
+  disable_led: true
+  # Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz)
+  #adapter: null
+
 # Required: MQTT settings
 mqtt:
   # Required: MQTT base topic for Zigbee2MQTT MQTT messages
@@ -36,38 +45,34 @@ mqtt:
   # Enabling will break the Home Assistant integration. (default: false)
   #force_disable_retain: false
 
-# Required: serial settings
-serial:
-  # Required: location of the adapter (e.g. CC2531).
-  # To autodetect the port, set 'port: null'.
-  port: /dev/ttyACM0
-  # Optional: disable LED of the adapter if supported (default: false)
-  disable_led: true
-  # Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz)
-  #adapter: null
+frontend:
+  # Optional, default 8080
+  port: 8080
+  # Optional, default 0.0.0.0
+  #host: 0.0.0.0
+  # Optional, enables authentication, disabled by default
+  #auth_token: your-secret-token
+  # Optional, url on which the frontend can be reached, currently only used for the Home Assistant device configuration page
+  #url: 'https://zigbee2mqtt.myhouse.org'
 
-# Optional: Block devices from the network (by ieeeAddr) (default: empty)
-# Previously called `ban` (which is deprecated)
-#blocklist:
-#  - '0x000b57fffec6a5b2'
-
-# Optional: Allow only certain devices to join the network (by ieeeAddr)
-# Note that all devices not on the passlist will be removed from the network!
-# (default: empty)
-# Previously called `whitelist` (which is deprecated)
-#passlist:
-#  - '0x000b57fffec6a5b3'
+# Optional: OTA update settings
+# See https://www.zigbee2mqtt.io/guide/usage/ota_updates.html for more info
+#ota:
+  # Minimum time between OTA update checks
+  #update_check_interval: 1440
+  # Disable automatic update checks
+  #disable_automatic_update_check: false
 
 # Optional: advanced settings
-#advanced:
-  # Optional: ZigBee pan ID (default: shown below)
-  # Setting pan_id: GENERATE will make Zigbee2MQTT generate a new panID on next startup
-  #pan_id: 0x1a62
-  # Optional: Zigbee extended pan ID (default: shown below)
-  #ext_pan_id: [0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD]
-  # Optional: ZigBee channel, changing requires re-pairing of all devices. (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)
-  # (default: 11)
-  #channel: 11
+advanced:
+  # Optional: Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600.
+  #baudrate: 115200
+  # Optional: RTS / CTS Hardware Flow Control for serial port (default: false)
+  #rtscts: false
+  # Optional: soft reset ZNP after timeout (in seconds); 0 is disabled (default: 0)
+  #soft_reset_timeout: 0
+  # Optional: configure adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)
+  #adapter_concurrent: null
   # Optional: state caching, MQTT message payload will contain all attributes, not only changed ones.
   # Has to be true when integrating via Home Assistant (default: true)
   #cache_state: true
@@ -75,19 +80,44 @@ serial:
   #cache_state_persistent: true
   # Optional: send cached state on startup, only used when cache_state_persistent: true (default: true)
   #cache_state_send_on_startup: true
+  # Optional: Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message
+  # possible values are: disable (default), ISO_8601, ISO_8601_local, epoch (default: disable)
+  #last_seen: 'disable'
+  # Optional: Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg (default: false)
+  #elapsed: false
+  # Optional: Enables report feature, this feature is DEPRECATED since reporting is now setup by default
+  # when binding devices. Docs can still be found here: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/information/report.md
+  #report: true
+  # Optional: disables the legacy api (default: shown below)
+  legacy_api: false
+  # Optional: ZigBee pan ID (default: shown below)
+  # Setting pan_id: GENERATE will make Zigbee2MQTT generate a new panID on next startup
+  pan_id: 0xbb41
+  # Optional: Zigbee extended pan ID (default: shown below)
+  #ext_pan_id: [0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD]
+  # Optional: ZigBee channel, changing requires re-pairing of all devices. (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)
+  # (default: 11)
+  channel: 15
+  # Optional: network encryption key, will improve security 
+  # Note: changing requires repairing of all devices (default: shown below)
+  network_key: '!secret network_key'
   # Optional: Logging level, options: debug, info, warn, error (default: info)
   #log_level: info
+  # Optional: log timestamp format (default: shown below)
+  #timestamp_format: 'YYYY-MM-DD HH:mm:ss'
   # Optional: Location of log directory (default: shown below)
   #log_directory: data/log/%TIMESTAMP%
   # Optional: Log file name, can also contain timestamp, e.g.: zigbee2mqtt_%TIMESTAMP%.log (default: shown below)
   #log_file: log.txt
-  # Optional: Log rotation (default: shown below)
+  # Optional: Rotate log every 10MB around 3 files (default: true)
   #log_rotation: true
   # Optional: Output location of the log (default: shown below), leave empty to supress logging (log_output: [])
   # possible options: 'console', 'file', 'syslog'
   #log_output:
   #  - console
   #  - file
+  # Create a symlink called "current" in the log directory which points to the latests log directory. (default: false)
+  log_symlink_current: false
   # Optional: syslog configuration, skip values or entirely to use defaults. Only use when 'syslog' in 'log_output' (see above)
   #log_syslog:
   #  host: localhost # The host running syslogd, defaults to localhost.
@@ -100,54 +130,32 @@ serial:
   #  type: 5424 # The type of the syslog protocol to use (Default: BSD, also valid: 5424).
   #  app_name: Zigbee2MQTT # The name of the application (Default: Zigbee2MQTT).
   #  eol: '\n' # The end of line character to be added to the end of the message (Default: Message without modifications).
-  # Optional: Baudrate for serial port (default: 115200 for Z-Stack, 38400 for Deconz)
-  #baudrate: 115200
-  # Optional: RTS / CTS Hardware Flow Control for serial port (default: false)
-  #rtscts: false
-  # Optional: soft reset ZNP after timeout (in seconds); 0 is disabled (default: 0)
-  #soft_reset_timeout: 0
-  # Optional: network encryption key, will improve security (Note: changing requires repairing of all devices) (default: shown below)
-  # Setting network_key: GENERATE will make Zigbee2MQTT generate a new network key on next startup
-  #network_key: [1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]
-  # Optional: Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message
-  # possible values are: disable (default), ISO_8601, ISO_8601_local, epoch (default: disable)
-  #last_seen: 'disable'
-  # Optional: Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg (default: false)
-  #elapsed: false
-  # Optional: Availability timeout in seconds, disabled by default (0).
-  # When enabled, devices will be checked if they are still online.
-  # Only AC powered routers are checked for availability. (default: 0)
-  #availability_timeout: 0
-  # Optional: Prevent devices from being checked for availability (default: empty)
-  # Previously called `availability_blacklist` (which is deprecated)
-  #availability_blocklist:
-  #  - DEVICE_FRIENDLY_NAME or DEVICE_IEEE_ADDRESS
-  # Optional: Only enable availability check for certain devices (default: empty)
-  # Previously called `availability_whitelist` (which is deprecated)
-  #availability_passlist:
-  #  - DEVICE_FRIENDLY_NAME or DEVICE_IEEE_ADDRESS
-  # Optional: Enables report feature, this feature is DEPRECATED since reporting is now setup by default
-  # when binding devices. Docs can still be found here: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/information/report.md
-  #report: true
+  # Optional: use IKEA TRADFRI OTA test server, see OTA updates documentation (default: false)
+  #ikea_ota_use_test_url: false
   # Optional: Home Assistant discovery topic (default: shown below)
   #homeassistant_discovery_topic: 'homeassistant'
   # Optional: Home Assistant status topic (default: shown below)
   #homeassistant_status_topic: 'homeassistant/status'
+  # Optional: Home Assistant legacy entity attributes, (default: shown below), when enabled:
+  # Zigbee2MQTT will send additional states as attributes with each entity. For example,
+  # A temperature & humidity sensor will have 2 entities for the temperature and
+  # humidity, with this setting enabled both entities will also have
+  # an temperature and humidity attribute.
+  # Note: Disabling this option, requires a Home Assistant restart
+  homeassistant_legacy_entity_attributes: false
   # Optional: Home Assistant legacy triggers (default: shown below), when enabled:
   # - Zigbee2mqt will send an empty 'action' or 'click' after one has been send
   # - A 'sensor_action' and 'sensor_click' will be discoverd
-  #homeassistant_legacy_triggers: true
-  # Optional: log timestamp format (default: shown below)
-  #timestamp_format: 'YYYY-MM-DD HH:mm:ss'
-  # Optional: configure adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)
-  #adapter_concurrent: null
-  # Optional: disables the legacy api (default: shown below)
-  #legacy_api: true
-  # Optional: use IKEA TRADFRI OTA test server, see OTA updates documentation (default: false)
-  #ikea_ota_use_test_url: false
+  homeassistant_legacy_triggers: false
 
 # Optional: experimental options
 #experimental:
+  # Optional: Transmit power setting in dBm (default: 5).
+  # This will set the transmit power for devices that bring an inbuilt amplifier.
+  # It can't go over the maximum of the respective hardware and might be limited
+  # by firmware (for example to migrate heat, or by using an unsupported firmware).
+  # For the CC2652R(B) this is 5 dBm, CC2652P/CC1352P-2 20 dBm.
+  #transmit_power: 5
   # Optional: MQTT output type: json, attribute or attribute_and_json (default: shown below)
   # Examples when 'state' of a device is published
   # json: topic: 'zigbee2mqtt/my_bulb' payload '{"state": "ON"}'
@@ -155,6 +163,40 @@ serial:
   # attribute_and_json: both json and attribute (see above)
   #output: 'json'
 
+# Optional: Define default values which are applied to all devices
+device_options:
+  temperature_precision: 0
+  humidity_precision: 0
+
+# Optional: Define the files which contains the configs 
+devices: devices.yaml
+groups: groups.yaml
+
+# Optional: Block devices from the network (by ieeeAddr) (default: empty)
+# Previously called `ban` (which is deprecated)
+#blocklist:
+#  - '0x000b57fffec6a5b2'
+
+# Optional: Allow only certain devices to join the network (by ieeeAddr)
+# Note that all devices not on the passlist will be removed from the network!
+# (default: empty)
+# Previously called `whitelist` (which is deprecated)
+#passlist:
+#  - '0x000b57fffec6a5b3'
+
+# Optional: Enable the availability feature (default = false)
+#availability: true
+# Note: all options are optional
+#availability:
+  #active:
+    # Time after which an active device will be marked as offline in
+    # minutes (default = 10 minutes)
+    #timeout: 10
+  #passive:
+    # Time after which a passive device will be marked as offline in
+    # minutes (default = 1500 minutes aka 25 hours)
+    #timeout: 1500
+
 # Optional: networkmap options
 #map_options:
   #graphviz:
@@ -172,13 +214,5 @@ serial:
         #active: '#009900'
         #inactive: '#994444'
 
-# Optional: see 'Device specific configuration' below
-device_options:
-  temperature_precision: 0
-  humidity_precision: 0
-devices: devices.yaml
 # Optional, see 'External converters configuration' below
-external_converters: []
-
-frontend:
-  port: 8080
+#external_converters: []
index 4891c2b67d5fe2a64083483bbb6983e20c826789..8d190f09e076dce3b0b794a9a9e73ee4571c7ed0 100644 (file)
@@ -1,10 +1,19 @@
-# Required: Home Assistant integration (MQTT discovery) (default: false)
-homeassistant: false
+# Optional: Home Assistant integration (MQTT discovery) (default: false)
+homeassistant: true
 
-# Required: allow new devices to join.
-# WARNING: Disable this after all devices have been paired! (default: false)
+# Optional: allow new devices to join.
 permit_join: true
 
+# Required: serial settings
+serial:
+  # Required: location of the adapter (e.g. CC2531).
+  # To autodetect the port, set 'port: null'.
+  port: /dev/ttyACM0
+  # Optional: disable LED of the adapter if supported (default: false)
+  disable_led: false
+  # Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz, ezsp)
+  adapter: null
+
 # Required: MQTT settings
 mqtt:
   # Required: MQTT base topic for Zigbee2MQTT MQTT messages
@@ -36,30 +45,51 @@ mqtt:
   # Enabling will break the Home Assistant integration. (default: false)
   force_disable_retain: false
 
-# Required: serial settings
-serial:
-  # Required: location of the adapter (e.g. CC2531).
-  # To autodetect the port, set 'port: null'.
-  port: /dev/ttyACM0
-  # Optional: disable LED of the adapter if supported (default: false)
-  disable_led: false
-  # Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz)
-  adapter: null
-
-# Optional: Block devices from the network (by ieeeAddr) (default: empty)
-# Previously called `ban` (which is deprecated)
-blocklist:
-  - '0x000b57fffec6a5b2'
+frontend:
+  # Optional, default 8080
+  port: 8080
+  # Optional, default 0.0.0.0
+  host: 0.0.0.0
+  # Optional, enables authentication, disabled by default
+  auth_token: your-secret-token
+  # Optional, url on which the frontend can be reached, currently only used for the Home Assistant device configuration page
+  url: 'https://zigbee2mqtt.myhouse.org'
 
-# Optional: Allow only certain devices to join the network (by ieeeAddr)
-# Note that all devices not on the passlist will be removed from the network!
-# (default: empty)
-# Previously called `whitelist` (which is deprecated)
-passlist:
-  - '0x000b57fffec6a5b3'
+# Optional: OTA update settings
+# See https://www.zigbee2mqtt.io/guide/usage/ota_updates.html for more info
+ota:
+  # Minimum time between OTA update checks
+  update_check_interval: 1440
+  # Disable automatic update checks
+  disable_automatic_update_check: false
 
 # Optional: advanced settings
 advanced:
+  # Optional: Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600.
+  baudrate: 115200
+  # Optional: RTS / CTS Hardware Flow Control for serial port (default: false)
+  rtscts: false
+  # Optional: soft reset ZNP after timeout (in seconds); 0 is disabled (default: 0)
+  soft_reset_timeout: 0
+  # Optional: configure adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)
+  adapter_concurrent: null
+  # Optional: state caching, MQTT message payload will contain all attributes, not only changed ones.
+  # Has to be true when integrating via Home Assistant (default: true)
+  cache_state: true
+  # Optional: persist cached state, only used when cache_state: true (default: true)
+  cache_state_persistent: true
+  # Optional: send cached state on startup, only used when cache_state_persistent: true (default: true)
+  cache_state_send_on_startup: true
+  # Optional: Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message
+  # possible values are: disable (default), ISO_8601, ISO_8601_local, epoch (default: disable)
+  last_seen: 'disable'
+  # Optional: Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg (default: false)
+  elapsed: false
+  # Optional: Enables report feature, this feature is DEPRECATED since reporting is now setup by default
+  # when binding devices. Docs can still be found here: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/information/report.md
+  report: true
+  # Optional: disables the legacy api (default: shown below)
+  legacy_api: true
   # Optional: ZigBee pan ID (default: shown below)
   # Setting pan_id: GENERATE will make Zigbee2MQTT generate a new panID on next startup
   pan_id: 0x1a62
@@ -68,86 +98,64 @@ advanced:
   # Optional: ZigBee channel, changing requires re-pairing of all devices. (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)
   # (default: 11)
   channel: 11
-  # Optional: state caching, MQTT message payload will contain all attributes, not only changed ones.
-  # Has to be true when integrating via Home Assistant (default: true)
-  cache_state: true
-  # Optional: persist cached state, only used when cache_state: true (default: true)
-  cache_state_persistent: true
-  # Optional: send cached state on startup, only used when cache_state_persistent: true (default: true)
-  cache_state_send_on_startup: true
+  # Optional: network encryption key, will improve security 
+  # Note: changing requires repairing of all devices (default: shown below)
+  network_key: [ 1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13 ]
   # Optional: Logging level, options: debug, info, warn, error (default: info)
   log_level: info
+  # Optional: log timestamp format (default: shown below)
+  timestamp_format: 'YYYY-MM-DD HH:mm:ss'
   # Optional: Location of log directory (default: shown below)
   log_directory: data/log/%TIMESTAMP%
   # Optional: Log file name, can also contain timestamp, e.g.: zigbee2mqtt_%TIMESTAMP%.log (default: shown below)
   log_file: log.txt
-  # Optional: Log rotation (default: shown below)
+  # Optional: Rotate log every 10MB around 3 files (default: true)
   log_rotation: true
   # Optional: Output location of the log (default: shown below), leave empty to supress logging (log_output: [])
   # possible options: 'console', 'file', 'syslog'
   log_output:
     - console
     - file
+  # Create a symlink called "current" in the log directory which points to the latests log directory. (default: false)
+  log_symlink_current: false
   # Optional: syslog configuration, skip values or entirely to use defaults. Only use when 'syslog' in 'log_output' (see above)
   log_syslog:
     host: localhost # The host running syslogd, defaults to localhost.
     port: 123 # The port on the host that syslog is running on, defaults to syslogd's default port.
     protocol: tcp4 # The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).
-    path:  /dev/log # The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).
+    path: /dev/log # The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).
     pid: process.pid # PID of the process that log messages are coming from (Default process.pid).
     facility: local0 # Syslog facility to use (Default: local0).
     localhost: localhost # Host to indicate that log messages are coming from (Default: localhost).
     type: 5424 # The type of the syslog protocol to use (Default: BSD, also valid: 5424).
     app_name: Zigbee2MQTT # The name of the application (Default: Zigbee2MQTT).
     eol: '\n' # The end of line character to be added to the end of the message (Default: Message without modifications).
-  # Optional: Baudrate for serial port (default: 115200 for Z-Stack, 38400 for Deconz)
-  baudrate: 115200
-  # Optional: RTS / CTS Hardware Flow Control for serial port (default: false)
-  rtscts: false
-  # Optional: soft reset ZNP after timeout (in seconds); 0 is disabled (default: 0)
-  soft_reset_timeout: 0
-  # Optional: network encryption key, will improve security (Note: changing requires repairing of all devices) (default: shown below)
-  # Setting network_key: GENERATE will make Zigbee2MQTT generate a new network key on next startup
-  network_key: [1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13]
-  # Optional: Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message
-  # possible values are: disable (default), ISO_8601, ISO_8601_local, epoch (default: disable)
-  last_seen: 'disable'
-  # Optional: Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg (default: false)
-  elapsed: false
-  # Optional: Availability timeout in seconds, disabled by default (0).
-  # When enabled, devices will be checked if they are still online.
-  # Only AC powered routers are checked for availability. (default: 0)
-  availability_timeout: 0
-  # Optional: Prevent devices from being checked for availability (default: empty)
-  # Previously called `availability_blacklist` (which is deprecated)
-  availability_blocklist:
-    - DEVICE_FRIENDLY_NAME or DEVICE_IEEE_ADDRESS
-  # Optional: Only enable availability check for certain devices (default: empty)
-  # Previously called `availability_whitelist` (which is deprecated)
-  availability_passlist:
-    - DEVICE_FRIENDLY_NAME or DEVICE_IEEE_ADDRESS
-  # Optional: Enables report feature, this feature is DEPRECATED since reporting is now setup by default
-  # when binding devices. Docs can still be found here: https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/information/report.md
-  report: true
+  # Optional: use IKEA TRADFRI OTA test server, see OTA updates documentation (default: false)
+  ikea_ota_use_test_url: false
   # Optional: Home Assistant discovery topic (default: shown below)
   homeassistant_discovery_topic: 'homeassistant'
   # Optional: Home Assistant status topic (default: shown below)
   homeassistant_status_topic: 'homeassistant/status'
+  # Optional: Home Assistant legacy entity attributes, (default: shown below), when enabled:
+  # Zigbee2MQTT will send additional states as attributes with each entity. For example,
+  # A temperature & humidity sensor will have 2 entities for the temperature and
+  # humidity, with this setting enabled both entities will also have
+  # an temperature and humidity attribute.
+  # Note: Disabling this option, requires a Home Assistant restart
+  homeassistant_legacy_entity_attributes: true
   # Optional: Home Assistant legacy triggers (default: shown below), when enabled:
   # - Zigbee2mqt will send an empty 'action' or 'click' after one has been send
   # - A 'sensor_action' and 'sensor_click' will be discoverd
   homeassistant_legacy_triggers: true
-  # Optional: log timestamp format (default: shown below)
-  timestamp_format: 'YYYY-MM-DD HH:mm:ss'
-  # Optional: configure adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)
-  adapter_concurrent: null
-  # Optional: disables the legacy api (default: shown below)
-  legacy_api: true
-  # Optional: use IKEA TRADFRI OTA test server, see OTA updates documentation (default: false)
-  ikea_ota_use_test_url: false
 
 # Optional: experimental options
 experimental:
+  # Optional: Transmit power setting in dBm (default: 5).
+  # This will set the transmit power for devices that bring an inbuilt amplifier.
+  # It can't go over the maximum of the respective hardware and might be limited
+  # by firmware (for example to migrate heat, or by using an unsupported firmware).
+  # For the CC2652R(B) this is 5 dBm, CC2652P/CC1352P-2 20 dBm.
+  transmit_power: 5
   # Optional: MQTT output type: json, attribute or attribute_and_json (default: shown below)
   # Examples when 'state' of a device is published
   # json: topic: 'zigbee2mqtt/my_bulb' payload '{"state": "ON"}'
@@ -155,6 +163,41 @@ experimental:
   # attribute_and_json: both json and attribute (see above)
   output: 'json'
 
+# Optional: Define default values which are applied to all devices
+device_options:
+  retain: true
+  occupancy_timeout: 120
+  no_occupancy_since: [ 10, 600 ]
+
+# Optional: Define the files which contains the configs 
+devices: devices.yaml
+groups: groups.yaml
+
+# Optional: Block devices from the network (by ieeeAddr) (default: empty)
+# Previously called `ban` (which is deprecated)
+blocklist:
+  - '0x000b57fffec6a5b2'
+
+# Optional: Allow only certain devices to join the network (by ieeeAddr)
+# Note that all devices not on the passlist will be removed from the network!
+# (default: empty)
+# Previously called `whitelist` (which is deprecated)
+passlist:
+  - '0x000b57fffec6a5b3'
+
+# Optional: Enable the availability feature (default = false)
+availability: true
+# Note: all options are optional
+availability:
+  active:
+    # Time after which an active device will be marked as offline in
+    # minutes (default = 10 minutes)
+    timeout: 10
+  passive:
+    # Time after which a passive device will be marked as offline in
+    # minutes (default = 1500 minutes aka 25 hours)
+    timeout: 1500
+
 # Optional: networkmap options
 map_options:
   graphviz:
@@ -172,7 +215,7 @@ map_options:
         active: '#009900'
         inactive: '#994444'
 
-# Optional: see 'Device specific configuration' below
-device_options: {}
 # Optional, see 'External converters configuration' below
-external_converters: []
\ No newline at end of file
+external_converters:
+  - freepad_ext.js
+  - one-more-converter.js
diff --git a/database.db b/database.db
deleted file mode 100644 (file)
index 6af0dfe..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018e18d88","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,8,11,12,13,110],"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"8":{"profId":260,"epId":8,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[],"outClusterList":[1280],"clusters":{},"binds":[]},"12":{"profId":49246,"epId":12,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]},"13":{"profId":260,"epId":13,"devId":5,"inClusterList":[25],"outClusterList":[],"clusters":{},"binds":[]},"110":{"profId":260,"epId":110,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[]}},"interviewCompleted":false,"meta":{},"lastSeen":null}
-{"id":2,"type":"EndDevice","ieeeAddr":"0x00158d0003e79145","nwkAddr":49212,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet","epList":[1],"endpoints":{"1":{"epId":1,"inClusterList":[],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"65282":[{"elmType":16,"elmVal":0},{"elmType":33,"elmVal":3025},{"elmType":33,"elmVal":5032},{"elmType":36,"elmVal":[4,16777218]},{"elmType":33,"elmVal":88},{"elmType":32,"elmVal":100}],"appVersion":10,"modelId":"lumi.sensor_magnet"}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":10,"interviewCompleted":true,"meta":{},"lastSeen":1615826804113}
-{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d0002caf32f","nwkAddr":52650,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,65535,6],"outClusterList":[0,4,65535],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"genBasic":{"attributes":{"65281":{"1":3025,"3":24,"4":5032,"5":33,"6":[0,1],"10":0,"100":0},"modelId":"lumi.sensor_magnet.aq2","manufacturerName":"LUMI"}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1615825527803}
-{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d0004081917","nwkAddr":35610,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","epList":[1],"endpoints":{"1":{"epId":1,"inClusterList":[],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"65282":[{"elmType":16,"elmVal":1},{"elmType":33,"elmVal":3032},{"elmType":33,"elmVal":5032},{"elmType":36,"elmVal":[0,1]},{"elmType":33,"elmVal":96},{"elmType":32,"elmVal":97}],"modelId":"lumi.sensor_switch"}},"genOnOff":{"attributes":{"32768":2,"onOff":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":1615823953087}
-{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d000425db09","nwkAddr":40050,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_ht","epList":[1,2,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,25,65535,18],"outClusterList":[0,4,3,5,25,65535,18],"clusters":{"msTemperatureMeasurement":{"attributes":{"measuredValue":1600}},"msRelativeHumidity":{"attributes":{"measuredValue":4813}},"genBasic":{"attributes":{"65281":{"1":2945,"4":5032,"5":11,"6":[4,33554437],"10":0,"100":1543,"101":4792},"manufacturerName":"LUMI","powerSource":3,"zclVersion":1,"stackVersion":2,"hwVersion":30,"dateCode":"20160516","swBuildId":"3000-0001","modelId":"lumi.sensor_ht"}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[4,3,5,18],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[4,3,5,12],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":2,"hwVersion":30,"dateCode":"20160516","swBuildId":"3000-0001","zclVersion":1,"interviewCompleted":true,"meta":{},"lastSeen":1615825759460}
-{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d0004024fb9","nwkAddr":32423,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_ht","epList":[1,2,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,25,65535,18],"outClusterList":[0,4,3,5,25,65535,18],"clusters":{"msTemperatureMeasurement":{"attributes":{"measuredValue":1569}},"msRelativeHumidity":{"attributes":{"measuredValue":4225}},"genBasic":{"attributes":{"65281":{"1":2985,"4":5032,"5":8,"6":[0,2],"10":0,"100":1598,"101":4492},"manufacturerName":"LUMI","powerSource":3,"zclVersion":1,"stackVersion":2,"hwVersion":30,"dateCode":"20160516","swBuildId":"3000-0001","modelId":"lumi.sensor_ht"}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[4,3,5,18],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[4,3,5,12],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":2,"stackVersion":2,"hwVersion":30,"dateCode":"20160516","swBuildId":"3000-0001","zclVersion":1,"interviewCompleted":true,"meta":{},"lastSeen":1615826833022}
-{"id":7,"type":"Coordinator","ieeeAddr":"0x00124b0018e18d88","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,8,11,12,13,47,110,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"8":{"profId":260,"epId":8,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[],"outClusterList":[1280,1282],"clusters":{},"binds":[],"meta":{}},"12":{"profId":49246,"epId":12,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"13":{"profId":260,"epId":13,"devId":5,"inClusterList":[25],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"47":{"profId":260,"epId":47,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"110":{"profId":260,"epId":110,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":null}
-{"id":8,"type":"Coordinator","ieeeAddr":"0x00124b0018e18d88","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,8,11,12,13,47,110,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"8":{"profId":260,"epId":8,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[1281],"outClusterList":[1280,1282],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"12":{"profId":49246,"epId":12,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"13":{"profId":260,"epId":13,"devId":5,"inClusterList":[25],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"47":{"profId":260,"epId":47,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"110":{"profId":260,"epId":110,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":null}
-{"id":9,"type":"Coordinator","ieeeAddr":"0x00124b0018e18d88","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,8,10,11,12,13,47,110,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"8":{"profId":260,"epId":8,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"10":{"profId":260,"epId":10,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[1281],"outClusterList":[1280,1282],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"12":{"profId":49246,"epId":12,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"13":{"profId":260,"epId":13,"devId":5,"inClusterList":[25],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"47":{"profId":260,"epId":47,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"110":{"profId":260,"epId":110,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":null}
\ No newline at end of file
index 4ed433d241ec0000630b457992361f348b20bfa1..df0ba4d65003dd7b5a4c8a5c3139ede912b54908 100644 (file)
@@ -1,14 +1,14 @@
 '0x00158d0003e79145':
-  friendly_name: main_door
-'0x00158d0002caf32f':
-  friendly_name: spare_door
-'0x00158d0004081917':
-  friendly_name: wireless_switch
+  friendly_name: Porta Casa
 '0x00158d000425db09':
-  friendly_name: front_balcony
+  friendly_name: Temperatura Balcone
   temperature_precision: 0
   humidity_precision: 0
 '0x00158d0004024fb9':
-  friendly_name: rear_balcony
+  friendly_name: Temperatura Veranda
   temperature_precision: 0
   humidity_precision: 0
+'0x00158d0002caf32f':
+  friendly_name: spare_door
+'0x00158d0004081917':
+  friendly_name: wireless_button
diff --git a/groups.yaml b/groups.yaml
new file mode 100644 (file)
index 0000000..e69de29