I am trying to make an external converter to have another stab at fixing https://github.com/Koenkk/zigbee2mqtt/issues/17108, and following the guide, I get this error when clicking on Create External Definition:
Request 'zigbee2mqtt/bridge/request/device/generate_external_definition' failed with error: 'extenderElectricityMeter can accept only one endpoint'
What did you expect to happen?
I expected an external definition to be generated in line with the "support new devices" guide.
How to reproduce it (minimal and precise)
Have a Makegood Dual GPO like (This)
Realise power monitoring isn't defined, so attempt to create an external converter
Press the "Create External Definition" button in the dev console
Zigbee2MQTT version
1.35.2
Adapter firmware version
20220219
Adapter
Sonoff Zigbee 3.0 USB Dongle Plus
Setup
Home Assistant Add-on, HAOS running in VM
Debug log
Can't work out how to download this from the HA addon, however here is a copy of the relevant section from the web interface:
Debug 2024-02-02 22:43:01Received MQTT message on 'zigbee2mqtt/bridge/request/device/generate_external_definition' with data '{"id":"0x000d6ffffe9d363c","transaction":"8ypsv-6"}' Error 2024-02-02 22:43:01Request 'zigbee2mqtt/bridge/request/device/generate_external_definition' failed with error: 'extenderElectricityMeter can accept only one endpoint' Debug 2024-02-02 22:43:01Error: extenderElectricityMeter can accept only one endpoint at Array.extenderElectricityMeter (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:245:15) at addGenerators (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:128:51) at generateDefinition (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:132:15) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.generateExternalDefinitionSource (/app/node_modules/zigbee-herdsman-converters/src/index.ts:327:13) at Bridge.deviceGenerateExternalDefinition (/app/lib/extension/bridge.ts:462:24) at Bridge.onMQTTMessage (/app/lib/extension/bridge.ts:128:34) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17) Info 2024-02-02 22:43:01MQTT publish: topic 'zigbee2mqtt/bridge/response/device/generate_external_definition', payload '{"data":{},"error":"extenderElectricityMeter can accept only one endpoint","status":"error","transaction":"8ypsv-6"}'
What happened?
I am trying to make an external converter to have another stab at fixing https://github.com/Koenkk/zigbee2mqtt/issues/17108, and following the guide, I get this error when clicking on Create External Definition:
Request 'zigbee2mqtt/bridge/request/device/generate_external_definition' failed with error: 'extenderElectricityMeter can accept only one endpoint'
What did you expect to happen?
I expected an external definition to be generated in line with the "support new devices" guide.
How to reproduce it (minimal and precise)
Have a Makegood Dual GPO like (This) Realise power monitoring isn't defined, so attempt to create an external converter Press the "Create External Definition" button in the dev console
Zigbee2MQTT version
1.35.2
Adapter firmware version
20220219
Adapter
Sonoff Zigbee 3.0 USB Dongle Plus
Setup
Home Assistant Add-on, HAOS running in VM
Debug log
Can't work out how to download this from the HA addon, however here is a copy of the relevant section from the web interface:
Debug 2024-02-02 22:43:01Received MQTT message on 'zigbee2mqtt/bridge/request/device/generate_external_definition' with data '{"id":"0x000d6ffffe9d363c","transaction":"8ypsv-6"}' Error 2024-02-02 22:43:01Request 'zigbee2mqtt/bridge/request/device/generate_external_definition' failed with error: 'extenderElectricityMeter can accept only one endpoint' Debug 2024-02-02 22:43:01Error: extenderElectricityMeter can accept only one endpoint at Array.extenderElectricityMeter (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:245:15) at addGenerators (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:128:51) at generateDefinition (/app/node_modules/zigbee-herdsman-converters/src/lib/generateDefinition.ts:132:15) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.generateExternalDefinitionSource (/app/node_modules/zigbee-herdsman-converters/src/index.ts:327:13) at Bridge.deviceGenerateExternalDefinition (/app/lib/extension/bridge.ts:462:24) at Bridge.onMQTTMessage (/app/lib/extension/bridge.ts:128:34) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17) Info 2024-02-02 22:43:01MQTT publish: topic 'zigbee2mqtt/bridge/response/device/generate_external_definition', payload '{"data":{},"error":"extenderElectricityMeter can accept only one endpoint","status":"error","transaction":"8ypsv-6"}'