node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

Add statistics

Open AlCalzone opened this issue 5 years ago • 5 comments

Things that should be considered (total and per node):

  • [x] Transmitted messages per node (#2736)
  • [x] Transmitted messages (controller) (#2736)
  • [x] Received messages per node (#2736)
  • [x] Received messages (controller) (#2736)
  • [x] Dropped messages from nodes
  • [x] Dropped messages from the controller (#2736)
  • [x] Controller errors (CAN, NAK, timeout) (#2736)
  • [ ] Node errors (NoACK, timeout, ...) (done in #2736, but currently no distinction between not sent and NoACK)
  • [x] Response time (#4022)
  • [x] Background RSSI, current and average (done in #5545)
  • [ ] Failures during interview
  • [x] When was a node last seen (alive/awake/unsolicited msg) (#6008)
  • [ ] Queue: size, what is in the queue? (#1270)

AlCalzone avatar Sep 22 '20 06:09 AlCalzone

Bonus to having events per message, rather than just counters, is also being able to see how long it actually took to deliver that "turn on" message. Would help immensely in tracking down where delays are occurring, when lights appear slow.

https://github.com/zwave-js/node-zwave-js/issues/1270#issuecomment-757505434

LordMike avatar Jan 10 '21 18:01 LordMike

+1 for last seen

nicoh88 avatar Jan 21 '21 20:01 nicoh88

Especially on bigger z-wave networks this would be a big help in tuning sensor data output.

jaimevisser avatar Apr 13 '21 09:04 jaimevisser

Missing last seen property on Home Assistant for ZWave devices.

Just today had an situation: FGBS-222 was powered off for ~25 minutes. Device is configured to report every 5 minutes, couple of messages not received by controller. ZWAVEJS2MQTT device node status still alive :(

  • as no configuration on device level: when to declare device to not alive when no messages received from.

IMHO I can't relay on node status to determine actual device status. last seen will help to react on devices sending no info long time.

Masterz69 avatar Nov 06 '21 18:11 Masterz69

lastSeen will be added in https://github.com/zwave-js/node-zwave-js/pull/6008

AlCalzone avatar Jul 12 '23 12:07 AlCalzone