Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.17k stars 1.68k forks source link

SmartThings GP-WOU019BBDWG stops reporting values and makes CPU spin at 100% #23258

Open tomtom13 opened 4 months ago

tomtom13 commented 4 months ago

What happened?

So, after a while I decided to test the smartthings power plug and how it works with the new versions of Z2M, and I've noticed something strange. When the plug stops reporting values to Z2M ( and yes, the values passed through mqtt stop changing, so do the values in z2m don't change and nothing shows up in the log ) the Z2M container sits there spinning cpu at 100%. I would assume that that's what we call in software circles "not good".

What did you expect to happen?

values continue reporting, and cpu not be consumed like mad.

How to reproduce it (minimal and precise)

Get your self: SmartThings GP-WOU019BBDWG, leave it running for some time and let it mess up.

Zigbee2MQTT version

1.39.0 commit: unknown

Adapter firmware version

20240315

Adapter

SLZB-06

Setup

HASS addon, inside of VM.

Debug log

Nothing in the log.

tomtom13 commented 4 months ago
Screenshot 2024-07-04 at 11 33 21

The cpu usage jumps to 25% since it's allocated 4 cores in this VM - which means a single core jumps to 100%

Screenshot 2024-07-04 at 11 31 44