Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSM-U01 lumi.switch.n0agl1 Failed to find endpoint which support OTA cluster #17835

Closed
aldarund opened this issue May 29, 2023 · 3 comments
Closed
Labels
problem Something isn't working

Comments

@aldarund
Copy link

What happened?

When clicking check update it just show up error message Failed to find endpoint which support OTA cluster

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.30.4

Adapter firmware version

20221226

Adapter

ZigStar Stick v4

Debug log

Debug 2023-05-29 23:34:49Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/check' with data '{"id":"Тест энергия кухея","transaction":"kmi5m-4"}'
Info 2023-05-29 23:34:49Checking if update available for 'Тест энергия кухея'
Debug 2023-05-29 23:34:49Check if update available for '0x54ef44100082ce2c' (lumi.switch.n0agl1)
Info 2023-05-29 23:34:49MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"Тест энергия кухея"},"error":"Failed to check if update available for 'Тест энергия кухея' (Failed to find endpoint which support OTA cluster)","status":"error","transaction":"kmi5m-4"}'
Error 2023-05-29 23:34:49Failed to check if update available for 'Тест энергия кухея' (Failed to find endpoint which support OTA cluster)
Debug 2023-05-29 23:34:49AssertionError [ERR_ASSERTION]: Failed to find endpoint which support OTA cluster at Object.isUpdateAvailable (/app/node_modules/zigbee-herdsman-converters/lib/ota/common.js:243:9) at Object.isUpdateAvailable (/app/node_modules/zigbee-herdsman-converters/lib/ota/zigbeeOTA.js:144:19) at OTAUpdate.onMQTTMessage (/app/lib/extension/otaUpdate.ts:203:73) at EventEmitter.emit (node:events:525:35) at EventBus.emitMQTTMessage (/app/lib/eventBus.ts:109:22) at MQTT.onMessage (/app/lib/mqtt.ts:140:27) at WebSocket. (/app/lib/extension/frontend.ts:126:27) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:1184:20) at Receiver.emit (node:events:513:28)

@aldarund aldarund added the problem Something isn't working label May 29, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 30, 2023

Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/717d5125f22ca77c0fd4a73d46fe268f

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed

@aldarund
Copy link
Author

aldarund commented May 30, 2023

Yes, that fixes the issue and it updates fine

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 31, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 31, 2023

Great, integrated the fix!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants