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.

BHT-002-GCLZB Floods with identical messages

See original GitHub issue

Hello,

i have been testing a BHT-002-GCLZB room thermostat for a while now. Overall, it is a nice device and seems to work reasonably well, but it does flood the controller with near identical messages.

I found chains of 50 messages within 2.5 s (roughly 50 ms between two messages) with a payload with is identical save for the ‘transid’ entry, which increases by one for each message (as it must, as far as i understand the protocol)

I have seen this happen with two messages, one reporting the ‘current_heating_setpoint’, the other one reporting the ‘heat’ setpoint.

Any suggestions on how to stop this flood of messages to reach the application ?

I have attached 2 files below - one a raw Log file from the application, run for about 1 minute and a second where i edited the log to only show the message and the effect it has on the application.

An ideal way would be if we could somehow stop this flood on the device, but seeing that it is a TuYa based design i have low hope of that. Is there any way for the converters to drop the repeat messages ?

I have been playing around with storing the message id and checking against the previous to block the repeat messages in the converter, but that is rather late in the chain, and i was wondering if there was a better way to do this.

The code i added was this (inside the moesThermostat function, and of course the lastMoesThermostatMessage variable is defined globally)

if (lastMoesThermostatMessage && lastMoesThermostatMessage.dp == dp) { lastMoesThermostatMessage = msg.data; return; } lastMoesThermostatMessage = msg.data;

Zigbee_Log_edited.txt Zigbee_Log_raw.txt

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
asgothiancommented, Dec 18, 2020

Seems this is known and not fixable. I made an attempt to reach technical people at the manufacturer but was not successful. Closing the issue.

0reactions
AndrelaScommented, Dec 10, 2020

For BHT-002-GBLZBW topic …/sensor: 0 - IN, 1 - AL, 2 - OU

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modify device within configuration.yaml [Z2M] - Zigbee
Moes BHT-002-GCLZB creates much noise and flood with messages each minute. Moes BHT-002-GCLZB. As described above its known bug and solution ...
Read more >
A budget ZigBee thermostat? - NotEnoughTech
Something tells me, I would have to look into Moes TRV and Moes BHT-002-GCLZB thermostat converters to merge it and make it work...
Read more >
Python Plugin: Zigbee2Mqtt - Page 15 - Domoticz
This unit has a bug that makes it send multiple messages when updating. To stop this from flooding your MQTT Queues, please add...
Read more >
zigbee2mqtt: Versions - Openbase
#14763 Fix IKEA TRADFRI E1744 SYMFONISK sound controller message publishing ... when Home Assistant and MQTT broker is restarted at the same time ......
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