mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
9 lines
542 B
HTML
9 lines
542 B
HTML
|
<script type="text/x-red" data-help-name="ping">
|
||
|
<p>Pings a machine and returns the trip time in mS as <code>msg.payload</code>.</p>
|
||
|
<p>Returns <b>false</b> if no response received within 5 seconds, or if the host is unresolveable.</p>
|
||
|
<p>Default ping is every 20 seconds but can be configured.</p>
|
||
|
<p><code>msg.topic</code> contains the target host ip.</p>
|
||
|
<p>Note: if running inside Ubuntu Snap you will need to manually start the network-observe interface.
|
||
|
`snap connect node-red:network-observe`</p>
|
||
|
</script>
|