Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Huge delays with Aeotec Z-Wave stick / concurrency issues

$
0
0

@gertvdijk wrote:

I have a simple Z-Wave setup with the Aeotec Z-Wave stick, plugged into my relatively powerful workstation running Debian 10. It’s working fine most of the time, but I’m seeing huge delays in receiving (and sometimes sending) events.

Tried both OpenZwave 1.4 and 1.6, with Zwave2MQTT. Sometimes it takes 10 seconds for an event from my Nanomote Quad to arrive at the gateway, while I’m just meters away from it. It’s not happening with the Neo Coolcam plug switches, but it does also happen with the Aeotec Nano Dimmer and Dual Nano swtich.

My theory is that messages seem to get queued somewhere on the USB serial level when a device sends multiple messages at the same time. This is because the Neo Coolcam device just sends one message with a status update, but all other devices immediately respond with multiple:

  • Nanomote Quad always reports its battery percentage change event on every button press event. With OZW 1.4 I see usually only one event and the other is missing. With OZW 1.6 I always see both (delayed 500ms - 10s) or none (rare).
  • Aeotec Nano Dimmer sends multiple updates on every changes, including time (for nightlight). With OZW 1.4 the state is usually just a bit delayed, with OZW 1.6 it’s a bit better but taking at least a second until everything is processed.
  • Same for Dual Nano Switch as well.

My total number of nodes is just 5 currently of which 4 active, 1 battery.

When I use HA’s built-in Z-Wave integration it’s worse and basically unusable. Most of the messages get dropped and HA’s state is completely out of sync. With Zwave2MQTT and OZW 1.6 it’s much better, and ~95% of the messages arrive within a second but I’m still seeing delays of 10-20 seconds occasionally. With automations doing “toggles” this is super super annoying.

Also reproducible purely interacting with the active nodes (sending); OFF or ON to all four switches at the same time using a scene activation seems to have a loss of 5% of the messages and 10% delayed > 1s.

Does anyone have the same problem and found a way to improve the performance of the USB communication or a clue why this happens?

  • Double checked that ModemManager isn’t interfering with the serial device: it’s not installed, no such systemd unit exists on my machine.
  • Tried other USB ports.
  • Tried using secure and insecure variants of inclusions to the network; no effect.
  • Tried taking out the Neo cheap stuff (then all devices are Aeotec), then healing network, no effect.
  • It must be on the network/stick somewhere because I’ve witnessed taking out the battery and then OZW logging NanoMote events…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>