ZigBeeForDomoticZ plugin Wiki

Deal with plugin errors

The plugin records its errors, with their context, so that you can see them in the WebUI and send them with a bug report.

The error indicator

When the plugin records an error, a blinking red triangle, Error(s) detected, appears in the WebUI menu bar, and the Errors tab of Tools carries a red dot. Click the triangle to open Tools > Errors.

The Errors tab

Tools > Errors (see WebUI Tools) lists the recorded errors. Opening it marks them as read: the red triangle goes away until a new error is recorded.

Tools > Errors This picture may have changed since this documentation was written.

Before plugin 9.1.009, the page is Tools > Error(s), with two buttons: Log Error History (json) displays the recorded errors (Export downloads them as a JSON file), and Clear Error History empties the list. Either button turns the red triangle off.

The errors are grouped by plugin session (each start of the plugin), with the plugin version and the coordinator firmware version of that session. Each error comes with its context: the module, the message, the device concerned and the data the plugin was handling. The plugin keeps the last 5 sessions, 20 errors per session, and drops the errors older than 7 days.

The history is also saved in the file PluginZigbee_log_error_history_<hardware id>.json of the plugin Logs folder (<hardware id> is the Domoticz hardware ID of the plugin, on two digits), so it survives a plugin restart.

What to do with an error

  1. Look at the error message and the device concerned: many errors come from a device that doesn’t answer (see Troubleshooting pairing or connection) or from a device that isn’t optimized (see Dealing with a non-optimized device).
  2. Check the plugin FAQ.
  3. If the error comes back, report it on GitHub, with:
    • the error: Copy as GitHub issue text, or the downloaded history (z4d-errors.json);
    • the Domoticz log around the time of the error, if possible with the debug mode enabled for the module concerned (see Debug mode);
    • for a device problem, the device data: Tools > Data, Devices (raw), Download (see Use the plugin tools). The Support bundle of the same tab gathers the error history and the plugin data in one file.

The exports can contain your network details: look at them before posting them publicly.