Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't ping dead nodes before attempting communication #6944

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

AlCalzone
Copy link
Member

With this PR, we no longer ping dead nodes before attempting the actual communication.
It didn't really achieve anything, as the ping still needs to be sent to the device. In case of failure, nothing is gained. In case of success, we had to send an additional command.

@AlCalzone AlCalzone changed the title fix: don't ping, attempt communication even if node is considered dead fix: don't ping dead nodes before attempting communication Jun 17, 2024
@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

zwave-js-bot
zwave-js-bot previously approved these changes Jun 17, 2024
@zwave-js-bot zwave-js-bot enabled auto-merge (squash) June 17, 2024 09:32
@zwave-js-bot zwave-js-bot merged commit 85fda36 into master Jun 17, 2024
17 checks passed
@zwave-js-bot zwave-js-bot deleted the no-ping-dead-node-first branch June 17, 2024 10:12
AlCalzone added a commit that referenced this pull request Jun 17, 2024
### Bugfixes
* Add compat flag to always encode Set-type commands using target node's CC version (#6918)
* Export `NodeDump` type (#6915)
* Redact secret values in `NodeDump` (#6934)
* Added a workaround for devices that incorrectly send their `Binary Sensor Reports` using the sensor type `Any (0xff)`. Those reports are now interpreted as if they were using the first supported sensor type (#6933)
* After adding an association to a LR node, Z-Wave JS no longer attempts assigning routes (#6936)
* Removed some unnecessary log outputs during `rebuildNodeRoutes` when the node has no other associations than the controller (#6940)
* Pings in route health checks no longer use explorer frames (#6942)
* When attempting communication with a node that's considered dead, the command is now sent immediately instead of pinging first (#6944)
* Fixed an issue where the priority and tag of a transaction would not be preserved when moving it to the wakeup queue (#6944)

### Config file changes
* Remove endpoint workaround for Zooz ZEN30 800LR (#6931)
* Encode CCs using target's CC version for `TKB Home TZ67` (#6918)

### Changes under the hood
* GitHub links in the released `package.json` now point to the Z-Wave JS org (#6930)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants