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.

TuYa Thermostat error with zigbee2mqtt edge

See original GitHub issue

Hey there,

I’ve upgrade to the edge version as I wanted to test force for the TuYa Thermostat. That works pretty well but after the valve is closed (not sure if thats related, I am just receiving the errors), I get the following error:

Zigbee2MQTT:error 2021-01-28 21:24:20: Failed to call 'Receive' 'onZigbeeEvent' (TypeError: Cannot read property 'hasOwnProperty' of undefined
    at Object.convert (/app/node_modules/zigbee-herdsman-converters/converters/fromZigbee.js:2955:91)
    at /app/lib/extension/receive.js:159:41
    at Array.forEach (<anonymous>)
    at Receive.onZigbeeEvent (/app/lib/extension/receive.js:158:20)
    at Controller.callExtensionMethod (/app/lib/controller.js:382:44))

Related line in code: https://github.com/Koenkk/zigbee-herdsman-converters/blob/eb4df4547cad6021dddab067b8440fc4b7054412/converters/fromZigbee.js#L2955

The last TuYa Thermostat related message I’ve received before the error(s) were triggered:

Zigbee2MQTT:info  2021-01-28 21:24:15: MQTT publish: topic 'zigbee2mqtt/0x123456789abc', payload '{"auto_lock":"MANUAL","away_mode":"OFF","away_preset_days":1,"away_preset_temperature":15,"battery_low":false,"boost_time":300,"child_lock":"UNLOCKED","comfort_temperature":20,"current_heating_setpoint":23,"eco_temperature":15,"force":"close","holidays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}],"linkquality":90,"local_temperature":22,"local_temperature_calibration":-2,"max_temperature":35,"min_temperature":5,"position":100,"preset":"manual","system_mode":"off","update":{"state":"idle"},"update_available":false,"week":"5+2","window_detection":"OFF","window_detection_params":{"minutes":10,"temperature":5},"workdays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}]}'

I hope this helps for further debugging 🙈

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Koenkkcommented, Jan 30, 2021

Cool, other issues seems to be discussed in https://github.com/Koenkk/zigbee2mqtt/issues/3821. NOT RECOGNIZED DP #115 with data is not an error, people haven’t figured out what this value is.

1reaction
Koenkkcommented, Jan 29, 2021

Can you check if this is fixed?

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble using zigbee2mqtt edge with tuya unsuported devices
Hello. I'm trying to add unsuported tuya zigbee devices to z2m edge, but I don't understand where to put zigbee-herdsman -converters files.
Read more >
Home Assistant | Has anyone else experienced this error lately
ZigBee hub is required compatible with Tuya hub 4 smart outlets plus 4 USB ports Support ... Anyone else using this honeywell thermostat...
Read more >
Support new TuYa devices - Zigbee2MQTT
Support new TuYa devices. TuYa devices use a custom manuSpecificTuya cluster, the instructions below will help you understand it better and provide some ......
Read more >
Supporting new E1 Aqara devices - SmartThings Community
Hi, It seems new Aqara devices in the response to Node Descriptor Request, expect manufacturer code to be 0x115F. As far as I...
Read more >
moes zigbee switch zigbee2mqtt
99 Moes Tuya Zigebee DIY Smart Light Switch 3 Gang 1/2 Way Module $24. ... switch is already supported in Zigbee2MQTT, ZHA and...
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