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

Trying to open or close Keen Smart Vents fails with 'TypeError: Cannot read property 'convertSet' of undefined' #2323

Closed
alexanv1 opened this issue Nov 12, 2019 · 11 comments

Comments

@alexanv1
Copy link

alexanv1 commented Nov 12, 2019

Bug Report

What happened

After upgrading zigbee2mqtt hassio addon to 1.7 I can no longer change the state (open/close) of any of my Keen Smart Vents.
The log snippet is below:
debug 2019-11-12T09:24:40: Received MQTT message on 'zigbee2mqtt/Office Smart Vent/set' with data 'OPEN'
debug 2019-11-12T09:24:40: Publishing 'set' 'state' to 'Office Smart Vent'
error 2019-11-12T09:24:40: Publish 'set' 'state' to 'Office Smart Vent' failed: 'TypeError: Cannot read property 'convertSet' of undefined'

Tried the edge version of the addon as well with the same results.

What did you expect to happen

No error

How to reproduce it (minimal and precise)

Debug Info

zigbee2mqtt version: version 1.7.0+dev (commit #a9211abd24680338c8f070532f0b83bd1a8b79f0)
CC253X firmware version: Coordinator firmware version: '{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190223}}'

@Koenkk
Copy link
Owner

Koenkk commented Nov 12, 2019

Do you by any chance have a custom zigbee-shepherd-converters mapped? (When added support for a new device) if so please remove this.

@mccoy88f
Copy link

Do you by any chance have a custom zigbee-shepherd-converters mapped? (When added support for a new device) if so please remove this.

How to remove it? I have no device.js or file inside zigbee2mqtt folder

@Koenkk
Copy link
Owner

Koenkk commented Nov 12, 2019

What is your setup? bare-metal linux, docker or hassio?

@alexanv1
Copy link
Author

My setup is Hassio. I used a custom devices.js months ago but have removed it since. That file is not present in share\zigbee2mqtt. And I haven't added custom converters via any other mechanism.

@mccoy88f
Copy link

What is your setup? bare-metal linux, docker or hassio?

Hassio

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Nov 12, 2019
@Koenkk
Copy link
Owner

Koenkk commented Nov 12, 2019

Seems it was a bug, sorry!

Should be fixed in latest dev, for hassio use -edge (will be available in +- 2 hours from now).

@mccoy88f
Copy link

Hi... i install and reinstall NOW zigbee2mqtt-edge and now have zigbee2mqtt version 1.7.1+dev (commit #ba18c5f773c160b54977908ed241cd40547a2fff)

but no solution... this is the log (2 different devices, lupus and blaukpunt)
zigbee2mqtt:error 2019-11-12T23:32:59: Publish 'set' 'state' to '0x00124b00144b48ab' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''
zigbee2mqtt:info 2019-11-12T23:32:59: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Publish 'set' 'state' to '0x00124b00144b48ab' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''","meta":{"friendly_name":"0x00124b00144b48ab"}}'
zigbee2mqtt:error 2019-11-12T23:33:00: Publish 'set' 'state' to '0x00124b0008b7d45d' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''
zigbee2mqtt:info 2019-11-12T23:33:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Publish 'set' 'state' to '0x00124b0008b7d45d' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''","meta":{"friendly_name":"0x00124b0008b7d45d"}}'

@alexanv1
Copy link
Author

Same error for me unfortunately (using zigbee2mqtt-edge):

error 2019-11-14T11:54:48: Publish 'set' 'state' to 'Office Smart Vent' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''
info 2019-11-14T11:54:48: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Publish 'set' 'state' to 'Office Smart Vent' failed: 'Error: Cluster 'genLevelCtrl' has no command 'currentLevel''","meta":{"friendly_name":"Office Smart Vent"}}'

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Nov 14, 2019
@Koenkk
Copy link
Owner

Koenkk commented Nov 14, 2019

Should also be fixed in latest dev, please try again over 2 hours with latest hassio edge.

@mccoy88f
Copy link

Perfect... Seems to works now! Thanks

@Koenkk
Copy link
Owner

Koenkk commented Nov 15, 2019

great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants