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

Endpoint not supported for cover type #8712

Closed
dominicusmento opened this issue Sep 10, 2021 · 3 comments
Closed

Endpoint not supported for cover type #8712

dominicusmento opened this issue Sep 10, 2021 · 3 comments
Labels
problem Something isn't working

Comments

@dominicusmento
Copy link

dominicusmento commented Sep 10, 2021

What happened

Trying to use a converter for 2ch zigbee module but can't start zigbee2mqtt with it defined in configuration.

What did you expect to happen

Add the external converter into the config and use the device which supports to control two separate covers and therefore it has multiple zigbee endpoints

How to reproduce it (minimal and precise)

Add the converter from #8705 (comment) to the configuration and restart the zigbee2mqtt

Debug info

Zigbee2MQTT version: 1.21.1-1
Adapter hardware: CC2531
Adapter firmware version: -

Error

If I've traced correctly, problem should be in this file: https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/extension/homeassistant.js

(node:1073) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: Endpoint not supported for cover type
    at HomeAssistant.exposeToConfig (/app/lib/extension/homeassistant.js:283:13)
    at HomeAssistant.populateMapping (/app/lib/extension/homeassistant.js:591:54)
    at new HomeAssistant (/app/lib/extension/homeassistant.js:64:14)
    at new Controller (/app/lib/controller.js:83:34)
    at start (/app/index.js:94:18)
@dominicusmento dominicusmento added the problem Something isn't working label Sep 10, 2021
@Koenkk
Copy link
Owner

Koenkk commented Sep 11, 2021

Should be fixed now, can you check?

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

@dominicusmento
Copy link
Author

Thanks, I'll check it and report back as soon as I get back to place..

@dominicusmento
Copy link
Author

Seems fine now regarding this issue, tested with zb2mqtt edge.
Starts fine, pairing successful; device itself has some problems but this issue is solved. Thank you very much 😊

hacker-cb pushed a commit to hacker-cb/zigbee2mqtt that referenced this issue Nov 5, 2021
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