question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Zigbee2Mqtt] Failed to convert value for device RadiateurSalon: Error: Zigbee2mqqt don't handle value "LOCK" for feature "mode".

See original GitHub issue

Describe the bug When a device sends a value not compatible with Gladys Zigbee2Mqtt, the zigbee2mqtt service crash Related to https://github.com/GladysAssistant/Gladys/issues/1426

logs

2022-03-01T12:48:08+0100 <error> handleMqttMessage.js:97 () Failed to convert value for device RadiateurSalon: Error: Zigbee2mqqt don't handle value "LOCK" for feature "mode".
    at convertValue (/src/server/services/zigbee2mqtt/utils/convertValue.js:55:17)
    at /src/server/services/zigbee2mqtt/lib/handleMqttMessage.js:93:26
    at Array.forEach (<anonymous>)
    at Zigbee2mqttManager.handleMqttMessage (/src/server/services/zigbee2mqtt/lib/handleMqttMessage.js:86:41)
    at MqttClient.<anonymous> (/src/server/services/zigbee2mqtt/lib/connect.js:53:12)
    at MqttClient.emit (events.js:400:28)
    at MqttClient._handlePublish (/src/server/services/zigbee2mqtt/node_modules/mqtt/lib/client.js:1277:12)
    at MqttClient._handlePacket (/src/server/services/zigbee2mqtt/node_modules/mqtt/lib/client.js:410:12)
    at work (/src/server/services/zigbee2mqtt/node_modules/mqtt/lib/client.js:321:12)
    at Writable.writable._write (/src/server/services/zigbee2mqtt/node_modules/mqtt/lib/client.js:335:5)
    at doWrite (/src/server/services/zigbee2mqtt/node_modules/readable-stream/lib/_stream_writable.js:409:139)
    at writeOrBuffer (/src/server/services/zigbee2mqtt/node_modules/readable-stream/lib/_stream_writable.js:398:5)
    at Writable.write (/src/server/services/zigbee2mqtt/node_modules/readable-stream/lib/_stream_writable.js:307:11)
    at Socket.ondata (internal/streams/readable.js:731:22)
    at Socket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at Socket.Readable.push (internal/streams/readable.js:206:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
LM1LC3N7commented, Mar 9, 2022

It appears this time it works well!

image

1reaction
Pierre-Gillescommented, Mar 7, 2022

@LM1LC3N7 Can you test the PR of @atrovato and see if it fixes the problem ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failure to configure Sonoff SNZB-02 · Issue #5562 - GitHub
What happened Every Z2M startup I get 3 errors for this device such as: Zigbee2MQTT:error 2021-01-04 20:00:36: Failed to configure 'Sonoff ...
Read more >
Zigbee2MQTT fails to start
4 common reasons of this error: The port of your serial adapter changed. Check this to find out the port of your adapter....
Read more >
Device-Availability - Zigbee2MQTT
The availability feature checks whether your devices are online. ... If they don't, they will be pinged, if that fails the device will...
Read more >
Exposes - Zigbee2MQTT
Indicates a device exposes a binary value. Always has value_on and value_off which indicates how to interpet the value. Optionally has a value_toggle...
Read more >
Datek 0402946 control via MQTT - Zigbee2MQTT
Keypad in front lights up; Type inn the Master PIN, then *, then 2, then *, then 0 Lock will now reset the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found