Fail to start - Cannot read properties of undefined (reading 'options')

Zigbee2MQTT version: 1.31.0-1

Home Assistant 2023.5.4
Supervisor 2023.04.1
Operating System 10.2
Frontend 20230503.3 - latest

[00:12:54] INFO: Preparing to start...
[00:12:55] INFO: Socat not enabled
[00:12:57] INFO: Starting Zigbee2MQTT...
/app/node_modules/zigbee-herdsman-converters/index.js:79
        if (converter.options) {
                      ^
TypeError: Cannot read properties of undefined (reading 'options')
    at Object.addDefinition [as addDeviceDefinition] (/app/node_modules/zigbee-herdsman-converters/index.js:79:23)
    at new ExternalConverters (/app/lib/extension/externalConverters.ts:15:17)
    at new Controller (/app/lib/controller.ts:84:58)
    at start (/app/index.js:106:18)

i found some similar topics that recommended “upgrading to edge”. but those posts are from 2022. i did not yet find something newer.

how do i fix this?

2 Likes

I have the exact same problem. Zigbee2mqtt wont start and the logs are as follows:

[20:34:57] INFO: Preparing to start…
[20:34:57] INFO: Socat not enabled
[20:34:58] INFO: Starting Zigbee2MQTT…
/app/node_modules/zigbee-herdsman-converters/index.js:79
if (converter.options) {
^
TypeError: Cannot read properties of undefined (reading ‘options’)
at Object.addDefinition [as addDeviceDefinition] (/app/node_modules/zigbee-herdsman-converters/index.js:79:23)
at new ExternalConverters (/app/lib/extension/externalConverters.ts:15:17)
at new Controller (/app/lib/controller.ts:84:58)
at start (/app/index.js:106:18)

Hi,
I had the same problem. Please look at:

marked this as solved, because id restarts. i don’t remember putting an external converter in the config, and do not know if i need it. checking devices …