Skip to content

deCONZ command line parameters

SwoopX edited this page Oct 25, 2020 · 11 revisions

General purpose parameters

dev

auto-connect

platform minimal

http-listen

http-port

http-root

ws-port

read-reg-interval

read-reg

baudrate

zdp-aps-ack

mgtmlqi-delay

appdata

Command line switch for alternate config location (for example test setup or two ConBee running on the same machine)

Available debug parameters

deCONZ can generate quite a lot of different debug output depending on the individual needs and requirements. This overview is intended to briefly explain what kind of information the individual switches provide and what available levels they have.

Assuming you run a pure Raspbian with no middleware requiring or taking care of any deCONZ configuration, the switches can be used as follows:

/usr/bin/deCONZ --dbg-info=2

To write the output to a file, simply do:

/usr/bin/deCONZ --dbg-info=2 > debug.txt

You can add multiple switches, separated by a space.

dbg-info

Available levels: 1 or 2

This is the most comprehensive source of information for what is currently going on in deCONZ. It already provides lots of information on level 1, but sometimes in brevity and some data is spared out (node descriptor patching, full payloads, IAS enrollment, etc.). Therefore, if any debugging is required, it's always recommended to use level 2. The used level impacts the level of detail (the higher the level, the more information is provided).

dbg-error

Available levels: 1 or 2

This switch provides elaborate information when any errors are encountered while running deCONZ. The used level impacts the level of detail (the higher the level, the more information is provided).

dbg-aps

Available levels: 1 or 2

This switch provides further insights on the APS packages received by deCONZ. It may help to gain a better understanding which clusters and commands are involved in communication.The used level impacts the level of detail (the higher the level, the more information is provided).

dbg-ota

Available levels: 1

Use this switch to get any information regarding the STD OTAU plugin which is involved in updating device firmware.

dbg-prot

Available levels: 1 or 2

This switch provides debug output of low level serial port communication. The used level impacts the level of detail (the higher the level, the more information is provided).

dbg-wire

Available levels: 1

dbg-zdp

Available levels: 1

This switch provides details for the ZDP layer commands, like discovering the mesh network neighbor tables, query node/simple descriptors and active endpoints.

dbg-zcl

Available levels: 1

dbg-zcldb

Available levels: 1

This switch allows debugging the processing of ZCLDB database, which is mainly represented by the general.xml file.

dbg-http

Available levels: 1

This switch allows debugging the processing of http request..

dbg-tlink

Available levels: 1

This switch enabled debug output for the Touchlink feature. Currently, only supported by ConBee I and RaspBee I.

Clone this wiki locally