Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zigpy Advanced Configuration

MattWestb edited this page Sep 27, 2021 · 12 revisions

Zigpy Advanced Configuration placeholder

DRAFT !!

Some debug / logging setting in HA config:

logger:
  default: info
  logs:
    homeassistant.core: info
    homeassistant.components.zha: info
    zigpy: info
    zigpy.zdo: info
    zigpy.application: info
    bellows.zigbee.application: info
    bellows.ezsp: info
    bellows.uart: info
    zigpy_cc: debug
    zigpy_znp: debug
    zigpy_znp.logger: debug
    zigpy_deconz.zigbee.application: debug
    zigpy_deconz.api: debug
    zigpy_deconz.uart: debug
    zigpy_xbee.zigbee.application: debug
    zigpy_xbee.api: debug
    zigpy_zigate: debug
    zhaquirks: info
    zhaquirks.tuya: debug
    custom_components: debug

The options for log parameters is:

  • trace: Show every detail, like all called internal functions (looks being blocked in master branch).
  • debug: Shows detailed debug information.
  • info: Normal (usually) interesting events.
  • warn: ?
  • warning: Exceptional occurrences that are not errors.
  • error: Runtime errors that do not require immediate action.
  • fatal: Something went terribly wrong. Add-on becomes unusable.
  • notset: Using system default value.

Advanced Network Config

zha:
  zigpy_config:
    handle_unknown_devices: yes
    network:
      key: [16,16,14,14,14,13,12,10,10,11,11,12,12,14,4,16]   ## 16 bytes of network key (unique).
      channel: 25   ## More Zigbee network can working on the same channel without problems.
      channels: [11, 15, 20, 25]   ## This is the primary channels that is used for network manege.
      pan_id: 0x1C62    ## Must being unique in the radio range !!
      extended_pan_id: "DF:DE:DA:DC:DC:DD:DA:DF"   ## Must being unique in the radio range !!
    source_routing: true
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0 ## Forcing end device using routers then blocking the NCP having direct children.
  custom_quirks_path: /config/custom_zha_quirks/ ## Path to custom quirks that is not being deleted the ZHA is updated.

The "network" parameters is only used then forming one new network and is not true if changed after the network is formed.

Clone this wiki locally