node-red-contrib-tcp-ping 0.0.3

Node-Red node for tcpie library. With this node you can test your TCP connections on a specific ip adress

npm install node-red-contrib-tcp-ping

This node is based on the tcpie nodejs library:

What it does:

Sends a TCP ping to a ip adresse and port and outputs the results. It is great to test multiple servers running on a device. For example when you have Plex and some Dashboards and so on running on different ports on your Raspberry PI and want to see if they are still running and responding.

How it works:

Text Notification

Hook up an Inject-Node to the Input channel and send a trigger to test your tcp adress. Configure the tcp ping node with all the necessary fields. It should output the results in the msg.payload.

host string : the destination host name or IP address. Required. port number : the destination port. Default: 22. opts object : options for count, interval and timeout. Defaults: Infinity, 1000, 3000.

To install:

Install node-red.

Install this package with "npm install node-red-contrib-tcp-ping --save" in ~./node-red or via the Palette Manager in node-red.

If everything was successfull you should see a new node in the network category in node-red after a restart.

Node Info

Version: 0.0.3
Updated 5 years, 4 months ago
Rating: 5.0 1

Actions

Rate:

Downloads

53 in the last week

Nodes

  • tcp-ping

Keywords

  • node-red
  • iot
  • internet of things
  • tcp
  • ping

Maintainers