Automate ZwaveJS Ping Dead Nodes?

Here’s a thread for a Blueprint to ping unresponsive nodes on zwavejs2mqtt

Anyone have the ability to covert this to ZwaveJS?